AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Experiment.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/evidently/model/ExperimentExecution.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/evidently/model/OnlineAbDefinition.h>
13#include <aws/evidently/model/ExperimentSchedule.h>
14#include <aws/evidently/model/ExperimentStatus.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/evidently/model/ExperimentType.h>
17#include <aws/evidently/model/MetricGoal.h>
18#include <aws/evidently/model/Treatment.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace CloudWatchEvidently
32{
33namespace Model
34{
35
43 {
44 public:
45 AWS_CLOUDWATCHEVIDENTLY_API Experiment();
46 AWS_CLOUDWATCHEVIDENTLY_API Experiment(Aws::Utils::Json::JsonView jsonValue);
47 AWS_CLOUDWATCHEVIDENTLY_API Experiment& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
57 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
58 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
59 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
60 inline Experiment& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 inline Experiment& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
62 inline Experiment& WithArn(const char* value) { SetArn(value); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
70 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
71 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
72 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
73 inline Experiment& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
74 inline Experiment& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
76
78
81 inline const Aws::String& GetDescription() const{ return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
84 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
85 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
86 inline Experiment& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
87 inline Experiment& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
88 inline Experiment& WithDescription(const char* value) { SetDescription(value); return *this;}
90
92
96 inline const ExperimentExecution& GetExecution() const{ return m_execution; }
97 inline bool ExecutionHasBeenSet() const { return m_executionHasBeenSet; }
98 inline void SetExecution(const ExperimentExecution& value) { m_executionHasBeenSet = true; m_execution = value; }
99 inline void SetExecution(ExperimentExecution&& value) { m_executionHasBeenSet = true; m_execution = std::move(value); }
100 inline Experiment& WithExecution(const ExperimentExecution& value) { SetExecution(value); return *this;}
101 inline Experiment& WithExecution(ExperimentExecution&& value) { SetExecution(std::move(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
109 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
110 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
111 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
112 inline Experiment& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
113 inline Experiment& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
115
117
121 inline const Aws::Vector<MetricGoal>& GetMetricGoals() const{ return m_metricGoals; }
122 inline bool MetricGoalsHasBeenSet() const { return m_metricGoalsHasBeenSet; }
123 inline void SetMetricGoals(const Aws::Vector<MetricGoal>& value) { m_metricGoalsHasBeenSet = true; m_metricGoals = value; }
124 inline void SetMetricGoals(Aws::Vector<MetricGoal>&& value) { m_metricGoalsHasBeenSet = true; m_metricGoals = std::move(value); }
125 inline Experiment& WithMetricGoals(const Aws::Vector<MetricGoal>& value) { SetMetricGoals(value); return *this;}
126 inline Experiment& WithMetricGoals(Aws::Vector<MetricGoal>&& value) { SetMetricGoals(std::move(value)); return *this;}
127 inline Experiment& AddMetricGoals(const MetricGoal& value) { m_metricGoalsHasBeenSet = true; m_metricGoals.push_back(value); return *this; }
128 inline Experiment& AddMetricGoals(MetricGoal&& value) { m_metricGoalsHasBeenSet = true; m_metricGoals.push_back(std::move(value)); return *this; }
130
132
135 inline const Aws::String& GetName() const{ return m_name; }
136 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
137 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
138 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
139 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
140 inline Experiment& WithName(const Aws::String& value) { SetName(value); return *this;}
141 inline Experiment& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
142 inline Experiment& WithName(const char* value) { SetName(value); return *this;}
144
146
152 inline const OnlineAbDefinition& GetOnlineAbDefinition() const{ return m_onlineAbDefinition; }
153 inline bool OnlineAbDefinitionHasBeenSet() const { return m_onlineAbDefinitionHasBeenSet; }
154 inline void SetOnlineAbDefinition(const OnlineAbDefinition& value) { m_onlineAbDefinitionHasBeenSet = true; m_onlineAbDefinition = value; }
155 inline void SetOnlineAbDefinition(OnlineAbDefinition&& value) { m_onlineAbDefinitionHasBeenSet = true; m_onlineAbDefinition = std::move(value); }
156 inline Experiment& WithOnlineAbDefinition(const OnlineAbDefinition& value) { SetOnlineAbDefinition(value); return *this;}
157 inline Experiment& WithOnlineAbDefinition(OnlineAbDefinition&& value) { SetOnlineAbDefinition(std::move(value)); return *this;}
159
161
164 inline const Aws::String& GetProject() const{ return m_project; }
165 inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; }
166 inline void SetProject(const Aws::String& value) { m_projectHasBeenSet = true; m_project = value; }
167 inline void SetProject(Aws::String&& value) { m_projectHasBeenSet = true; m_project = std::move(value); }
168 inline void SetProject(const char* value) { m_projectHasBeenSet = true; m_project.assign(value); }
169 inline Experiment& WithProject(const Aws::String& value) { SetProject(value); return *this;}
170 inline Experiment& WithProject(Aws::String&& value) { SetProject(std::move(value)); return *this;}
171 inline Experiment& WithProject(const char* value) { SetProject(value); return *this;}
173
175
181 inline const Aws::String& GetRandomizationSalt() const{ return m_randomizationSalt; }
182 inline bool RandomizationSaltHasBeenSet() const { return m_randomizationSaltHasBeenSet; }
183 inline void SetRandomizationSalt(const Aws::String& value) { m_randomizationSaltHasBeenSet = true; m_randomizationSalt = value; }
184 inline void SetRandomizationSalt(Aws::String&& value) { m_randomizationSaltHasBeenSet = true; m_randomizationSalt = std::move(value); }
185 inline void SetRandomizationSalt(const char* value) { m_randomizationSaltHasBeenSet = true; m_randomizationSalt.assign(value); }
186 inline Experiment& WithRandomizationSalt(const Aws::String& value) { SetRandomizationSalt(value); return *this;}
187 inline Experiment& WithRandomizationSalt(Aws::String&& value) { SetRandomizationSalt(std::move(value)); return *this;}
188 inline Experiment& WithRandomizationSalt(const char* value) { SetRandomizationSalt(value); return *this;}
190
192
199 inline long long GetSamplingRate() const{ return m_samplingRate; }
200 inline bool SamplingRateHasBeenSet() const { return m_samplingRateHasBeenSet; }
201 inline void SetSamplingRate(long long value) { m_samplingRateHasBeenSet = true; m_samplingRate = value; }
202 inline Experiment& WithSamplingRate(long long value) { SetSamplingRate(value); return *this;}
204
206
210 inline const ExperimentSchedule& GetSchedule() const{ return m_schedule; }
211 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
212 inline void SetSchedule(const ExperimentSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
213 inline void SetSchedule(ExperimentSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
214 inline Experiment& WithSchedule(const ExperimentSchedule& value) { SetSchedule(value); return *this;}
215 inline Experiment& WithSchedule(ExperimentSchedule&& value) { SetSchedule(std::move(value)); return *this;}
217
219
223 inline const Aws::String& GetSegment() const{ return m_segment; }
224 inline bool SegmentHasBeenSet() const { return m_segmentHasBeenSet; }
225 inline void SetSegment(const Aws::String& value) { m_segmentHasBeenSet = true; m_segment = value; }
226 inline void SetSegment(Aws::String&& value) { m_segmentHasBeenSet = true; m_segment = std::move(value); }
227 inline void SetSegment(const char* value) { m_segmentHasBeenSet = true; m_segment.assign(value); }
228 inline Experiment& WithSegment(const Aws::String& value) { SetSegment(value); return *this;}
229 inline Experiment& WithSegment(Aws::String&& value) { SetSegment(std::move(value)); return *this;}
230 inline Experiment& WithSegment(const char* value) { SetSegment(value); return *this;}
232
234
237 inline const ExperimentStatus& GetStatus() const{ return m_status; }
238 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
239 inline void SetStatus(const ExperimentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
240 inline void SetStatus(ExperimentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
241 inline Experiment& WithStatus(const ExperimentStatus& value) { SetStatus(value); return *this;}
242 inline Experiment& WithStatus(ExperimentStatus&& value) { SetStatus(std::move(value)); return *this;}
244
246
250 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
251 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
252 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
253 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
254 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
255 inline Experiment& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
256 inline Experiment& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
257 inline Experiment& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
259
261
264 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
265 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
266 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
267 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
268 inline Experiment& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
269 inline Experiment& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
270 inline Experiment& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
271 inline Experiment& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
272 inline Experiment& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
273 inline Experiment& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
274 inline Experiment& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
275 inline Experiment& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
276 inline Experiment& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
278
280
284 inline const Aws::Vector<Treatment>& GetTreatments() const{ return m_treatments; }
285 inline bool TreatmentsHasBeenSet() const { return m_treatmentsHasBeenSet; }
286 inline void SetTreatments(const Aws::Vector<Treatment>& value) { m_treatmentsHasBeenSet = true; m_treatments = value; }
287 inline void SetTreatments(Aws::Vector<Treatment>&& value) { m_treatmentsHasBeenSet = true; m_treatments = std::move(value); }
288 inline Experiment& WithTreatments(const Aws::Vector<Treatment>& value) { SetTreatments(value); return *this;}
289 inline Experiment& WithTreatments(Aws::Vector<Treatment>&& value) { SetTreatments(std::move(value)); return *this;}
290 inline Experiment& AddTreatments(const Treatment& value) { m_treatmentsHasBeenSet = true; m_treatments.push_back(value); return *this; }
291 inline Experiment& AddTreatments(Treatment&& value) { m_treatmentsHasBeenSet = true; m_treatments.push_back(std::move(value)); return *this; }
293
295
299 inline const ExperimentType& GetType() const{ return m_type; }
300 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
301 inline void SetType(const ExperimentType& value) { m_typeHasBeenSet = true; m_type = value; }
302 inline void SetType(ExperimentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
303 inline Experiment& WithType(const ExperimentType& value) { SetType(value); return *this;}
304 inline Experiment& WithType(ExperimentType&& value) { SetType(std::move(value)); return *this;}
306 private:
307
308 Aws::String m_arn;
309 bool m_arnHasBeenSet = false;
310
311 Aws::Utils::DateTime m_createdTime;
312 bool m_createdTimeHasBeenSet = false;
313
314 Aws::String m_description;
315 bool m_descriptionHasBeenSet = false;
316
317 ExperimentExecution m_execution;
318 bool m_executionHasBeenSet = false;
319
320 Aws::Utils::DateTime m_lastUpdatedTime;
321 bool m_lastUpdatedTimeHasBeenSet = false;
322
323 Aws::Vector<MetricGoal> m_metricGoals;
324 bool m_metricGoalsHasBeenSet = false;
325
326 Aws::String m_name;
327 bool m_nameHasBeenSet = false;
328
329 OnlineAbDefinition m_onlineAbDefinition;
330 bool m_onlineAbDefinitionHasBeenSet = false;
331
332 Aws::String m_project;
333 bool m_projectHasBeenSet = false;
334
335 Aws::String m_randomizationSalt;
336 bool m_randomizationSaltHasBeenSet = false;
337
338 long long m_samplingRate;
339 bool m_samplingRateHasBeenSet = false;
340
341 ExperimentSchedule m_schedule;
342 bool m_scheduleHasBeenSet = false;
343
344 Aws::String m_segment;
345 bool m_segmentHasBeenSet = false;
346
347 ExperimentStatus m_status;
348 bool m_statusHasBeenSet = false;
349
350 Aws::String m_statusReason;
351 bool m_statusReasonHasBeenSet = false;
352
354 bool m_tagsHasBeenSet = false;
355
356 Aws::Vector<Treatment> m_treatments;
357 bool m_treatmentsHasBeenSet = false;
358
359 ExperimentType m_type;
360 bool m_typeHasBeenSet = false;
361 };
362
363} // namespace Model
364} // namespace CloudWatchEvidently
365} // namespace Aws
Experiment & WithRandomizationSalt(const char *value)
Definition Experiment.h:188
Experiment & WithSegment(const Aws::String &value)
Definition Experiment.h:228
Experiment & AddTags(const char *key, const char *value)
Definition Experiment.h:276
const Aws::String & GetProject() const
Definition Experiment.h:164
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition Experiment.h:108
Experiment & WithTreatments(Aws::Vector< Treatment > &&value)
Definition Experiment.h:289
Experiment & WithSchedule(ExperimentSchedule &&value)
Definition Experiment.h:215
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRandomizationSalt(Aws::String &&value)
Definition Experiment.h:184
void SetDescription(Aws::String &&value)
Definition Experiment.h:84
Experiment & WithRandomizationSalt(Aws::String &&value)
Definition Experiment.h:187
void SetArn(const Aws::String &value)
Definition Experiment.h:57
const Aws::String & GetArn() const
Definition Experiment.h:55
void SetTreatments(Aws::Vector< Treatment > &&value)
Definition Experiment.h:287
void SetTreatments(const Aws::Vector< Treatment > &value)
Definition Experiment.h:286
Experiment & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:112
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Experiment.h:267
Experiment & AddTags(const Aws::String &key, Aws::String &&value)
Definition Experiment.h:272
Experiment & AddMetricGoals(const MetricGoal &value)
Definition Experiment.h:127
void SetStatus(ExperimentStatus &&value)
Definition Experiment.h:240
void SetMetricGoals(const Aws::Vector< MetricGoal > &value)
Definition Experiment.h:123
Experiment & WithProject(const Aws::String &value)
Definition Experiment.h:169
void SetSchedule(const ExperimentSchedule &value)
Definition Experiment.h:212
Experiment & AddTags(const Aws::String &key, const Aws::String &value)
Definition Experiment.h:270
Experiment & WithStatus(const ExperimentStatus &value)
Definition Experiment.h:241
const Aws::Vector< Treatment > & GetTreatments() const
Definition Experiment.h:284
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Experiment.h:266
Experiment & AddTags(const char *key, Aws::String &&value)
Definition Experiment.h:274
Experiment & WithSegment(Aws::String &&value)
Definition Experiment.h:229
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:111
Experiment & WithStatusReason(const char *value)
Definition Experiment.h:257
Experiment & WithStatusReason(const Aws::String &value)
Definition Experiment.h:255
Experiment & WithStatusReason(Aws::String &&value)
Definition Experiment.h:256
void SetExecution(const ExperimentExecution &value)
Definition Experiment.h:98
Experiment & WithName(Aws::String &&value)
Definition Experiment.h:141
void SetRandomizationSalt(const Aws::String &value)
Definition Experiment.h:183
Experiment & WithProject(const char *value)
Definition Experiment.h:171
AWS_CLOUDWATCHEVIDENTLY_API Experiment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Experiment.h:69
Experiment & WithDescription(Aws::String &&value)
Definition Experiment.h:87
const Aws::String & GetSegment() const
Definition Experiment.h:223
void SetDescription(const Aws::String &value)
Definition Experiment.h:83
Experiment & WithMetricGoals(const Aws::Vector< MetricGoal > &value)
Definition Experiment.h:125
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:71
void SetType(ExperimentType &&value)
Definition Experiment.h:302
AWS_CLOUDWATCHEVIDENTLY_API Experiment(Aws::Utils::Json::JsonView jsonValue)
Experiment & WithArn(Aws::String &&value)
Definition Experiment.h:61
void SetStatusReason(Aws::String &&value)
Definition Experiment.h:253
Experiment & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Experiment.h:269
const OnlineAbDefinition & GetOnlineAbDefinition() const
Definition Experiment.h:152
Experiment & WithExecution(ExperimentExecution &&value)
Definition Experiment.h:101
Experiment & WithRandomizationSalt(const Aws::String &value)
Definition Experiment.h:186
const Aws::String & GetDescription() const
Definition Experiment.h:81
Experiment & WithDescription(const Aws::String &value)
Definition Experiment.h:86
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:110
const ExperimentExecution & GetExecution() const
Definition Experiment.h:96
Experiment & WithProject(Aws::String &&value)
Definition Experiment.h:170
const ExperimentType & GetType() const
Definition Experiment.h:299
void SetOnlineAbDefinition(const OnlineAbDefinition &value)
Definition Experiment.h:154
Experiment & AddTags(Aws::String &&key, Aws::String &&value)
Definition Experiment.h:273
Experiment & WithArn(const Aws::String &value)
Definition Experiment.h:60
Experiment & WithOnlineAbDefinition(const OnlineAbDefinition &value)
Definition Experiment.h:156
Experiment & WithStatus(ExperimentStatus &&value)
Definition Experiment.h:242
Experiment & WithArn(const char *value)
Definition Experiment.h:62
void SetOnlineAbDefinition(OnlineAbDefinition &&value)
Definition Experiment.h:155
Experiment & WithTreatments(const Aws::Vector< Treatment > &value)
Definition Experiment.h:288
Experiment & AddTreatments(const Treatment &value)
Definition Experiment.h:290
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Experiment.h:264
Experiment & WithName(const Aws::String &value)
Definition Experiment.h:140
Experiment & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:74
void SetName(const Aws::String &value)
Definition Experiment.h:137
void SetType(const ExperimentType &value)
Definition Experiment.h:301
Experiment & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:73
void SetSegment(const Aws::String &value)
Definition Experiment.h:225
Experiment & AddTags(Aws::String &&key, const char *value)
Definition Experiment.h:275
void SetSchedule(ExperimentSchedule &&value)
Definition Experiment.h:213
Experiment & WithSchedule(const ExperimentSchedule &value)
Definition Experiment.h:214
Experiment & WithSegment(const char *value)
Definition Experiment.h:230
Experiment & WithSamplingRate(long long value)
Definition Experiment.h:202
void SetStatusReason(const Aws::String &value)
Definition Experiment.h:252
Experiment & WithDescription(const char *value)
Definition Experiment.h:88
const Aws::String & GetName() const
Definition Experiment.h:135
Experiment & WithExecution(const ExperimentExecution &value)
Definition Experiment.h:100
AWS_CLOUDWATCHEVIDENTLY_API Experiment()
Experiment & WithType(const ExperimentType &value)
Definition Experiment.h:303
Experiment & AddTags(Aws::String &&key, const Aws::String &value)
Definition Experiment.h:271
const Aws::String & GetRandomizationSalt() const
Definition Experiment.h:181
Experiment & AddTreatments(Treatment &&value)
Definition Experiment.h:291
Experiment & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Experiment.h:268
Experiment & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:113
Experiment & WithName(const char *value)
Definition Experiment.h:142
void SetExecution(ExperimentExecution &&value)
Definition Experiment.h:99
void SetProject(const Aws::String &value)
Definition Experiment.h:166
Experiment & WithType(ExperimentType &&value)
Definition Experiment.h:304
Experiment & AddMetricGoals(MetricGoal &&value)
Definition Experiment.h:128
const ExperimentSchedule & GetSchedule() const
Definition Experiment.h:210
const Aws::Vector< MetricGoal > & GetMetricGoals() const
Definition Experiment.h:121
void SetRandomizationSalt(const char *value)
Definition Experiment.h:185
Experiment & WithOnlineAbDefinition(OnlineAbDefinition &&value)
Definition Experiment.h:157
const ExperimentStatus & GetStatus() const
Definition Experiment.h:237
void SetMetricGoals(Aws::Vector< MetricGoal > &&value)
Definition Experiment.h:124
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:72
Experiment & WithMetricGoals(Aws::Vector< MetricGoal > &&value)
Definition Experiment.h:126
void SetStatus(const ExperimentStatus &value)
Definition Experiment.h:239
const Aws::String & GetStatusReason() const
Definition Experiment.h:250
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
Aws::Utils::Json::JsonValue JsonValue