AWS SDK for C++

AWS SDK for C++ Version 1.11.928

Loading...
Searching...
No Matches
TestRun.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
12#include <aws/resiliencehubv2/model/AccountTargeting.h>
13#include <aws/resiliencehubv2/model/DevOpsAgentInvestigation.h>
14#include <aws/resiliencehubv2/model/ExperimentDetails.h>
15#include <aws/resiliencehubv2/model/LoggingConfiguration.h>
16#include <aws/resiliencehubv2/model/PermissionModel.h>
17#include <aws/resiliencehubv2/model/ReportGenerationResult.h>
18#include <aws/resiliencehubv2/model/StopCondition.h>
19#include <aws/resiliencehubv2/model/TestRunPolicySnapshot.h>
20#include <aws/resiliencehubv2/model/TestRunReportConfiguration.h>
21#include <aws/resiliencehubv2/model/TestRunStatus.h>
22
23#include <utility>
24
25namespace Aws {
26namespace Utils {
27namespace Json {
28class JsonValue;
29class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace resiliencehubv2 {
33namespace Model {
34
41class TestRun {
42 public:
43 AWS_RESILIENCEHUBV2_API TestRun() = default;
44 AWS_RESILIENCEHUBV2_API TestRun(Aws::Utils::Json::JsonView jsonValue);
45 AWS_RESILIENCEHUBV2_API TestRun& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
47
49
52 inline const Aws::String& GetTestRunId() const { return m_testRunId; }
53 inline bool TestRunIdHasBeenSet() const { return m_testRunIdHasBeenSet; }
54 template <typename TestRunIdT = Aws::String>
55 void SetTestRunId(TestRunIdT&& value) {
56 m_testRunIdHasBeenSet = true;
57 m_testRunId = std::forward<TestRunIdT>(value);
58 }
59 template <typename TestRunIdT = Aws::String>
60 TestRun& WithTestRunId(TestRunIdT&& value) {
61 SetTestRunId(std::forward<TestRunIdT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetTestId() const { return m_testId; }
71 inline bool TestIdHasBeenSet() const { return m_testIdHasBeenSet; }
72 template <typename TestIdT = Aws::String>
73 void SetTestId(TestIdT&& value) {
74 m_testIdHasBeenSet = true;
75 m_testId = std::forward<TestIdT>(value);
76 }
77 template <typename TestIdT = Aws::String>
78 TestRun& WithTestId(TestIdT&& value) {
79 SetTestId(std::forward<TestIdT>(value));
80 return *this;
81 }
83
85
88 inline TestRunStatus GetStatus() const { return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(TestRunStatus value) {
91 m_statusHasBeenSet = true;
92 m_status = value;
93 }
95 SetStatus(value);
96 return *this;
97 }
99
101
104 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
105 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
106 template <typename ServiceArnT = Aws::String>
107 void SetServiceArn(ServiceArnT&& value) {
108 m_serviceArnHasBeenSet = true;
109 m_serviceArn = std::forward<ServiceArnT>(value);
110 }
111 template <typename ServiceArnT = Aws::String>
112 TestRun& WithServiceArn(ServiceArnT&& value) {
113 SetServiceArn(std::forward<ServiceArnT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
123 inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
124 template <typename StartedAtT = Aws::Utils::DateTime>
125 void SetStartedAt(StartedAtT&& value) {
126 m_startedAtHasBeenSet = true;
127 m_startedAt = std::forward<StartedAtT>(value);
128 }
129 template <typename StartedAtT = Aws::Utils::DateTime>
130 TestRun& WithStartedAt(StartedAtT&& value) {
131 SetStartedAt(std::forward<StartedAtT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
141 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
142 template <typename EndedAtT = Aws::Utils::DateTime>
143 void SetEndedAt(EndedAtT&& value) {
144 m_endedAtHasBeenSet = true;
145 m_endedAt = std::forward<EndedAtT>(value);
146 }
147 template <typename EndedAtT = Aws::Utils::DateTime>
148 TestRun& WithEndedAt(EndedAtT&& value) {
149 SetEndedAt(std::forward<EndedAtT>(value));
150 return *this;
151 }
153
155
159 inline const Aws::Vector<ExperimentDetails>& GetExperiments() const { return m_experiments; }
160 inline bool ExperimentsHasBeenSet() const { return m_experimentsHasBeenSet; }
161 template <typename ExperimentsT = Aws::Vector<ExperimentDetails>>
162 void SetExperiments(ExperimentsT&& value) {
163 m_experimentsHasBeenSet = true;
164 m_experiments = std::forward<ExperimentsT>(value);
165 }
166 template <typename ExperimentsT = Aws::Vector<ExperimentDetails>>
167 TestRun& WithExperiments(ExperimentsT&& value) {
168 SetExperiments(std::forward<ExperimentsT>(value));
169 return *this;
170 }
171 template <typename ExperimentsT = ExperimentDetails>
172 TestRun& AddExperiments(ExperimentsT&& value) {
173 m_experimentsHasBeenSet = true;
174 m_experiments.emplace_back(std::forward<ExperimentsT>(value));
175 return *this;
176 }
178
180
184 inline int GetEventCount() const { return m_eventCount; }
185 inline bool EventCountHasBeenSet() const { return m_eventCountHasBeenSet; }
186 inline void SetEventCount(int value) {
187 m_eventCountHasBeenSet = true;
188 m_eventCount = value;
189 }
190 inline TestRun& WithEventCount(int value) {
191 SetEventCount(value);
192 return *this;
193 }
195
197
200 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const { return m_parameters; }
201 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
202 template <typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
203 void SetParameters(ParametersT&& value) {
204 m_parametersHasBeenSet = true;
205 m_parameters = std::forward<ParametersT>(value);
206 }
207 template <typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
208 TestRun& WithParameters(ParametersT&& value) {
209 SetParameters(std::forward<ParametersT>(value));
210 return *this;
211 }
212 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::Vector<Aws::String>>
213 TestRun& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
214 m_parametersHasBeenSet = true;
215 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
216 return *this;
217 }
219
221
225 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
226 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
227 template <typename ErrorMessageT = Aws::String>
228 void SetErrorMessage(ErrorMessageT&& value) {
229 m_errorMessageHasBeenSet = true;
230 m_errorMessage = std::forward<ErrorMessageT>(value);
231 }
232 template <typename ErrorMessageT = Aws::String>
233 TestRun& WithErrorMessage(ErrorMessageT&& value) {
234 SetErrorMessage(std::forward<ErrorMessageT>(value));
235 return *this;
236 }
238
240
243 inline const Aws::Vector<StopCondition>& GetStopConditions() const { return m_stopConditions; }
244 inline bool StopConditionsHasBeenSet() const { return m_stopConditionsHasBeenSet; }
245 template <typename StopConditionsT = Aws::Vector<StopCondition>>
246 void SetStopConditions(StopConditionsT&& value) {
247 m_stopConditionsHasBeenSet = true;
248 m_stopConditions = std::forward<StopConditionsT>(value);
249 }
250 template <typename StopConditionsT = Aws::Vector<StopCondition>>
251 TestRun& WithStopConditions(StopConditionsT&& value) {
252 SetStopConditions(std::forward<StopConditionsT>(value));
253 return *this;
254 }
255 template <typename StopConditionsT = StopCondition>
256 TestRun& AddStopConditions(StopConditionsT&& value) {
257 m_stopConditionsHasBeenSet = true;
258 m_stopConditions.emplace_back(std::forward<StopConditionsT>(value));
259 return *this;
260 }
262
264
268 inline const LoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
269 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
270 template <typename LoggingConfigurationT = LoggingConfiguration>
271 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
272 m_loggingConfigurationHasBeenSet = true;
273 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
274 }
275 template <typename LoggingConfigurationT = LoggingConfiguration>
276 TestRun& WithLoggingConfiguration(LoggingConfigurationT&& value) {
277 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
278 return *this;
279 }
281
283
287 inline const Aws::String& GetRoleName() const { return m_roleName; }
288 inline bool RoleNameHasBeenSet() const { return m_roleNameHasBeenSet; }
289 template <typename RoleNameT = Aws::String>
290 void SetRoleName(RoleNameT&& value) {
291 m_roleNameHasBeenSet = true;
292 m_roleName = std::forward<RoleNameT>(value);
293 }
294 template <typename RoleNameT = Aws::String>
295 TestRun& WithRoleName(RoleNameT&& value) {
296 SetRoleName(std::forward<RoleNameT>(value));
297 return *this;
298 }
300
302
306 inline const Aws::String& GetTestTemplateArn() const { return m_testTemplateArn; }
307 inline bool TestTemplateArnHasBeenSet() const { return m_testTemplateArnHasBeenSet; }
308 template <typename TestTemplateArnT = Aws::String>
309 void SetTestTemplateArn(TestTemplateArnT&& value) {
310 m_testTemplateArnHasBeenSet = true;
311 m_testTemplateArn = std::forward<TestTemplateArnT>(value);
312 }
313 template <typename TestTemplateArnT = Aws::String>
314 TestRun& WithTestTemplateArn(TestTemplateArnT&& value) {
315 SetTestTemplateArn(std::forward<TestTemplateArnT>(value));
316 return *this;
317 }
319
321
325 inline const TestRunReportConfiguration& GetReportConfiguration() const { return m_reportConfiguration; }
326 inline bool ReportConfigurationHasBeenSet() const { return m_reportConfigurationHasBeenSet; }
327 template <typename ReportConfigurationT = TestRunReportConfiguration>
328 void SetReportConfiguration(ReportConfigurationT&& value) {
329 m_reportConfigurationHasBeenSet = true;
330 m_reportConfiguration = std::forward<ReportConfigurationT>(value);
331 }
332 template <typename ReportConfigurationT = TestRunReportConfiguration>
333 TestRun& WithReportConfiguration(ReportConfigurationT&& value) {
334 SetReportConfiguration(std::forward<ReportConfigurationT>(value));
335 return *this;
336 }
338
340
344 inline const TestRunPolicySnapshot& GetPolicy() const { return m_policy; }
345 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
346 template <typename PolicyT = TestRunPolicySnapshot>
347 void SetPolicy(PolicyT&& value) {
348 m_policyHasBeenSet = true;
349 m_policy = std::forward<PolicyT>(value);
350 }
351 template <typename PolicyT = TestRunPolicySnapshot>
352 TestRun& WithPolicy(PolicyT&& value) {
353 SetPolicy(std::forward<PolicyT>(value));
354 return *this;
355 }
357
359
363 inline const ReportGenerationResult& GetReportOutput() const { return m_reportOutput; }
364 inline bool ReportOutputHasBeenSet() const { return m_reportOutputHasBeenSet; }
365 template <typename ReportOutputT = ReportGenerationResult>
366 void SetReportOutput(ReportOutputT&& value) {
367 m_reportOutputHasBeenSet = true;
368 m_reportOutput = std::forward<ReportOutputT>(value);
369 }
370 template <typename ReportOutputT = ReportGenerationResult>
371 TestRun& WithReportOutput(ReportOutputT&& value) {
372 SetReportOutput(std::forward<ReportOutputT>(value));
373 return *this;
374 }
376
378
381 inline const Aws::String& GetRegionSwitchPlanArn() const { return m_regionSwitchPlanArn; }
382 inline bool RegionSwitchPlanArnHasBeenSet() const { return m_regionSwitchPlanArnHasBeenSet; }
383 template <typename RegionSwitchPlanArnT = Aws::String>
384 void SetRegionSwitchPlanArn(RegionSwitchPlanArnT&& value) {
385 m_regionSwitchPlanArnHasBeenSet = true;
386 m_regionSwitchPlanArn = std::forward<RegionSwitchPlanArnT>(value);
387 }
388 template <typename RegionSwitchPlanArnT = Aws::String>
389 TestRun& WithRegionSwitchPlanArn(RegionSwitchPlanArnT&& value) {
390 SetRegionSwitchPlanArn(std::forward<RegionSwitchPlanArnT>(value));
391 return *this;
392 }
394
396
400 inline const Aws::String& GetRegionSwitchExecutionId() const { return m_regionSwitchExecutionId; }
401 inline bool RegionSwitchExecutionIdHasBeenSet() const { return m_regionSwitchExecutionIdHasBeenSet; }
402 template <typename RegionSwitchExecutionIdT = Aws::String>
403 void SetRegionSwitchExecutionId(RegionSwitchExecutionIdT&& value) {
404 m_regionSwitchExecutionIdHasBeenSet = true;
405 m_regionSwitchExecutionId = std::forward<RegionSwitchExecutionIdT>(value);
406 }
407 template <typename RegionSwitchExecutionIdT = Aws::String>
408 TestRun& WithRegionSwitchExecutionId(RegionSwitchExecutionIdT&& value) {
409 SetRegionSwitchExecutionId(std::forward<RegionSwitchExecutionIdT>(value));
410 return *this;
411 }
413
415
419 inline const PermissionModel& GetPermissionModel() const { return m_permissionModel; }
420 inline bool PermissionModelHasBeenSet() const { return m_permissionModelHasBeenSet; }
421 template <typename PermissionModelT = PermissionModel>
422 void SetPermissionModel(PermissionModelT&& value) {
423 m_permissionModelHasBeenSet = true;
424 m_permissionModel = std::forward<PermissionModelT>(value);
425 }
426 template <typename PermissionModelT = PermissionModel>
427 TestRun& WithPermissionModel(PermissionModelT&& value) {
428 SetPermissionModel(std::forward<PermissionModelT>(value));
429 return *this;
430 }
432
434
437 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
438 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
439 template <typename RegionsT = Aws::Vector<Aws::String>>
440 void SetRegions(RegionsT&& value) {
441 m_regionsHasBeenSet = true;
442 m_regions = std::forward<RegionsT>(value);
443 }
444 template <typename RegionsT = Aws::Vector<Aws::String>>
445 TestRun& WithRegions(RegionsT&& value) {
446 SetRegions(std::forward<RegionsT>(value));
447 return *this;
448 }
449 template <typename RegionsT = Aws::String>
450 TestRun& AddRegions(RegionsT&& value) {
451 m_regionsHasBeenSet = true;
452 m_regions.emplace_back(std::forward<RegionsT>(value));
453 return *this;
454 }
456
458
462 inline AccountTargeting GetAccountTargeting() const { return m_accountTargeting; }
463 inline bool AccountTargetingHasBeenSet() const { return m_accountTargetingHasBeenSet; }
465 m_accountTargetingHasBeenSet = true;
466 m_accountTargeting = value;
467 }
469 SetAccountTargeting(value);
470 return *this;
471 }
473
475
479 inline const DevOpsAgentInvestigation& GetDevOpsAgentInvestigation() const { return m_devOpsAgentInvestigation; }
480 inline bool DevOpsAgentInvestigationHasBeenSet() const { return m_devOpsAgentInvestigationHasBeenSet; }
481 template <typename DevOpsAgentInvestigationT = DevOpsAgentInvestigation>
482 void SetDevOpsAgentInvestigation(DevOpsAgentInvestigationT&& value) {
483 m_devOpsAgentInvestigationHasBeenSet = true;
484 m_devOpsAgentInvestigation = std::forward<DevOpsAgentInvestigationT>(value);
485 }
486 template <typename DevOpsAgentInvestigationT = DevOpsAgentInvestigation>
487 TestRun& WithDevOpsAgentInvestigation(DevOpsAgentInvestigationT&& value) {
488 SetDevOpsAgentInvestigation(std::forward<DevOpsAgentInvestigationT>(value));
489 return *this;
490 }
492 private:
493 Aws::String m_testRunId;
494
495 Aws::String m_testId;
496
498
499 Aws::String m_serviceArn;
500
501 Aws::Utils::DateTime m_startedAt{};
502
503 Aws::Utils::DateTime m_endedAt{};
504
505 Aws::Vector<ExperimentDetails> m_experiments;
506
507 int m_eventCount{0};
508
510
511 Aws::String m_errorMessage;
512
513 Aws::Vector<StopCondition> m_stopConditions;
514
515 LoggingConfiguration m_loggingConfiguration;
516
517 Aws::String m_roleName;
518
519 Aws::String m_testTemplateArn;
520
521 TestRunReportConfiguration m_reportConfiguration;
522
523 TestRunPolicySnapshot m_policy;
524
525 ReportGenerationResult m_reportOutput;
526
527 Aws::String m_regionSwitchPlanArn;
528
529 Aws::String m_regionSwitchExecutionId;
530
531 PermissionModel m_permissionModel;
532
533 Aws::Vector<Aws::String> m_regions;
534
536
537 DevOpsAgentInvestigation m_devOpsAgentInvestigation;
538 bool m_testRunIdHasBeenSet = false;
539 bool m_testIdHasBeenSet = false;
540 bool m_statusHasBeenSet = false;
541 bool m_serviceArnHasBeenSet = false;
542 bool m_startedAtHasBeenSet = false;
543 bool m_endedAtHasBeenSet = false;
544 bool m_experimentsHasBeenSet = false;
545 bool m_eventCountHasBeenSet = false;
546 bool m_parametersHasBeenSet = false;
547 bool m_errorMessageHasBeenSet = false;
548 bool m_stopConditionsHasBeenSet = false;
549 bool m_loggingConfigurationHasBeenSet = false;
550 bool m_roleNameHasBeenSet = false;
551 bool m_testTemplateArnHasBeenSet = false;
552 bool m_reportConfigurationHasBeenSet = false;
553 bool m_policyHasBeenSet = false;
554 bool m_reportOutputHasBeenSet = false;
555 bool m_regionSwitchPlanArnHasBeenSet = false;
556 bool m_regionSwitchExecutionIdHasBeenSet = false;
557 bool m_permissionModelHasBeenSet = false;
558 bool m_regionsHasBeenSet = false;
559 bool m_accountTargetingHasBeenSet = false;
560 bool m_devOpsAgentInvestigationHasBeenSet = false;
561};
562
563} // namespace Model
564} // namespace resiliencehubv2
565} // namespace Aws
const TestRunReportConfiguration & GetReportConfiguration() const
Definition TestRun.h:325
AccountTargeting GetAccountTargeting() const
Definition TestRun.h:462
void SetPolicy(PolicyT &&value)
Definition TestRun.h:347
TestRun & AddExperiments(ExperimentsT &&value)
Definition TestRun.h:172
TestRun & WithAccountTargeting(AccountTargeting value)
Definition TestRun.h:468
TestRun & AddRegions(RegionsT &&value)
Definition TestRun.h:450
void SetTestId(TestIdT &&value)
Definition TestRun.h:73
const PermissionModel & GetPermissionModel() const
Definition TestRun.h:419
const Aws::String & GetRegionSwitchExecutionId() const
Definition TestRun.h:400
const Aws::String & GetErrorMessage() const
Definition TestRun.h:225
void SetRegionSwitchExecutionId(RegionSwitchExecutionIdT &&value)
Definition TestRun.h:403
TestRun & WithRegionSwitchExecutionId(RegionSwitchExecutionIdT &&value)
Definition TestRun.h:408
void SetDevOpsAgentInvestigation(DevOpsAgentInvestigationT &&value)
Definition TestRun.h:482
void SetExperiments(ExperimentsT &&value)
Definition TestRun.h:162
TestRun & WithEndedAt(EndedAtT &&value)
Definition TestRun.h:148
TestRun & WithRegions(RegionsT &&value)
Definition TestRun.h:445
const Aws::Vector< StopCondition > & GetStopConditions() const
Definition TestRun.h:243
TestRun & WithParameters(ParametersT &&value)
Definition TestRun.h:208
bool DevOpsAgentInvestigationHasBeenSet() const
Definition TestRun.h:480
TestRun & WithErrorMessage(ErrorMessageT &&value)
Definition TestRun.h:233
AWS_RESILIENCEHUBV2_API TestRun & operator=(Aws::Utils::Json::JsonView jsonValue)
TestRunStatus GetStatus() const
Definition TestRun.h:88
void SetReportOutput(ReportOutputT &&value)
Definition TestRun.h:366
void SetLoggingConfiguration(LoggingConfigurationT &&value)
Definition TestRun.h:271
AWS_RESILIENCEHUBV2_API TestRun(Aws::Utils::Json::JsonView jsonValue)
void SetReportConfiguration(ReportConfigurationT &&value)
Definition TestRun.h:328
TestRun & WithRegionSwitchPlanArn(RegionSwitchPlanArnT &&value)
Definition TestRun.h:389
TestRun & WithServiceArn(ServiceArnT &&value)
Definition TestRun.h:112
const Aws::String & GetRegionSwitchPlanArn() const
Definition TestRun.h:381
TestRun & WithStopConditions(StopConditionsT &&value)
Definition TestRun.h:251
void SetTestRunId(TestRunIdT &&value)
Definition TestRun.h:55
TestRun & WithRoleName(RoleNameT &&value)
Definition TestRun.h:295
const Aws::String & GetServiceArn() const
Definition TestRun.h:104
bool LoggingConfigurationHasBeenSet() const
Definition TestRun.h:269
TestRun & WithStartedAt(StartedAtT &&value)
Definition TestRun.h:130
void SetErrorMessage(ErrorMessageT &&value)
Definition TestRun.h:228
void SetStartedAt(StartedAtT &&value)
Definition TestRun.h:125
void SetRegions(RegionsT &&value)
Definition TestRun.h:440
const TestRunPolicySnapshot & GetPolicy() const
Definition TestRun.h:344
void SetPermissionModel(PermissionModelT &&value)
Definition TestRun.h:422
TestRun & WithDevOpsAgentInvestigation(DevOpsAgentInvestigationT &&value)
Definition TestRun.h:487
TestRun & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
Definition TestRun.h:213
const LoggingConfiguration & GetLoggingConfiguration() const
Definition TestRun.h:268
void SetRoleName(RoleNameT &&value)
Definition TestRun.h:290
void SetTestTemplateArn(TestTemplateArnT &&value)
Definition TestRun.h:309
TestRun & WithReportConfiguration(ReportConfigurationT &&value)
Definition TestRun.h:333
const ReportGenerationResult & GetReportOutput() const
Definition TestRun.h:363
TestRun & WithStatus(TestRunStatus value)
Definition TestRun.h:94
const Aws::String & GetTestId() const
Definition TestRun.h:70
TestRun & WithTestRunId(TestRunIdT &&value)
Definition TestRun.h:60
TestRun & WithTestTemplateArn(TestTemplateArnT &&value)
Definition TestRun.h:314
TestRun & WithPolicy(PolicyT &&value)
Definition TestRun.h:352
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetEndedAt() const
Definition TestRun.h:140
const Aws::String & GetRoleName() const
Definition TestRun.h:287
const Aws::String & GetTestTemplateArn() const
Definition TestRun.h:306
bool RegionSwitchExecutionIdHasBeenSet() const
Definition TestRun.h:401
const Aws::Utils::DateTime & GetStartedAt() const
Definition TestRun.h:122
const Aws::Vector< ExperimentDetails > & GetExperiments() const
Definition TestRun.h:159
AWS_RESILIENCEHUBV2_API TestRun()=default
TestRun & WithLoggingConfiguration(LoggingConfigurationT &&value)
Definition TestRun.h:276
TestRun & WithPermissionModel(PermissionModelT &&value)
Definition TestRun.h:427
void SetStopConditions(StopConditionsT &&value)
Definition TestRun.h:246
void SetRegionSwitchPlanArn(RegionSwitchPlanArnT &&value)
Definition TestRun.h:384
TestRun & WithEventCount(int value)
Definition TestRun.h:190
TestRun & WithTestId(TestIdT &&value)
Definition TestRun.h:78
const DevOpsAgentInvestigation & GetDevOpsAgentInvestigation() const
Definition TestRun.h:479
const Aws::String & GetTestRunId() const
Definition TestRun.h:52
const Aws::Vector< Aws::String > & GetRegions() const
Definition TestRun.h:437
void SetServiceArn(ServiceArnT &&value)
Definition TestRun.h:107
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
Definition TestRun.h:200
TestRun & WithReportOutput(ReportOutputT &&value)
Definition TestRun.h:371
void SetEndedAt(EndedAtT &&value)
Definition TestRun.h:143
void SetStatus(TestRunStatus value)
Definition TestRun.h:90
TestRun & WithExperiments(ExperimentsT &&value)
Definition TestRun.h:167
void SetAccountTargeting(AccountTargeting value)
Definition TestRun.h:464
void SetParameters(ParametersT &&value)
Definition TestRun.h:203
TestRun & AddStopConditions(StopConditionsT &&value)
Definition TestRun.h:256
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