AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::avsCommon::utils::metrics::DataPointStringBuilder Class Reference

#include <DataPointStringBuilder.h>

Public Member Functions

DataPointStringBuildersetName (const std::string &name)
 
DataPointStringBuildersetValue (const std::string &value)
 
DataPoint build ()
 

Detailed Description

DataPointStringBuilder is a builder class responsible for building immutable string DataPoint objects.

Member Function Documentation

◆ build()

DataPoint alexaClientSDK::avsCommon::utils::metrics::DataPointStringBuilder::build ( )

Builds a new immutable DataPoint object with the current state stored in dataPoint string builder.

Returns
A new immutable DataPoint object

◆ setName()

DataPointStringBuilder& alexaClientSDK::avsCommon::utils::metrics::DataPointStringBuilder::setName ( const std::string &  name)

Sets the name of the string dataPoint

Parameters
nameThe name of the string dataPoint.
Returns
This instance to facilitate setting more information to this dataPoint string builder.

◆ setValue()

DataPointStringBuilder& alexaClientSDK::avsCommon::utils::metrics::DataPointStringBuilder::setValue ( const std::string &  value)

Sets the value of the string dataPoint

Parameters
valueThe value of the string dataPoint.
Returns
This instance to facilitate setting more information to this dataPoint string builder.

The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0