7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/ExperimentDefinitionStatus.h>
9#include <aws/appconfig/model/Treatment.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template <
typename ApplicationIdT = Aws::String>
47 m_applicationIdHasBeenSet =
true;
48 m_applicationId = std::forward<ApplicationIdT>(value);
50 template <
typename ApplicationIdT = Aws::String>
62 template <
typename IdT = Aws::String>
64 m_idHasBeenSet =
true;
65 m_id = std::forward<IdT>(value);
67 template <
typename IdT = Aws::String>
69 SetId(std::forward<IdT>(value));
79 template <
typename NameT = Aws::String>
81 m_nameHasBeenSet =
true;
82 m_name = std::forward<NameT>(value);
84 template <
typename NameT = Aws::String>
86 SetName(std::forward<NameT>(value));
96 template <
typename HypothesisT = Aws::String>
98 m_hypothesisHasBeenSet =
true;
99 m_hypothesis = std::forward<HypothesisT>(value);
101 template <
typename HypothesisT = Aws::String>
115 m_statusHasBeenSet =
true;
129 template <
typename ConfigurationProfileIdT = Aws::String>
131 m_configurationProfileIdHasBeenSet =
true;
132 m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value);
134 template <
typename ConfigurationProfileIdT = Aws::String>
146 template <
typename EnvironmentIdT = Aws::String>
148 m_environmentIdHasBeenSet =
true;
149 m_environmentId = std::forward<EnvironmentIdT>(value);
151 template <
typename EnvironmentIdT = Aws::String>
163 template <
typename FlagKeyT = Aws::String>
165 m_flagKeyHasBeenSet =
true;
166 m_flagKey = std::forward<FlagKeyT>(value);
168 template <
typename FlagKeyT = Aws::String>
181 template <
typename AudienceRuleT = Aws::String>
183 m_audienceRuleHasBeenSet =
true;
184 m_audienceRule = std::forward<AudienceRuleT>(value);
186 template <
typename AudienceRuleT = Aws::String>
198 template <
typename AudienceDescriptionT = Aws::String>
200 m_audienceDescriptionHasBeenSet =
true;
201 m_audienceDescription = std::forward<AudienceDescriptionT>(value);
203 template <
typename AudienceDescriptionT = Aws::String>
215 template <
typename LaunchCriteriaT = Aws::String>
217 m_launchCriteriaHasBeenSet =
true;
218 m_launchCriteria = std::forward<LaunchCriteriaT>(value);
220 template <
typename LaunchCriteriaT = Aws::String>
232 template <
typename TreatmentsT = Aws::Vector<Treatment>>
234 m_treatmentsHasBeenSet =
true;
235 m_treatments = std::forward<TreatmentsT>(value);
237 template <
typename TreatmentsT = Aws::Vector<Treatment>>
242 template <
typename TreatmentsT = Treatment>
244 m_treatmentsHasBeenSet =
true;
245 m_treatments.emplace_back(std::forward<TreatmentsT>(value));
255 template <
typename ControlT = Treatment>
257 m_controlHasBeenSet =
true;
258 m_control = std::forward<ControlT>(value);
260 template <
typename ControlT = Treatment>
273 template <
typename CreatedAtT = Aws::Utils::DateTime>
275 m_createdAtHasBeenSet =
true;
276 m_createdAt = std::forward<CreatedAtT>(value);
278 template <
typename CreatedAtT = Aws::Utils::DateTime>
291 template <
typename UpdatedAtT = Aws::Utils::DateTime>
293 m_updatedAtHasBeenSet =
true;
294 m_updatedAt = std::forward<UpdatedAtT>(value);
296 template <
typename UpdatedAtT = Aws::Utils::DateTime>
309 template <
typename KmsKeyIdentifierT = Aws::String>
311 m_kmsKeyIdentifierHasBeenSet =
true;
312 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
314 template <
typename KmsKeyIdentifierT = Aws::String>
324 template <
typename RequestIdT = Aws::String>
326 m_requestIdHasBeenSet =
true;
327 m_requestId = std::forward<RequestIdT>(value);
329 template <
typename RequestIdT = Aws::String>
372 bool m_applicationIdHasBeenSet =
false;
373 bool m_idHasBeenSet =
false;
374 bool m_nameHasBeenSet =
false;
375 bool m_hypothesisHasBeenSet =
false;
376 bool m_statusHasBeenSet =
false;
377 bool m_configurationProfileIdHasBeenSet =
false;
378 bool m_environmentIdHasBeenSet =
false;
379 bool m_flagKeyHasBeenSet =
false;
380 bool m_audienceRuleHasBeenSet =
false;
381 bool m_audienceDescriptionHasBeenSet =
false;
382 bool m_launchCriteriaHasBeenSet =
false;
383 bool m_treatmentsHasBeenSet =
false;
384 bool m_controlHasBeenSet =
false;
385 bool m_createdAtHasBeenSet =
false;
386 bool m_updatedAtHasBeenSet =
false;
387 bool m_kmsKeyIdentifierHasBeenSet =
false;
388 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< Treatment > & GetTreatments() const
AWS_APPCONFIG_API CreateExperimentDefinitionResult()=default
CreateExperimentDefinitionResult & WithApplicationId(ApplicationIdT &&value)
CreateExperimentDefinitionResult & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
const Aws::String & GetKmsKeyIdentifier() const
void SetControl(ControlT &&value)
CreateExperimentDefinitionResult & AddTreatments(TreatmentsT &&value)
void SetAudienceRule(AudienceRuleT &&value)
void SetFlagKey(FlagKeyT &&value)
const Aws::String & GetAudienceRule() const
const Aws::String & GetLaunchCriteria() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetEnvironmentId() const
void SetApplicationId(ApplicationIdT &&value)
CreateExperimentDefinitionResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetName() const
CreateExperimentDefinitionResult & WithRequestId(RequestIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
CreateExperimentDefinitionResult & WithAudienceRule(AudienceRuleT &&value)
CreateExperimentDefinitionResult & WithId(IdT &&value)
const Aws::String & GetHypothesis() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAudienceDescription(AudienceDescriptionT &&value)
void SetRequestId(RequestIdT &&value)
AWS_APPCONFIG_API CreateExperimentDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetConfigurationProfileId() const
CreateExperimentDefinitionResult & WithAudienceDescription(AudienceDescriptionT &&value)
CreateExperimentDefinitionResult & WithStatus(ExperimentDefinitionStatus value)
CreateExperimentDefinitionResult & WithCreatedAt(CreatedAtT &&value)
CreateExperimentDefinitionResult & WithLaunchCriteria(LaunchCriteriaT &&value)
void SetTreatments(TreatmentsT &&value)
CreateExperimentDefinitionResult & WithHypothesis(HypothesisT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetId() const
const Aws::String & GetFlagKey() const
void SetLaunchCriteria(LaunchCriteriaT &&value)
CreateExperimentDefinitionResult & WithEnvironmentId(EnvironmentIdT &&value)
CreateExperimentDefinitionResult & WithControl(ControlT &&value)
void SetName(NameT &&value)
const Aws::String & GetAudienceDescription() const
CreateExperimentDefinitionResult & WithFlagKey(FlagKeyT &&value)
CreateExperimentDefinitionResult & WithUpdatedAt(UpdatedAtT &&value)
const Treatment & GetControl() const
CreateExperimentDefinitionResult & WithTreatments(TreatmentsT &&value)
void SetConfigurationProfileId(ConfigurationProfileIdT &&value)
AWS_APPCONFIG_API CreateExperimentDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetHypothesis(HypothesisT &&value)
ExperimentDefinitionStatus GetStatus() const
CreateExperimentDefinitionResult & WithName(NameT &&value)
void SetStatus(ExperimentDefinitionStatus value)
const Aws::String & GetApplicationId() const
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
ExperimentDefinitionStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue