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/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fis/model/ExperimentState.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/fis/model/ExperimentLogConfiguration.h>
14#include <aws/fis/model/ExperimentOptions.h>
15#include <aws/fis/model/ExperimentTarget.h>
16#include <aws/fis/model/ExperimentAction.h>
17#include <aws/fis/model/ExperimentStopCondition.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace FIS
31{
32namespace Model
33{
34
41 {
42 public:
43 AWS_FIS_API Experiment();
44 AWS_FIS_API Experiment(Aws::Utils::Json::JsonView jsonValue);
47
48
50
53 inline const Aws::String& GetId() const{ return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
57 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
58 inline Experiment& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline Experiment& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline Experiment& WithId(const char* value) { SetId(value); return *this;}
62
64
67 inline const Aws::String& GetArn() const{ return m_arn; }
68 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
69 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
70 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
71 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
72 inline Experiment& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 inline Experiment& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 inline Experiment& WithArn(const char* value) { SetArn(value); return *this;}
76
78
81 inline const Aws::String& GetExperimentTemplateId() const{ return m_experimentTemplateId; }
82 inline bool ExperimentTemplateIdHasBeenSet() const { return m_experimentTemplateIdHasBeenSet; }
83 inline void SetExperimentTemplateId(const Aws::String& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = value; }
84 inline void SetExperimentTemplateId(Aws::String&& value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId = std::move(value); }
85 inline void SetExperimentTemplateId(const char* value) { m_experimentTemplateIdHasBeenSet = true; m_experimentTemplateId.assign(value); }
86 inline Experiment& WithExperimentTemplateId(const Aws::String& value) { SetExperimentTemplateId(value); return *this;}
87 inline Experiment& WithExperimentTemplateId(Aws::String&& value) { SetExperimentTemplateId(std::move(value)); return *this;}
88 inline Experiment& WithExperimentTemplateId(const char* value) { SetExperimentTemplateId(value); return *this;}
90
92
96 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
97 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
98 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
99 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
100 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
101 inline Experiment& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
102 inline Experiment& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
103 inline Experiment& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
105
107
110 inline const ExperimentState& GetState() const{ return m_state; }
111 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
112 inline void SetState(const ExperimentState& value) { m_stateHasBeenSet = true; m_state = value; }
113 inline void SetState(ExperimentState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
114 inline Experiment& WithState(const ExperimentState& value) { SetState(value); return *this;}
115 inline Experiment& WithState(ExperimentState&& value) { SetState(std::move(value)); return *this;}
117
119
122 inline const Aws::Map<Aws::String, ExperimentTarget>& GetTargets() const{ return m_targets; }
123 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
124 inline void SetTargets(const Aws::Map<Aws::String, ExperimentTarget>& value) { m_targetsHasBeenSet = true; m_targets = value; }
125 inline void SetTargets(Aws::Map<Aws::String, ExperimentTarget>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
126 inline Experiment& WithTargets(const Aws::Map<Aws::String, ExperimentTarget>& value) { SetTargets(value); return *this;}
127 inline Experiment& WithTargets(Aws::Map<Aws::String, ExperimentTarget>&& value) { SetTargets(std::move(value)); return *this;}
128 inline Experiment& AddTargets(const Aws::String& key, const ExperimentTarget& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; }
129 inline Experiment& AddTargets(Aws::String&& key, const ExperimentTarget& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), value); return *this; }
130 inline Experiment& AddTargets(const Aws::String& key, ExperimentTarget&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; }
131 inline Experiment& AddTargets(Aws::String&& key, ExperimentTarget&& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), std::move(value)); return *this; }
132 inline Experiment& AddTargets(const char* key, ExperimentTarget&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; }
133 inline Experiment& AddTargets(const char* key, const ExperimentTarget& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; }
135
137
140 inline const Aws::Map<Aws::String, ExperimentAction>& GetActions() const{ return m_actions; }
141 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
142 inline void SetActions(const Aws::Map<Aws::String, ExperimentAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
143 inline void SetActions(Aws::Map<Aws::String, ExperimentAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
144 inline Experiment& WithActions(const Aws::Map<Aws::String, ExperimentAction>& value) { SetActions(value); return *this;}
145 inline Experiment& WithActions(Aws::Map<Aws::String, ExperimentAction>&& value) { SetActions(std::move(value)); return *this;}
146 inline Experiment& AddActions(const Aws::String& key, const ExperimentAction& value) { m_actionsHasBeenSet = true; m_actions.emplace(key, value); return *this; }
147 inline Experiment& AddActions(Aws::String&& key, const ExperimentAction& value) { m_actionsHasBeenSet = true; m_actions.emplace(std::move(key), value); return *this; }
148 inline Experiment& AddActions(const Aws::String& key, ExperimentAction&& value) { m_actionsHasBeenSet = true; m_actions.emplace(key, std::move(value)); return *this; }
149 inline Experiment& AddActions(Aws::String&& key, ExperimentAction&& value) { m_actionsHasBeenSet = true; m_actions.emplace(std::move(key), std::move(value)); return *this; }
150 inline Experiment& AddActions(const char* key, ExperimentAction&& value) { m_actionsHasBeenSet = true; m_actions.emplace(key, std::move(value)); return *this; }
151 inline Experiment& AddActions(const char* key, const ExperimentAction& value) { m_actionsHasBeenSet = true; m_actions.emplace(key, value); return *this; }
153
155
158 inline const Aws::Vector<ExperimentStopCondition>& GetStopConditions() const{ return m_stopConditions; }
159 inline bool StopConditionsHasBeenSet() const { return m_stopConditionsHasBeenSet; }
160 inline void SetStopConditions(const Aws::Vector<ExperimentStopCondition>& value) { m_stopConditionsHasBeenSet = true; m_stopConditions = value; }
161 inline void SetStopConditions(Aws::Vector<ExperimentStopCondition>&& value) { m_stopConditionsHasBeenSet = true; m_stopConditions = std::move(value); }
163 inline Experiment& WithStopConditions(Aws::Vector<ExperimentStopCondition>&& value) { SetStopConditions(std::move(value)); return *this;}
164 inline Experiment& AddStopConditions(const ExperimentStopCondition& value) { m_stopConditionsHasBeenSet = true; m_stopConditions.push_back(value); return *this; }
165 inline Experiment& AddStopConditions(ExperimentStopCondition&& value) { m_stopConditionsHasBeenSet = true; m_stopConditions.push_back(std::move(value)); return *this; }
167
169
172 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
173 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
174 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
175 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
176 inline Experiment& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
177 inline Experiment& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
179
181
184 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
185 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
186 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
187 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
188 inline Experiment& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
189 inline Experiment& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
191
193
196 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
197 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
198 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
199 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
200 inline Experiment& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
201 inline Experiment& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
203
205
208 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
209 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
210 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
211 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
212 inline Experiment& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
213 inline Experiment& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
214 inline Experiment& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
215 inline Experiment& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
216 inline Experiment& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
217 inline Experiment& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
218 inline Experiment& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
219 inline Experiment& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
220 inline Experiment& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
222
224
227 inline const ExperimentLogConfiguration& GetLogConfiguration() const{ return m_logConfiguration; }
228 inline bool LogConfigurationHasBeenSet() const { return m_logConfigurationHasBeenSet; }
229 inline void SetLogConfiguration(const ExperimentLogConfiguration& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = value; }
230 inline void SetLogConfiguration(ExperimentLogConfiguration&& value) { m_logConfigurationHasBeenSet = true; m_logConfiguration = std::move(value); }
232 inline Experiment& WithLogConfiguration(ExperimentLogConfiguration&& value) { SetLogConfiguration(std::move(value)); return *this;}
234
236
239 inline const ExperimentOptions& GetExperimentOptions() const{ return m_experimentOptions; }
240 inline bool ExperimentOptionsHasBeenSet() const { return m_experimentOptionsHasBeenSet; }
241 inline void SetExperimentOptions(const ExperimentOptions& value) { m_experimentOptionsHasBeenSet = true; m_experimentOptions = value; }
242 inline void SetExperimentOptions(ExperimentOptions&& value) { m_experimentOptionsHasBeenSet = true; m_experimentOptions = std::move(value); }
243 inline Experiment& WithExperimentOptions(const ExperimentOptions& value) { SetExperimentOptions(value); return *this;}
244 inline Experiment& WithExperimentOptions(ExperimentOptions&& value) { SetExperimentOptions(std::move(value)); return *this;}
246
248
251 inline long long GetTargetAccountConfigurationsCount() const{ return m_targetAccountConfigurationsCount; }
252 inline bool TargetAccountConfigurationsCountHasBeenSet() const { return m_targetAccountConfigurationsCountHasBeenSet; }
253 inline void SetTargetAccountConfigurationsCount(long long value) { m_targetAccountConfigurationsCountHasBeenSet = true; m_targetAccountConfigurationsCount = value; }
256 private:
257
258 Aws::String m_id;
259 bool m_idHasBeenSet = false;
260
261 Aws::String m_arn;
262 bool m_arnHasBeenSet = false;
263
264 Aws::String m_experimentTemplateId;
265 bool m_experimentTemplateIdHasBeenSet = false;
266
267 Aws::String m_roleArn;
268 bool m_roleArnHasBeenSet = false;
269
270 ExperimentState m_state;
271 bool m_stateHasBeenSet = false;
272
274 bool m_targetsHasBeenSet = false;
275
277 bool m_actionsHasBeenSet = false;
278
280 bool m_stopConditionsHasBeenSet = false;
281
282 Aws::Utils::DateTime m_creationTime;
283 bool m_creationTimeHasBeenSet = false;
284
285 Aws::Utils::DateTime m_startTime;
286 bool m_startTimeHasBeenSet = false;
287
288 Aws::Utils::DateTime m_endTime;
289 bool m_endTimeHasBeenSet = false;
290
292 bool m_tagsHasBeenSet = false;
293
294 ExperimentLogConfiguration m_logConfiguration;
295 bool m_logConfigurationHasBeenSet = false;
296
297 ExperimentOptions m_experimentOptions;
298 bool m_experimentOptionsHasBeenSet = false;
299
300 long long m_targetAccountConfigurationsCount;
301 bool m_targetAccountConfigurationsCountHasBeenSet = false;
302 };
303
304} // namespace Model
305} // namespace FIS
306} // namespace Aws
Experiment & WithTargetAccountConfigurationsCount(long long value)
Definition Experiment.h:254
Experiment & WithState(const ExperimentState &value)
Definition Experiment.h:114
Experiment & AddTags(const char *key, const char *value)
Definition Experiment.h:220
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Experiment.h:208
const Aws::Map< Aws::String, ExperimentTarget > & GetTargets() const
Definition Experiment.h:122
void SetStopConditions(Aws::Vector< ExperimentStopCondition > &&value)
Definition Experiment.h:161
Experiment & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Experiment.h:213
Experiment & WithId(const char *value)
Definition Experiment.h:60
void SetRoleArn(Aws::String &&value)
Definition Experiment.h:99
void SetTargets(Aws::Map< Aws::String, ExperimentTarget > &&value)
Definition Experiment.h:125
void SetActions(const Aws::Map< Aws::String, ExperimentAction > &value)
Definition Experiment.h:142
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Experiment.h:211
void SetStartTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:186
void SetId(Aws::String &&value)
Definition Experiment.h:56
Experiment & AddActions(Aws::String &&key, const ExperimentAction &value)
Definition Experiment.h:147
void SetRoleArn(const Aws::String &value)
Definition Experiment.h:98
Experiment & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Experiment.h:212
void SetState(ExperimentState &&value)
Definition Experiment.h:113
bool ExperimentOptionsHasBeenSet() const
Definition Experiment.h:240
Experiment & WithRoleArn(Aws::String &&value)
Definition Experiment.h:102
void SetStartTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:187
void SetExperimentOptions(const ExperimentOptions &value)
Definition Experiment.h:241
const Aws::Utils::DateTime & GetCreationTime() const
Definition Experiment.h:172
void SetStopConditions(const Aws::Vector< ExperimentStopCondition > &value)
Definition Experiment.h:160
void SetRoleArn(const char *value)
Definition Experiment.h:100
Experiment & AddActions(const char *key, const ExperimentAction &value)
Definition Experiment.h:151
Experiment & AddTargets(const Aws::String &key, const ExperimentTarget &value)
Definition Experiment.h:128
Experiment & WithArn(const Aws::String &value)
Definition Experiment.h:72
Experiment & WithExperimentTemplateId(Aws::String &&value)
Definition Experiment.h:87
Experiment & WithId(const Aws::String &value)
Definition Experiment.h:58
Experiment & AddActions(Aws::String &&key, ExperimentAction &&value)
Definition Experiment.h:149
Experiment & WithTargets(const Aws::Map< Aws::String, ExperimentTarget > &value)
Definition Experiment.h:126
const ExperimentLogConfiguration & GetLogConfiguration() const
Definition Experiment.h:227
bool CreationTimeHasBeenSet() const
Definition Experiment.h:173
Experiment & WithArn(const char *value)
Definition Experiment.h:74
Experiment & AddTargets(const Aws::String &key, ExperimentTarget &&value)
Definition Experiment.h:130
Experiment & WithLogConfiguration(ExperimentLogConfiguration &&value)
Definition Experiment.h:232
bool StartTimeHasBeenSet() const
Definition Experiment.h:185
Experiment & AddTags(const Aws::String &key, Aws::String &&value)
Definition Experiment.h:216
Experiment & WithActions(Aws::Map< Aws::String, ExperimentAction > &&value)
Definition Experiment.h:145
void SetEndTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:199
Experiment & AddTags(const Aws::String &key, const Aws::String &value)
Definition Experiment.h:214
const Aws::String & GetRoleArn() const
Definition Experiment.h:96
Experiment & AddTags(Aws::String &&key, const char *value)
Definition Experiment.h:219
const ExperimentOptions & GetExperimentOptions() const
Definition Experiment.h:239
void SetId(const char *value)
Definition Experiment.h:57
void SetTargets(const Aws::Map< Aws::String, ExperimentTarget > &value)
Definition Experiment.h:124
Experiment & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:176
Experiment & AddTargets(const char *key, ExperimentTarget &&value)
Definition Experiment.h:132
Experiment & WithTargets(Aws::Map< Aws::String, ExperimentTarget > &&value)
Definition Experiment.h:127
const Aws::String & GetArn() const
Definition Experiment.h:67
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetTargetAccountConfigurationsCount() const
Definition Experiment.h:251
const Aws::String & GetId() const
Definition Experiment.h:53
void SetExperimentTemplateId(const Aws::String &value)
Definition Experiment.h:83
const Aws::Utils::DateTime & GetEndTime() const
Definition Experiment.h:196
Experiment & AddTags(const char *key, Aws::String &&value)
Definition Experiment.h:218
void SetActions(Aws::Map< Aws::String, ExperimentAction > &&value)
Definition Experiment.h:143
const ExperimentState & GetState() const
Definition Experiment.h:110
const Aws::String & GetExperimentTemplateId() const
Definition Experiment.h:81
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:175
bool StopConditionsHasBeenSet() const
Definition Experiment.h:159
Experiment & WithStartTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:188
void SetArn(Aws::String &&value)
Definition Experiment.h:70
void SetState(const ExperimentState &value)
Definition Experiment.h:112
Experiment & WithRoleArn(const Aws::String &value)
Definition Experiment.h:101
Experiment & WithId(Aws::String &&value)
Definition Experiment.h:59
void SetExperimentTemplateId(Aws::String &&value)
Definition Experiment.h:84
Experiment & AddTags(Aws::String &&key, const Aws::String &value)
Definition Experiment.h:215
Experiment & WithArn(Aws::String &&value)
Definition Experiment.h:73
void SetId(const Aws::String &value)
Definition Experiment.h:55
Experiment & WithRoleArn(const char *value)
Definition Experiment.h:103
bool LogConfigurationHasBeenSet() const
Definition Experiment.h:228
Experiment & AddActions(const char *key, ExperimentAction &&value)
Definition Experiment.h:150
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Experiment.h:210
Experiment & WithStopConditions(Aws::Vector< ExperimentStopCondition > &&value)
Definition Experiment.h:163
Experiment & AddActions(const Aws::String &key, ExperimentAction &&value)
Definition Experiment.h:148
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:174
void SetArn(const char *value)
Definition Experiment.h:71
void SetLogConfiguration(const ExperimentLogConfiguration &value)
Definition Experiment.h:229
bool TargetAccountConfigurationsCountHasBeenSet() const
Definition Experiment.h:252
Experiment & WithExperimentTemplateId(const Aws::String &value)
Definition Experiment.h:86
bool RoleArnHasBeenSet() const
Definition Experiment.h:97
void SetExperimentTemplateId(const char *value)
Definition Experiment.h:85
Experiment & WithActions(const Aws::Map< Aws::String, ExperimentAction > &value)
Definition Experiment.h:144
Experiment & WithExperimentOptions(ExperimentOptions &&value)
Definition Experiment.h:244
AWS_FIS_API Experiment(Aws::Utils::Json::JsonView jsonValue)
Experiment & WithExperimentTemplateId(const char *value)
Definition Experiment.h:88
void SetExperimentOptions(ExperimentOptions &&value)
Definition Experiment.h:242
Experiment & AddStopConditions(const ExperimentStopCondition &value)
Definition Experiment.h:164
bool ExperimentTemplateIdHasBeenSet() const
Definition Experiment.h:82
Experiment & AddActions(const Aws::String &key, const ExperimentAction &value)
Definition Experiment.h:146
Experiment & AddTags(Aws::String &&key, Aws::String &&value)
Definition Experiment.h:217
Experiment & AddTargets(Aws::String &&key, ExperimentTarget &&value)
Definition Experiment.h:131
void SetEndTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:198
Experiment & WithState(ExperimentState &&value)
Definition Experiment.h:115
void SetLogConfiguration(ExperimentLogConfiguration &&value)
Definition Experiment.h:230
void SetArn(const Aws::String &value)
Definition Experiment.h:69
const Aws::Utils::DateTime & GetStartTime() const
Definition Experiment.h:184
Experiment & WithEndTime(const Aws::Utils::DateTime &value)
Definition Experiment.h:200
Experiment & AddStopConditions(ExperimentStopCondition &&value)
Definition Experiment.h:165
Experiment & AddTargets(Aws::String &&key, const ExperimentTarget &value)
Definition Experiment.h:129
const Aws::Vector< ExperimentStopCondition > & GetStopConditions() const
Definition Experiment.h:158
Experiment & AddTargets(const char *key, const ExperimentTarget &value)
Definition Experiment.h:133
void SetTargetAccountConfigurationsCount(long long value)
Definition Experiment.h:253
Experiment & WithStopConditions(const Aws::Vector< ExperimentStopCondition > &value)
Definition Experiment.h:162
Experiment & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:177
Experiment & WithLogConfiguration(const ExperimentLogConfiguration &value)
Definition Experiment.h:231
Experiment & WithExperimentOptions(const ExperimentOptions &value)
Definition Experiment.h:243
Experiment & WithEndTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:201
const Aws::Map< Aws::String, ExperimentAction > & GetActions() const
Definition Experiment.h:140
AWS_FIS_API Experiment & operator=(Aws::Utils::Json::JsonView jsonValue)
Experiment & WithStartTime(Aws::Utils::DateTime &&value)
Definition Experiment.h:189
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