7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_EXPORTS.h>
9#include <aws/appconfig/model/TreatmentInput.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
39 template <
typename ApplicationIdentifierT = Aws::String>
41 m_applicationIdentifierHasBeenSet =
true;
42 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
44 template <
typename ApplicationIdentifierT = Aws::String>
57 template <
typename ExperimentDefinitionIdentifierT = Aws::String>
59 m_experimentDefinitionIdentifierHasBeenSet =
true;
60 m_experimentDefinitionIdentifier = std::forward<ExperimentDefinitionIdentifierT>(value);
62 template <
typename ExperimentDefinitionIdentifierT = Aws::String>
76 template <
typename TreatmentsT = Aws::Vector<TreatmentInput>>
78 m_treatmentsHasBeenSet =
true;
79 m_treatments = std::forward<TreatmentsT>(value);
81 template <
typename TreatmentsT = Aws::Vector<TreatmentInput>>
86 template <
typename TreatmentsT = TreatmentInput>
88 m_treatmentsHasBeenSet =
true;
89 m_treatments.emplace_back(std::forward<TreatmentsT>(value));
100 template <
typename ControlT = TreatmentInput>
102 m_controlHasBeenSet =
true;
103 m_control = std::forward<ControlT>(value);
105 template <
typename ControlT = TreatmentInput>
118 template <
typename HypothesisT = Aws::String>
120 m_hypothesisHasBeenSet =
true;
121 m_hypothesis = std::forward<HypothesisT>(value);
123 template <
typename HypothesisT = Aws::String>
136 template <
typename AudienceRuleT = Aws::String>
138 m_audienceRuleHasBeenSet =
true;
139 m_audienceRule = std::forward<AudienceRuleT>(value);
141 template <
typename AudienceRuleT = Aws::String>
154 template <
typename AudienceDescriptionT = Aws::String>
156 m_audienceDescriptionHasBeenSet =
true;
157 m_audienceDescription = std::forward<AudienceDescriptionT>(value);
159 template <
typename AudienceDescriptionT = Aws::String>
172 template <
typename LaunchCriteriaT = Aws::String>
174 m_launchCriteriaHasBeenSet =
true;
175 m_launchCriteria = std::forward<LaunchCriteriaT>(value);
177 template <
typename LaunchCriteriaT = Aws::String>
199 bool m_applicationIdentifierHasBeenSet =
false;
200 bool m_experimentDefinitionIdentifierHasBeenSet =
false;
201 bool m_treatmentsHasBeenSet =
false;
202 bool m_controlHasBeenSet =
false;
203 bool m_hypothesisHasBeenSet =
false;
204 bool m_audienceRuleHasBeenSet =
false;
205 bool m_audienceDescriptionHasBeenSet =
false;
206 bool m_launchCriteriaHasBeenSet =
false;
void SetLaunchCriteria(LaunchCriteriaT &&value)
void SetExperimentDefinitionIdentifier(ExperimentDefinitionIdentifierT &&value)
void SetControl(ControlT &&value)
const TreatmentInput & GetControl() const
const Aws::String & GetAudienceRule() const
const Aws::String & GetHypothesis() const
UpdateExperimentDefinitionRequest & AddTreatments(TreatmentsT &&value)
const Aws::String & GetAudienceDescription() const
UpdateExperimentDefinitionRequest & WithAudienceDescription(AudienceDescriptionT &&value)
UpdateExperimentDefinitionRequest & WithHypothesis(HypothesisT &&value)
void SetAudienceDescription(AudienceDescriptionT &&value)
bool TreatmentsHasBeenSet() const
UpdateExperimentDefinitionRequest & WithTreatments(TreatmentsT &&value)
bool LaunchCriteriaHasBeenSet() const
void SetTreatments(TreatmentsT &&value)
void SetHypothesis(HypothesisT &&value)
AWS_APPCONFIG_API UpdateExperimentDefinitionRequest()=default
UpdateExperimentDefinitionRequest & WithExperimentDefinitionIdentifier(ExperimentDefinitionIdentifierT &&value)
const Aws::Vector< TreatmentInput > & GetTreatments() const
bool ApplicationIdentifierHasBeenSet() const
void SetApplicationIdentifier(ApplicationIdentifierT &&value)
void SetAudienceRule(AudienceRuleT &&value)
const Aws::String & GetExperimentDefinitionIdentifier() const
bool HypothesisHasBeenSet() const
bool ExperimentDefinitionIdentifierHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateExperimentDefinitionRequest & WithLaunchCriteria(LaunchCriteriaT &&value)
bool ControlHasBeenSet() const
AWS_APPCONFIG_API Aws::String SerializePayload() const override
UpdateExperimentDefinitionRequest & WithAudienceRule(AudienceRuleT &&value)
bool AudienceRuleHasBeenSet() const
UpdateExperimentDefinitionRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
const Aws::String & GetLaunchCriteria() const
const Aws::String & GetApplicationIdentifier() const
UpdateExperimentDefinitionRequest & WithControl(ControlT &&value)
bool AudienceDescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector