7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/CapabilityAction.h>
21namespace IoTManagedIntegrations {
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 template <
typename VersionT = Aws::String>
81 m_versionHasBeenSet =
true;
82 m_version = std::forward<VersionT>(value);
84 template <
typename VersionT = Aws::String>
97 template <
typename ActionsT = Aws::Vector<CapabilityAction>>
99 m_actionsHasBeenSet =
true;
100 m_actions = std::forward<ActionsT>(value);
102 template <
typename ActionsT = Aws::Vector<CapabilityAction>>
107 template <
typename ActionsT = CapabilityAction>
109 m_actionsHasBeenSet =
true;
110 m_actions.emplace_back(std::forward<ActionsT>(value));
122 bool m_idHasBeenSet =
false;
123 bool m_nameHasBeenSet =
false;
124 bool m_versionHasBeenSet =
false;
125 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