![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <CapabilityTag.h>
Public Member Functions | |||
CapabilityTag (const std::string &nameSpace, const std::string &name, const std::string &endpointId, const utils::Optional< std::string > &instanceId=utils::Optional< std::string >()) | |||
CapabilityTag (const CapabilityTag &other)=default | |||
Comparison operators. | |||
Compare the current capability tag against a second object.
| |||
bool | operator< (const CapabilityTag &rhs) const | ||
bool | operator== (const CapabilityTag &rhs) const | ||
bool | operator!= (const CapabilityTag &rhs) const | ||
Public Attributes | |
const std::string | nameSpace |
The namespace value of this message. More... | |
const std::string | name |
The name value of this message. More... | |
const std::string | endpointId |
The endpoint id of this message. More... | |
const utils::Optional< std::string > | instance |
The capability instance relative to this message if applicable; otherwise, an empty object. More... | |
Structure containing values for namespace, name, endpointId and optionally instance which are intended for identifying AVS Messages (Directives, Events, State, and Exceptions).
alexaClientSDK::avsCommon::avs::CapabilityTag::CapabilityTag | ( | const std::string & | nameSpace, |
const std::string & | name, | ||
const std::string & | endpointId, | ||
const utils::Optional< std::string > & | instanceId = utils::Optional< std::string >() |
||
) |
Constructor.
namespace | The namespace value for this message. |
name | The name for this message. |
endpointId | The endpoint id used to identify the target / source endpoint. |
instanceId | Optional value for specifying an specific capability instance. This field should be left empty if the capability does not support multiple instances. |
|
default |
Copy constructor.
other | Object used to initialize the new object. |
bool alexaClientSDK::avsCommon::avs::CapabilityTag::operator!= | ( | const CapabilityTag & | rhs | ) | const |
bool alexaClientSDK::avsCommon::avs::CapabilityTag::operator< | ( | const CapabilityTag & | rhs | ) | const |
bool alexaClientSDK::avsCommon::avs::CapabilityTag::operator== | ( | const CapabilityTag & | rhs | ) | const |
const std::string alexaClientSDK::avsCommon::avs::CapabilityTag::endpointId |
The endpoint id of this message.
const utils::Optional<std::string> alexaClientSDK::avsCommon::avs::CapabilityTag::instance |
The capability instance relative to this message if applicable; otherwise, an empty object.
const std::string alexaClientSDK::avsCommon::avs::CapabilityTag::name |
The name value of this message.
const std::string alexaClientSDK::avsCommon::avs::CapabilityTag::nameSpace |
The namespace value of this message.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0