7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_EXPORTS.h>
9#include <aws/appconfig/model/DeploymentParameters.h>
10#include <aws/appconfig/model/TreatmentOverrides.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
40 template <
typename ApplicationIdentifierT = Aws::String>
42 m_applicationIdentifierHasBeenSet =
true;
43 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
45 template <
typename ApplicationIdentifierT = Aws::String>
58 template <
typename ExperimentDefinitionIdentifierT = Aws::String>
60 m_experimentDefinitionIdentifierHasBeenSet =
true;
61 m_experimentDefinitionIdentifier = std::forward<ExperimentDefinitionIdentifierT>(value);
63 template <
typename ExperimentDefinitionIdentifierT = Aws::String>
76 template <
typename DescriptionT = Aws::String>
78 m_descriptionHasBeenSet =
true;
79 m_description = std::forward<DescriptionT>(value);
81 template <
typename DescriptionT = Aws::String>
96 m_exposurePercentageHasBeenSet =
true;
97 m_exposurePercentage = value;
112 template <
typename TreatmentOverr
idesT = TreatmentOverr
ides>
114 m_treatmentOverridesHasBeenSet =
true;
115 m_treatmentOverrides = std::forward<TreatmentOverridesT>(value);
117 template <
typename TreatmentOverr
idesT = TreatmentOverr
ides>
130 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 m_tagsHasBeenSet =
true;
133 m_tags = std::forward<TagsT>(value);
135 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 SetTags(std::forward<TagsT>(value));
140 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
142 m_tagsHasBeenSet =
true;
143 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
155 template <
typename DeploymentParametersT = DeploymentParameters>
157 m_deploymentParametersHasBeenSet =
true;
158 m_deploymentParameters = std::forward<DeploymentParametersT>(value);
160 template <
typename DeploymentParametersT = DeploymentParameters>
173 double m_exposurePercentage{0.0};
175 TreatmentOverrides m_treatmentOverrides;
179 DeploymentParameters m_deploymentParameters;
180 bool m_applicationIdentifierHasBeenSet =
false;
181 bool m_experimentDefinitionIdentifierHasBeenSet =
false;
182 bool m_descriptionHasBeenSet =
false;
183 bool m_exposurePercentageHasBeenSet =
false;
184 bool m_treatmentOverridesHasBeenSet =
false;
185 bool m_tagsHasBeenSet =
false;
186 bool m_deploymentParametersHasBeenSet =
false;
const DeploymentParameters & GetDeploymentParameters() const
void SetExperimentDefinitionIdentifier(ExperimentDefinitionIdentifierT &&value)
bool TreatmentOverridesHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_APPCONFIG_API StartExperimentRunRequest()=default
bool DescriptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
StartExperimentRunRequest & WithTreatmentOverrides(TreatmentOverridesT &&value)
StartExperimentRunRequest & WithTags(TagsT &&value)
bool ExperimentDefinitionIdentifierHasBeenSet() const
double GetExposurePercentage() const
bool ApplicationIdentifierHasBeenSet() const
void SetApplicationIdentifier(ApplicationIdentifierT &&value)
void SetTags(TagsT &&value)
void SetExposurePercentage(double value)
const Aws::String & GetApplicationIdentifier() const
StartExperimentRunRequest & WithDescription(DescriptionT &&value)
StartExperimentRunRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartExperimentRunRequest & WithDeploymentParameters(DeploymentParametersT &&value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
void SetTreatmentOverrides(TreatmentOverridesT &&value)
StartExperimentRunRequest & WithExperimentDefinitionIdentifier(ExperimentDefinitionIdentifierT &&value)
StartExperimentRunRequest & WithExposurePercentage(double value)
bool ExposurePercentageHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetExperimentDefinitionIdentifier() const
StartExperimentRunRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
bool DeploymentParametersHasBeenSet() const
const TreatmentOverrides & GetTreatmentOverrides() const
void SetDeploymentParameters(DeploymentParametersT &&value)
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