7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/TestAction.h>
11#include <aws/resiliencehubv2/model/TestTemplateParameter.h>
22namespace resiliencehubv2 {
45 template <
typename TestTemplateArnT = Aws::String>
47 m_testTemplateArnHasBeenSet =
true;
48 m_testTemplateArn = std::forward<TestTemplateArnT>(value);
50 template <
typename TestTemplateArnT = Aws::String>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
99 template <
typename ParametersT = Aws::Vector<TestTemplateParameter>>
101 m_parametersHasBeenSet =
true;
102 m_parameters = std::forward<ParametersT>(value);
104 template <
typename ParametersT = Aws::Vector<TestTemplateParameter>>
109 template <
typename ParametersT = TestTemplateParameter>
111 m_parametersHasBeenSet =
true;
112 m_parameters.emplace_back(std::forward<ParametersT>(value));
123 template <
typename ActionsT = Aws::Vector<TestAction>>
125 m_actionsHasBeenSet =
true;
126 m_actions = std::forward<ActionsT>(value);
128 template <
typename ActionsT = Aws::Vector<TestAction>>
133 template <
typename ActionsT = TestAction>
135 m_actionsHasBeenSet =
true;
136 m_actions.emplace_back(std::forward<ActionsT>(value));
150 bool m_testTemplateArnHasBeenSet =
false;
151 bool m_nameHasBeenSet =
false;
152 bool m_descriptionHasBeenSet =
false;
153 bool m_parametersHasBeenSet =
false;
154 bool m_actionsHasBeenSet =
false;
void SetDescription(DescriptionT &&value)
TestTemplate & WithName(NameT &&value)
TestTemplate & WithTestTemplateArn(TestTemplateArnT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetTestTemplateArn() const
void SetTestTemplateArn(TestTemplateArnT &&value)
TestTemplate & AddActions(ActionsT &&value)
bool NameHasBeenSet() const
void SetActions(ActionsT &&value)
TestTemplate & AddParameters(ParametersT &&value)
bool ParametersHasBeenSet() const
AWS_RESILIENCEHUBV2_API TestTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
TestTemplate & WithDescription(DescriptionT &&value)
const Aws::Vector< TestAction > & GetActions() const
TestTemplate & WithActions(ActionsT &&value)
bool ActionsHasBeenSet() const
const Aws::String & GetName() const
AWS_RESILIENCEHUBV2_API TestTemplate()=default
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
TestTemplate & WithParameters(ParametersT &&value)
bool DescriptionHasBeenSet() const
void SetParameters(ParametersT &&value)
AWS_RESILIENCEHUBV2_API TestTemplate(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TestTemplateParameter > & GetParameters() const
bool TestTemplateArnHasBeenSet() 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