7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
9#include <aws/resiliencehubv2/model/ParameterType.h>
20namespace resiliencehubv2 {
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
79 m_typeHasBeenSet =
true;
95 m_requiredHasBeenSet =
true;
110 template <
typename DefaultValueT = Aws::String>
112 m_defaultValueHasBeenSet =
true;
113 m_defaultValue = std::forward<DefaultValueT>(value);
115 template <
typename DefaultValueT = Aws::String>
129 m_maxValuesHasBeenSet =
true;
144 bool m_required{
false};
149 bool m_nameHasBeenSet =
false;
150 bool m_descriptionHasBeenSet =
false;
151 bool m_typeHasBeenSet =
false;
152 bool m_requiredHasBeenSet =
false;
153 bool m_defaultValueHasBeenSet =
false;
154 bool m_maxValuesHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
bool MaxValuesHasBeenSet() const
const Aws::String & GetDescription() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API TestTemplateParameter()=default
void SetDefaultValue(DefaultValueT &&value)
bool RequiredHasBeenSet() const
bool DefaultValueHasBeenSet() const
TestTemplateParameter & WithDefaultValue(DefaultValueT &&value)
void SetType(ParameterType value)
const Aws::String & GetDefaultValue() const
TestTemplateParameter & WithDescription(DescriptionT &&value)
void SetMaxValues(int value)
void SetName(NameT &&value)
AWS_RESILIENCEHUBV2_API TestTemplateParameter(Aws::Utils::Json::JsonView jsonValue)
TestTemplateParameter & WithRequired(bool value)
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
ParameterType GetType() const
bool NameHasBeenSet() const
void SetRequired(bool value)
TestTemplateParameter & WithName(NameT &&value)
TestTemplateParameter & WithType(ParameterType value)
AWS_RESILIENCEHUBV2_API TestTemplateParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
TestTemplateParameter & WithMaxValues(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue