7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/launch-wizard/LaunchWizard_EXPORTS.h>
10#include <aws/launch-wizard/model/DeploymentConditionalField.h>
21namespace LaunchWizard {
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
79 template <
typename AllowedValuesT = Aws::Vector<Aws::String>>
81 m_allowedValuesHasBeenSet =
true;
82 m_allowedValues = std::forward<AllowedValuesT>(value);
84 template <
typename AllowedValuesT = Aws::Vector<Aws::String>>
89 template <
typename AllowedValuesT = Aws::String>
91 m_allowedValuesHasBeenSet =
true;
92 m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
103 template <
typename RequiredT = Aws::String>
105 m_requiredHasBeenSet =
true;
106 m_required = std::forward<RequiredT>(value);
108 template <
typename RequiredT = Aws::String>
121 template <
typename ConditionalsT = Aws::Vector<DeploymentConditionalField>>
123 m_conditionalsHasBeenSet =
true;
124 m_conditionals = std::forward<ConditionalsT>(value);
126 template <
typename ConditionalsT = Aws::Vector<DeploymentConditionalField>>
131 template <
typename ConditionalsT = DeploymentConditionalField>
133 m_conditionalsHasBeenSet =
true;
134 m_conditionals.emplace_back(std::forward<ConditionalsT>(value));
148 bool m_nameHasBeenSet =
false;
149 bool m_descriptionHasBeenSet =
false;
150 bool m_allowedValuesHasBeenSet =
false;
151 bool m_requiredHasBeenSet =
false;
152 bool m_conditionalsHasBeenSet =
false;
DeploymentSpecificationsField & WithAllowedValues(AllowedValuesT &&value)
DeploymentSpecificationsField & WithRequired(RequiredT &&value)
DeploymentSpecificationsField & WithName(NameT &&value)
AWS_LAUNCHWIZARD_API DeploymentSpecificationsField & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
bool ConditionalsHasBeenSet() const
bool AllowedValuesHasBeenSet() const
AWS_LAUNCHWIZARD_API DeploymentSpecificationsField()=default
const Aws::String & GetName() const
void SetConditionals(ConditionalsT &&value)
bool NameHasBeenSet() const
const Aws::Vector< Aws::String > & GetAllowedValues() const
DeploymentSpecificationsField & AddConditionals(ConditionalsT &&value)
void SetRequired(RequiredT &&value)
AWS_LAUNCHWIZARD_API DeploymentSpecificationsField(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
const Aws::String & GetRequired() const
DeploymentSpecificationsField & AddAllowedValues(AllowedValuesT &&value)
void SetAllowedValues(AllowedValuesT &&value)
const Aws::Vector< DeploymentConditionalField > & GetConditionals() const
bool RequiredHasBeenSet() const
DeploymentSpecificationsField & WithConditionals(ConditionalsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
DeploymentSpecificationsField & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue