7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/IoT_EXPORTS.h>
10#include <aws/iot/model/CommandParameterType.h>
11#include <aws/iot/model/CommandParameterValue.h>
12#include <aws/iot/model/CommandParameterValueCondition.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
64 m_typeHasBeenSet =
true;
79 template <
typename ValueT = CommandParameterValue>
81 m_valueHasBeenSet =
true;
82 m_value = std::forward<ValueT>(value);
84 template <
typename ValueT = CommandParameterValue>
86 SetValue(std::forward<ValueT>(value));
98 template <
typename DefaultValueT = CommandParameterValue>
100 m_defaultValueHasBeenSet =
true;
101 m_defaultValue = std::forward<DefaultValueT>(value);
103 template <
typename DefaultValueT = CommandParameterValue>
117 template <
typename ValueConditionsT = Aws::Vector<CommandParameterValueCondition>>
119 m_valueConditionsHasBeenSet =
true;
120 m_valueConditions = std::forward<ValueConditionsT>(value);
122 template <
typename ValueConditionsT = Aws::Vector<CommandParameterValueCondition>>
127 template <
typename ValueConditionsT = CommandParameterValueCondition>
129 m_valueConditionsHasBeenSet =
true;
130 m_valueConditions.emplace_back(std::forward<ValueConditionsT>(value));
141 template <
typename DescriptionT = Aws::String>
143 m_descriptionHasBeenSet =
true;
144 m_description = std::forward<DescriptionT>(value);
146 template <
typename DescriptionT = Aws::String>
157 CommandParameterValue m_value;
159 CommandParameterValue m_defaultValue;
164 bool m_nameHasBeenSet =
false;
165 bool m_typeHasBeenSet =
false;
166 bool m_valueHasBeenSet =
false;
167 bool m_defaultValueHasBeenSet =
false;
168 bool m_valueConditionsHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
bool TypeHasBeenSet() const
void SetDefaultValue(DefaultValueT &&value)
CommandParameterType GetType() const
void SetValue(ValueT &&value)
void SetName(NameT &&value)
bool ValueHasBeenSet() const
const Aws::Vector< CommandParameterValueCondition > & GetValueConditions() const
void SetDescription(DescriptionT &&value)
void SetValueConditions(ValueConditionsT &&value)
AWS_IOT_API CommandParameter()=default
CommandParameter & WithName(NameT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_IOT_API CommandParameter(Aws::Utils::Json::JsonView jsonValue)
CommandParameter & WithDefaultValue(DefaultValueT &&value)
CommandParameter & WithType(CommandParameterType value)
CommandParameter & WithValueConditions(ValueConditionsT &&value)
CommandParameter & WithDescription(DescriptionT &&value)
CommandParameter & WithValue(ValueT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
AWS_IOT_API CommandParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
const CommandParameterValue & GetDefaultValue() const
bool DefaultValueHasBeenSet() const
void SetType(CommandParameterType value)
CommandParameter & AddValueConditions(ValueConditionsT &&value)
bool ValueConditionsHasBeenSet() const
const CommandParameterValue & GetValue() const
bool DescriptionHasBeenSet() 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