7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
11#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
12#include <aws/resiliencehubv2/model/LoggingConfiguration.h>
13#include <aws/resiliencehubv2/model/StopCondition.h>
18namespace resiliencehubv2 {
41 template <
typename ServiceArnT = Aws::String>
43 m_serviceArnHasBeenSet =
true;
44 m_serviceArn = std::forward<ServiceArnT>(value);
46 template <
typename ServiceArnT = Aws::String>
59 template <
typename TestTemplateArnT = Aws::String>
61 m_testTemplateArnHasBeenSet =
true;
62 m_testTemplateArn = std::forward<TestTemplateArnT>(value);
64 template <
typename TestTemplateArnT = Aws::String>
77 template <
typename LoggingConfigurationT = LoggingConfiguration>
79 m_loggingConfigurationHasBeenSet =
true;
80 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
82 template <
typename LoggingConfigurationT = LoggingConfiguration>
95 template <
typename StopConditionsT = Aws::Vector<StopCondition>>
97 m_stopConditionsHasBeenSet =
true;
98 m_stopConditions = std::forward<StopConditionsT>(value);
100 template <
typename StopConditionsT = Aws::Vector<StopCondition>>
105 template <
typename StopConditionsT = StopCondition>
107 m_stopConditionsHasBeenSet =
true;
108 m_stopConditions.emplace_back(std::forward<StopConditionsT>(value));
119 template <
typename RoleNameT = Aws::String>
121 m_roleNameHasBeenSet =
true;
122 m_roleName = std::forward<RoleNameT>(value);
124 template <
typename RoleNameT = Aws::String>
137 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
139 m_parametersHasBeenSet =
true;
140 m_parameters = std::forward<ParametersT>(value);
142 template <
typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
147 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::Vector<Aws::String>>
149 m_parametersHasBeenSet =
true;
150 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
166 bool m_serviceArnHasBeenSet =
false;
167 bool m_testTemplateArnHasBeenSet =
false;
168 bool m_loggingConfigurationHasBeenSet =
false;
169 bool m_stopConditionsHasBeenSet =
false;
170 bool m_roleNameHasBeenSet =
false;
171 bool m_parametersHasBeenSet =
false;
CreateTestRequest & WithParameters(ParametersT &&value)
virtual const char * GetServiceRequestName() const override
CreateTestRequest & WithTestTemplateArn(TestTemplateArnT &&value)
const LoggingConfiguration & GetLoggingConfiguration() const
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
bool ParametersHasBeenSet() const
AWS_RESILIENCEHUBV2_API CreateTestRequest()=default
CreateTestRequest & WithStopConditions(StopConditionsT &&value)
void SetServiceArn(ServiceArnT &&value)
CreateTestRequest & WithLoggingConfiguration(LoggingConfigurationT &&value)
void SetParameters(ParametersT &&value)
void SetStopConditions(StopConditionsT &&value)
bool RoleNameHasBeenSet() const
const Aws::String & GetRoleName() const
void SetTestTemplateArn(TestTemplateArnT &&value)
bool ServiceArnHasBeenSet() const
bool TestTemplateArnHasBeenSet() const
const Aws::Vector< StopCondition > & GetStopConditions() const
CreateTestRequest & WithRoleName(RoleNameT &&value)
void SetLoggingConfiguration(LoggingConfigurationT &&value)
CreateTestRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
bool StopConditionsHasBeenSet() const
CreateTestRequest & WithServiceArn(ServiceArnT &&value)
const Aws::String & GetServiceArn() const
void SetRoleName(RoleNameT &&value)
CreateTestRequest & AddStopConditions(StopConditionsT &&value)
bool LoggingConfigurationHasBeenSet() const
const Aws::String & GetTestTemplateArn() const
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector