7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot-managed-integrations/model/CapabilityAction.h>
23namespace IoTManagedIntegrations
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
73 template<
typename VersionT = Aws::String>
74 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
75 template<
typename VersionT = Aws::String>
85 template<
typename ActionsT = Aws::Vector<CapabilityAction>>
86 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
87 template<
typename ActionsT = Aws::Vector<CapabilityAction>>
89 template<
typename ActionsT = CapabilityAction>
90 CommandCapability&
AddActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions.emplace_back(std::forward<ActionsT>(value));
return *
this; }
95 bool m_idHasBeenSet =
false;
98 bool m_nameHasBeenSet =
false;
101 bool m_versionHasBeenSet =
false;
104 bool m_actionsHasBeenSet =
false;
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetId() const
CommandCapability & AddActions(ActionsT &&value)
void SetName(NameT &&value)
CommandCapability & WithVersion(VersionT &&value)
const Aws::Vector< CapabilityAction > & GetActions() const
bool VersionHasBeenSet() const
const Aws::String & GetName() const
void SetVersion(VersionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CommandCapability()=default
bool IdHasBeenSet() const
void SetActions(ActionsT &&value)
CommandCapability & WithActions(ActionsT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CommandCapability(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersion() const
bool ActionsHasBeenSet() const
CommandCapability & WithName(NameT &&value)
CommandCapability & WithId(IdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API CommandCapability & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue