7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/ExperimentDefinitionSnapshot.h>
9#include <aws/appconfig/model/ExperimentRunResult.h>
10#include <aws/appconfig/model/ExperimentRunStatus.h>
11#include <aws/appconfig/model/TreatmentOverrides.h>
12#include <aws/core/http/HttpResponse.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template <
typename ApplicationIdT = Aws::String>
48 m_applicationIdHasBeenSet =
true;
49 m_applicationId = std::forward<ApplicationIdT>(value);
51 template <
typename ApplicationIdT = Aws::String>
63 template <
typename ExperimentDefinitionIdT = Aws::String>
65 m_experimentDefinitionIdHasBeenSet =
true;
66 m_experimentDefinitionId = std::forward<ExperimentDefinitionIdT>(value);
68 template <
typename ExperimentDefinitionIdT = Aws::String>
79 inline int GetRun()
const {
return m_run; }
81 m_runHasBeenSet =
true;
95 template <
typename DescriptionT = Aws::String>
97 m_descriptionHasBeenSet =
true;
98 m_description = std::forward<DescriptionT>(value);
100 template <
typename DescriptionT = Aws::String>
114 m_statusHasBeenSet =
true;
129 m_exposurePercentageHasBeenSet =
true;
130 m_exposurePercentage = value;
144 template <
typename TreatmentOverr
idesT = TreatmentOverr
ides>
146 m_treatmentOverridesHasBeenSet =
true;
147 m_treatmentOverrides = std::forward<TreatmentOverridesT>(value);
149 template <
typename TreatmentOverr
idesT = TreatmentOverr
ides>
162 template <
typename ResultT = ExperimentRunResult>
164 m_resultHasBeenSet =
true;
165 m_result = std::forward<ResultT>(value);
167 template <
typename ResultT = ExperimentRunResult>
179 template <
typename StartedAtT = Aws::Utils::DateTime>
181 m_startedAtHasBeenSet =
true;
182 m_startedAt = std::forward<StartedAtT>(value);
184 template <
typename StartedAtT = Aws::Utils::DateTime>
197 template <
typename UpdatedAtT = Aws::Utils::DateTime>
199 m_updatedAtHasBeenSet =
true;
200 m_updatedAt = std::forward<UpdatedAtT>(value);
202 template <
typename UpdatedAtT = Aws::Utils::DateTime>
214 template <
typename EndedAtT = Aws::Utils::DateTime>
216 m_endedAtHasBeenSet =
true;
217 m_endedAt = std::forward<EndedAtT>(value);
219 template <
typename EndedAtT = Aws::Utils::DateTime>
231 template <
typename ExperimentDefinitionSnapshotT = ExperimentDefinitionSnapshot>
233 m_experimentDefinitionSnapshotHasBeenSet =
true;
234 m_experimentDefinitionSnapshot = std::forward<ExperimentDefinitionSnapshotT>(value);
236 template <
typename ExperimentDefinitionSnapshotT = ExperimentDefinitionSnapshot>
246 template <
typename RequestIdT = Aws::String>
248 m_requestIdHasBeenSet =
true;
249 m_requestId = std::forward<RequestIdT>(value);
251 template <
typename RequestIdT = Aws::String>
270 double m_exposurePercentage{0.0};
272 TreatmentOverrides m_treatmentOverrides;
274 ExperimentRunResult m_result;
282 ExperimentDefinitionSnapshot m_experimentDefinitionSnapshot;
286 bool m_applicationIdHasBeenSet =
false;
287 bool m_experimentDefinitionIdHasBeenSet =
false;
288 bool m_runHasBeenSet =
false;
289 bool m_descriptionHasBeenSet =
false;
290 bool m_statusHasBeenSet =
false;
291 bool m_exposurePercentageHasBeenSet =
false;
292 bool m_treatmentOverridesHasBeenSet =
false;
293 bool m_resultHasBeenSet =
false;
294 bool m_startedAtHasBeenSet =
false;
295 bool m_updatedAtHasBeenSet =
false;
296 bool m_endedAtHasBeenSet =
false;
297 bool m_experimentDefinitionSnapshotHasBeenSet =
false;
298 bool m_requestIdHasBeenSet =
false;
const TreatmentOverrides & GetTreatmentOverrides() const
void SetUpdatedAt(UpdatedAtT &&value)
StartExperimentRunResult & WithEndedAt(EndedAtT &&value)
StartExperimentRunResult & WithStatus(ExperimentRunStatus value)
void SetStartedAt(StartedAtT &&value)
void SetEndedAt(EndedAtT &&value)
const Aws::String & GetApplicationId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetStartedAt() const
StartExperimentRunResult & WithExperimentDefinitionSnapshot(ExperimentDefinitionSnapshotT &&value)
StartExperimentRunResult & WithExposurePercentage(double value)
void SetExperimentDefinitionSnapshot(ExperimentDefinitionSnapshotT &&value)
StartExperimentRunResult & WithUpdatedAt(UpdatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_APPCONFIG_API StartExperimentRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartExperimentRunResult & WithRun(int value)
void SetApplicationId(ApplicationIdT &&value)
void SetExposurePercentage(double value)
StartExperimentRunResult & WithTreatmentOverrides(TreatmentOverridesT &&value)
const ExperimentRunResult & GetResult() const
const ExperimentDefinitionSnapshot & GetExperimentDefinitionSnapshot() const
StartExperimentRunResult & WithStartedAt(StartedAtT &&value)
void SetDescription(DescriptionT &&value)
void SetTreatmentOverrides(TreatmentOverridesT &&value)
void SetResult(ResultT &&value)
StartExperimentRunResult & WithRequestId(RequestIdT &&value)
void SetExperimentDefinitionId(ExperimentDefinitionIdT &&value)
ExperimentRunStatus GetStatus() const
AWS_APPCONFIG_API StartExperimentRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
double GetExposurePercentage() const
StartExperimentRunResult & WithDescription(DescriptionT &&value)
StartExperimentRunResult & WithApplicationId(ApplicationIdT &&value)
const Aws::String & GetExperimentDefinitionId() const
StartExperimentRunResult & WithExperimentDefinitionId(ExperimentDefinitionIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetEndedAt() const
void SetStatus(ExperimentRunStatus value)
StartExperimentRunResult & WithResult(ResultT &&value)
AWS_APPCONFIG_API StartExperimentRunResult()=default
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue