AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <DataPoint.h>
Public Member Functions | |
DataPoint () | |
DataPoint (const std::string &name, const std::string &value, DataType dataType) | |
std::string | getName () const |
std::string | getValue () const |
DataType | getDataType () const |
bool | isValid () const |
This class represents the immutable Datapoint objects.
alexaClientSDK::avsCommon::utils::metrics::DataPoint::DataPoint | ( | ) |
Default constructor. Creates a invalid metric point with empty values.
alexaClientSDK::avsCommon::utils::metrics::DataPoint::DataPoint | ( | const std::string & | name, |
const std::string & | value, | ||
DataType | dataType | ||
) |
Constructor
name | is the name of the dataPoint |
value | is the value of the dataPoint |
dataType | is the datatype of the dataPoint |
DataType alexaClientSDK::avsCommon::utils::metrics::DataPoint::getDataType | ( | ) | const |
Getter method for the data type of the dataPoint
std::string alexaClientSDK::avsCommon::utils::metrics::DataPoint::getName | ( | ) | const |
Getter method for the name of the dataPoint
std::string alexaClientSDK::avsCommon::utils::metrics::DataPoint::getValue | ( | ) | const |
Getter method for the value of the dataPoint
bool alexaClientSDK::avsCommon::utils::metrics::DataPoint::isValid | ( | ) | const |
Checks to see if dataPoint is valid
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0