AWS SDK for C++

AWS SDK for C++ Version 1.11.854

Loading...
Searching...
No Matches
Canary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/synthetics/Synthetics_EXPORTS.h>
11#include <aws/synthetics/model/ArtifactConfigOutput.h>
12#include <aws/synthetics/model/BrowserConfig.h>
13#include <aws/synthetics/model/CanaryCodeOutput.h>
14#include <aws/synthetics/model/CanaryRunConfigOutput.h>
15#include <aws/synthetics/model/CanaryScheduleOutput.h>
16#include <aws/synthetics/model/CanaryStatus.h>
17#include <aws/synthetics/model/CanaryTimeline.h>
18#include <aws/synthetics/model/DryRunConfigOutput.h>
19#include <aws/synthetics/model/EngineConfig.h>
20#include <aws/synthetics/model/MultiLocationConfig.h>
21#include <aws/synthetics/model/ProvisionedResourceCleanupSetting.h>
22#include <aws/synthetics/model/VisualReferenceOutput.h>
23#include <aws/synthetics/model/VpcConfigOutput.h>
24
25#include <utility>
26
27namespace Aws {
28namespace Utils {
29namespace Json {
30class JsonValue;
31class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace Synthetics {
35namespace Model {
36
43class Canary {
44 public:
45 AWS_SYNTHETICS_API Canary() = default;
46 AWS_SYNTHETICS_API Canary(Aws::Utils::Json::JsonView jsonValue);
47 AWS_SYNTHETICS_API Canary& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
49
51
54 inline const Aws::String& GetId() const { return m_id; }
55 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 template <typename IdT = Aws::String>
57 void SetId(IdT&& value) {
58 m_idHasBeenSet = true;
59 m_id = std::forward<IdT>(value);
60 }
61 template <typename IdT = Aws::String>
62 Canary& WithId(IdT&& value) {
63 SetId(std::forward<IdT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 template <typename NameT = Aws::String>
75 void SetName(NameT&& value) {
76 m_nameHasBeenSet = true;
77 m_name = std::forward<NameT>(value);
78 }
79 template <typename NameT = Aws::String>
80 Canary& WithName(NameT&& value) {
81 SetName(std::forward<NameT>(value));
82 return *this;
83 }
85
87
88 inline const CanaryCodeOutput& GetCode() const { return m_code; }
89 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
90 template <typename CodeT = CanaryCodeOutput>
91 void SetCode(CodeT&& value) {
92 m_codeHasBeenSet = true;
93 m_code = std::forward<CodeT>(value);
94 }
95 template <typename CodeT = CanaryCodeOutput>
96 Canary& WithCode(CodeT&& value) {
97 SetCode(std::forward<CodeT>(value));
98 return *this;
99 }
101
103
107 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
108 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
109 template <typename ExecutionRoleArnT = Aws::String>
110 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
111 m_executionRoleArnHasBeenSet = true;
112 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
113 }
114 template <typename ExecutionRoleArnT = Aws::String>
115 Canary& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
116 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
117 return *this;
118 }
120
122
126 inline const CanaryScheduleOutput& GetSchedule() const { return m_schedule; }
127 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
128 template <typename ScheduleT = CanaryScheduleOutput>
129 void SetSchedule(ScheduleT&& value) {
130 m_scheduleHasBeenSet = true;
131 m_schedule = std::forward<ScheduleT>(value);
132 }
133 template <typename ScheduleT = CanaryScheduleOutput>
134 Canary& WithSchedule(ScheduleT&& value) {
135 SetSchedule(std::forward<ScheduleT>(value));
136 return *this;
137 }
139
141
142 inline const CanaryRunConfigOutput& GetRunConfig() const { return m_runConfig; }
143 inline bool RunConfigHasBeenSet() const { return m_runConfigHasBeenSet; }
144 template <typename RunConfigT = CanaryRunConfigOutput>
145 void SetRunConfig(RunConfigT&& value) {
146 m_runConfigHasBeenSet = true;
147 m_runConfig = std::forward<RunConfigT>(value);
148 }
149 template <typename RunConfigT = CanaryRunConfigOutput>
150 Canary& WithRunConfig(RunConfigT&& value) {
151 SetRunConfig(std::forward<RunConfigT>(value));
152 return *this;
153 }
155
157
163 inline int GetSuccessRetentionPeriodInDays() const { return m_successRetentionPeriodInDays; }
164 inline bool SuccessRetentionPeriodInDaysHasBeenSet() const { return m_successRetentionPeriodInDaysHasBeenSet; }
165 inline void SetSuccessRetentionPeriodInDays(int value) {
166 m_successRetentionPeriodInDaysHasBeenSet = true;
167 m_successRetentionPeriodInDays = value;
168 }
171 return *this;
172 }
174
176
182 inline int GetFailureRetentionPeriodInDays() const { return m_failureRetentionPeriodInDays; }
183 inline bool FailureRetentionPeriodInDaysHasBeenSet() const { return m_failureRetentionPeriodInDaysHasBeenSet; }
184 inline void SetFailureRetentionPeriodInDays(int value) {
185 m_failureRetentionPeriodInDaysHasBeenSet = true;
186 m_failureRetentionPeriodInDays = value;
187 }
190 return *this;
191 }
193
195
198 inline const CanaryStatus& GetStatus() const { return m_status; }
199 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
200 template <typename StatusT = CanaryStatus>
201 void SetStatus(StatusT&& value) {
202 m_statusHasBeenSet = true;
203 m_status = std::forward<StatusT>(value);
204 }
205 template <typename StatusT = CanaryStatus>
206 Canary& WithStatus(StatusT&& value) {
207 SetStatus(std::forward<StatusT>(value));
208 return *this;
209 }
211
213
217 inline const CanaryTimeline& GetTimeline() const { return m_timeline; }
218 inline bool TimelineHasBeenSet() const { return m_timelineHasBeenSet; }
219 template <typename TimelineT = CanaryTimeline>
220 void SetTimeline(TimelineT&& value) {
221 m_timelineHasBeenSet = true;
222 m_timeline = std::forward<TimelineT>(value);
223 }
224 template <typename TimelineT = CanaryTimeline>
225 Canary& WithTimeline(TimelineT&& value) {
226 SetTimeline(std::forward<TimelineT>(value));
227 return *this;
228 }
230
232
236 inline const Aws::String& GetArtifactS3Location() const { return m_artifactS3Location; }
237 inline bool ArtifactS3LocationHasBeenSet() const { return m_artifactS3LocationHasBeenSet; }
238 template <typename ArtifactS3LocationT = Aws::String>
239 void SetArtifactS3Location(ArtifactS3LocationT&& value) {
240 m_artifactS3LocationHasBeenSet = true;
241 m_artifactS3Location = std::forward<ArtifactS3LocationT>(value);
242 }
243 template <typename ArtifactS3LocationT = Aws::String>
244 Canary& WithArtifactS3Location(ArtifactS3LocationT&& value) {
245 SetArtifactS3Location(std::forward<ArtifactS3LocationT>(value));
246 return *this;
247 }
249
251
257 inline const Aws::String& GetEngineArn() const { return m_engineArn; }
258 inline bool EngineArnHasBeenSet() const { return m_engineArnHasBeenSet; }
259 template <typename EngineArnT = Aws::String>
260 void SetEngineArn(EngineArnT&& value) {
261 m_engineArnHasBeenSet = true;
262 m_engineArn = std::forward<EngineArnT>(value);
263 }
264 template <typename EngineArnT = Aws::String>
265 Canary& WithEngineArn(EngineArnT&& value) {
266 SetEngineArn(std::forward<EngineArnT>(value));
267 return *this;
268 }
270
272
278 inline const Aws::String& GetRuntimeVersion() const { return m_runtimeVersion; }
279 inline bool RuntimeVersionHasBeenSet() const { return m_runtimeVersionHasBeenSet; }
280 template <typename RuntimeVersionT = Aws::String>
281 void SetRuntimeVersion(RuntimeVersionT&& value) {
282 m_runtimeVersionHasBeenSet = true;
283 m_runtimeVersion = std::forward<RuntimeVersionT>(value);
284 }
285 template <typename RuntimeVersionT = Aws::String>
286 Canary& WithRuntimeVersion(RuntimeVersionT&& value) {
287 SetRuntimeVersion(std::forward<RuntimeVersionT>(value));
288 return *this;
289 }
291
293
294 inline const VpcConfigOutput& GetVpcConfig() const { return m_vpcConfig; }
295 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
296 template <typename VpcConfigT = VpcConfigOutput>
297 void SetVpcConfig(VpcConfigT&& value) {
298 m_vpcConfigHasBeenSet = true;
299 m_vpcConfig = std::forward<VpcConfigT>(value);
300 }
301 template <typename VpcConfigT = VpcConfigOutput>
302 Canary& WithVpcConfig(VpcConfigT&& value) {
303 SetVpcConfig(std::forward<VpcConfigT>(value));
304 return *this;
305 }
307
309
315 inline const VisualReferenceOutput& GetVisualReference() const { return m_visualReference; }
316 inline bool VisualReferenceHasBeenSet() const { return m_visualReferenceHasBeenSet; }
317 template <typename VisualReferenceT = VisualReferenceOutput>
318 void SetVisualReference(VisualReferenceT&& value) {
319 m_visualReferenceHasBeenSet = true;
320 m_visualReference = std::forward<VisualReferenceT>(value);
321 }
322 template <typename VisualReferenceT = VisualReferenceOutput>
323 Canary& WithVisualReference(VisualReferenceT&& value) {
324 SetVisualReference(std::forward<VisualReferenceT>(value));
325 return *this;
326 }
328
330
340 inline ProvisionedResourceCleanupSetting GetProvisionedResourceCleanup() const { return m_provisionedResourceCleanup; }
341 inline bool ProvisionedResourceCleanupHasBeenSet() const { return m_provisionedResourceCleanupHasBeenSet; }
343 m_provisionedResourceCleanupHasBeenSet = true;
344 m_provisionedResourceCleanup = value;
345 }
348 return *this;
349 }
351
353
359 inline const Aws::Vector<BrowserConfig>& GetBrowserConfigs() const { return m_browserConfigs; }
360 inline bool BrowserConfigsHasBeenSet() const { return m_browserConfigsHasBeenSet; }
361 template <typename BrowserConfigsT = Aws::Vector<BrowserConfig>>
362 void SetBrowserConfigs(BrowserConfigsT&& value) {
363 m_browserConfigsHasBeenSet = true;
364 m_browserConfigs = std::forward<BrowserConfigsT>(value);
365 }
366 template <typename BrowserConfigsT = Aws::Vector<BrowserConfig>>
367 Canary& WithBrowserConfigs(BrowserConfigsT&& value) {
368 SetBrowserConfigs(std::forward<BrowserConfigsT>(value));
369 return *this;
370 }
371 template <typename BrowserConfigsT = BrowserConfig>
372 Canary& AddBrowserConfigs(BrowserConfigsT&& value) {
373 m_browserConfigsHasBeenSet = true;
374 m_browserConfigs.emplace_back(std::forward<BrowserConfigsT>(value));
375 return *this;
376 }
378
380
390 inline const Aws::Vector<EngineConfig>& GetEngineConfigs() const { return m_engineConfigs; }
391 inline bool EngineConfigsHasBeenSet() const { return m_engineConfigsHasBeenSet; }
392 template <typename EngineConfigsT = Aws::Vector<EngineConfig>>
393 void SetEngineConfigs(EngineConfigsT&& value) {
394 m_engineConfigsHasBeenSet = true;
395 m_engineConfigs = std::forward<EngineConfigsT>(value);
396 }
397 template <typename EngineConfigsT = Aws::Vector<EngineConfig>>
398 Canary& WithEngineConfigs(EngineConfigsT&& value) {
399 SetEngineConfigs(std::forward<EngineConfigsT>(value));
400 return *this;
401 }
402 template <typename EngineConfigsT = EngineConfig>
403 Canary& AddEngineConfigs(EngineConfigsT&& value) {
404 m_engineConfigsHasBeenSet = true;
405 m_engineConfigs.emplace_back(std::forward<EngineConfigsT>(value));
406 return *this;
407 }
409
411
423 inline const Aws::Vector<VisualReferenceOutput>& GetVisualReferences() const { return m_visualReferences; }
424 inline bool VisualReferencesHasBeenSet() const { return m_visualReferencesHasBeenSet; }
425 template <typename VisualReferencesT = Aws::Vector<VisualReferenceOutput>>
426 void SetVisualReferences(VisualReferencesT&& value) {
427 m_visualReferencesHasBeenSet = true;
428 m_visualReferences = std::forward<VisualReferencesT>(value);
429 }
430 template <typename VisualReferencesT = Aws::Vector<VisualReferenceOutput>>
431 Canary& WithVisualReferences(VisualReferencesT&& value) {
432 SetVisualReferences(std::forward<VisualReferencesT>(value));
433 return *this;
434 }
435 template <typename VisualReferencesT = VisualReferenceOutput>
436 Canary& AddVisualReferences(VisualReferencesT&& value) {
437 m_visualReferencesHasBeenSet = true;
438 m_visualReferences.emplace_back(std::forward<VisualReferencesT>(value));
439 return *this;
440 }
442
444
449 inline const MultiLocationConfig& GetMultiLocationConfig() const { return m_multiLocationConfig; }
450 inline bool MultiLocationConfigHasBeenSet() const { return m_multiLocationConfigHasBeenSet; }
451 template <typename MultiLocationConfigT = MultiLocationConfig>
452 void SetMultiLocationConfig(MultiLocationConfigT&& value) {
453 m_multiLocationConfigHasBeenSet = true;
454 m_multiLocationConfig = std::forward<MultiLocationConfigT>(value);
455 }
456 template <typename MultiLocationConfigT = MultiLocationConfig>
457 Canary& WithMultiLocationConfig(MultiLocationConfigT&& value) {
458 SetMultiLocationConfig(std::forward<MultiLocationConfigT>(value));
459 return *this;
460 }
462
464
467 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
468 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
469 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
470 void SetTags(TagsT&& value) {
471 m_tagsHasBeenSet = true;
472 m_tags = std::forward<TagsT>(value);
473 }
474 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
475 Canary& WithTags(TagsT&& value) {
476 SetTags(std::forward<TagsT>(value));
477 return *this;
478 }
479 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
480 Canary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
481 m_tagsHasBeenSet = true;
482 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
483 return *this;
484 }
486
488
493 inline const ArtifactConfigOutput& GetArtifactConfig() const { return m_artifactConfig; }
494 inline bool ArtifactConfigHasBeenSet() const { return m_artifactConfigHasBeenSet; }
495 template <typename ArtifactConfigT = ArtifactConfigOutput>
496 void SetArtifactConfig(ArtifactConfigT&& value) {
497 m_artifactConfigHasBeenSet = true;
498 m_artifactConfig = std::forward<ArtifactConfigT>(value);
499 }
500 template <typename ArtifactConfigT = ArtifactConfigOutput>
501 Canary& WithArtifactConfig(ArtifactConfigT&& value) {
502 SetArtifactConfig(std::forward<ArtifactConfigT>(value));
503 return *this;
504 }
506
508
514 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
515 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
516 template <typename KmsKeyArnT = Aws::String>
517 void SetKmsKeyArn(KmsKeyArnT&& value) {
518 m_kmsKeyArnHasBeenSet = true;
519 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
520 }
521 template <typename KmsKeyArnT = Aws::String>
522 Canary& WithKmsKeyArn(KmsKeyArnT&& value) {
523 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
524 return *this;
525 }
527
529
532 inline const DryRunConfigOutput& GetDryRunConfig() const { return m_dryRunConfig; }
533 inline bool DryRunConfigHasBeenSet() const { return m_dryRunConfigHasBeenSet; }
534 template <typename DryRunConfigT = DryRunConfigOutput>
535 void SetDryRunConfig(DryRunConfigT&& value) {
536 m_dryRunConfigHasBeenSet = true;
537 m_dryRunConfig = std::forward<DryRunConfigT>(value);
538 }
539 template <typename DryRunConfigT = DryRunConfigOutput>
540 Canary& WithDryRunConfig(DryRunConfigT&& value) {
541 SetDryRunConfig(std::forward<DryRunConfigT>(value));
542 return *this;
543 }
545 private:
546 Aws::String m_id;
547
548 Aws::String m_name;
549
550 CanaryCodeOutput m_code;
551
552 Aws::String m_executionRoleArn;
553
554 CanaryScheduleOutput m_schedule;
555
556 CanaryRunConfigOutput m_runConfig;
557
558 int m_successRetentionPeriodInDays{0};
559
560 int m_failureRetentionPeriodInDays{0};
561
562 CanaryStatus m_status;
563
564 CanaryTimeline m_timeline;
565
566 Aws::String m_artifactS3Location;
567
568 Aws::String m_engineArn;
569
570 Aws::String m_runtimeVersion;
571
572 VpcConfigOutput m_vpcConfig;
573
574 VisualReferenceOutput m_visualReference;
575
577
578 Aws::Vector<BrowserConfig> m_browserConfigs;
579
580 Aws::Vector<EngineConfig> m_engineConfigs;
581
582 Aws::Vector<VisualReferenceOutput> m_visualReferences;
583
584 MultiLocationConfig m_multiLocationConfig;
585
587
588 ArtifactConfigOutput m_artifactConfig;
589
590 Aws::String m_kmsKeyArn;
591
592 DryRunConfigOutput m_dryRunConfig;
593 bool m_idHasBeenSet = false;
594 bool m_nameHasBeenSet = false;
595 bool m_codeHasBeenSet = false;
596 bool m_executionRoleArnHasBeenSet = false;
597 bool m_scheduleHasBeenSet = false;
598 bool m_runConfigHasBeenSet = false;
599 bool m_successRetentionPeriodInDaysHasBeenSet = false;
600 bool m_failureRetentionPeriodInDaysHasBeenSet = false;
601 bool m_statusHasBeenSet = false;
602 bool m_timelineHasBeenSet = false;
603 bool m_artifactS3LocationHasBeenSet = false;
604 bool m_engineArnHasBeenSet = false;
605 bool m_runtimeVersionHasBeenSet = false;
606 bool m_vpcConfigHasBeenSet = false;
607 bool m_visualReferenceHasBeenSet = false;
608 bool m_provisionedResourceCleanupHasBeenSet = false;
609 bool m_browserConfigsHasBeenSet = false;
610 bool m_engineConfigsHasBeenSet = false;
611 bool m_visualReferencesHasBeenSet = false;
612 bool m_multiLocationConfigHasBeenSet = false;
613 bool m_tagsHasBeenSet = false;
614 bool m_artifactConfigHasBeenSet = false;
615 bool m_kmsKeyArnHasBeenSet = false;
616 bool m_dryRunConfigHasBeenSet = false;
617};
618
619} // namespace Model
620} // namespace Synthetics
621} // namespace Aws
const VpcConfigOutput & GetVpcConfig() const
Definition Canary.h:294
void SetTimeline(TimelineT &&value)
Definition Canary.h:220
const CanaryTimeline & GetTimeline() const
Definition Canary.h:217
AWS_SYNTHETICS_API Canary()=default
Canary & WithEngineArn(EngineArnT &&value)
Definition Canary.h:265
bool RuntimeVersionHasBeenSet() const
Definition Canary.h:279
void SetDryRunConfig(DryRunConfigT &&value)
Definition Canary.h:535
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
Definition Canary.h:110
const Aws::String & GetName() const
Definition Canary.h:72
void SetCode(CodeT &&value)
Definition Canary.h:91
bool NameHasBeenSet() const
Definition Canary.h:73
bool ArtifactConfigHasBeenSet() const
Definition Canary.h:494
Canary & WithBrowserConfigs(BrowserConfigsT &&value)
Definition Canary.h:367
const Aws::Vector< EngineConfig > & GetEngineConfigs() const
Definition Canary.h:390
bool BrowserConfigsHasBeenSet() const
Definition Canary.h:360
const MultiLocationConfig & GetMultiLocationConfig() const
Definition Canary.h:449
void SetKmsKeyArn(KmsKeyArnT &&value)
Definition Canary.h:517
bool ExecutionRoleArnHasBeenSet() const
Definition Canary.h:108
void SetVpcConfig(VpcConfigT &&value)
Definition Canary.h:297
const Aws::Vector< VisualReferenceOutput > & GetVisualReferences() const
Definition Canary.h:423
bool VpcConfigHasBeenSet() const
Definition Canary.h:295
void SetRuntimeVersion(RuntimeVersionT &&value)
Definition Canary.h:281
bool ScheduleHasBeenSet() const
Definition Canary.h:127
Canary & WithProvisionedResourceCleanup(ProvisionedResourceCleanupSetting value)
Definition Canary.h:346
int GetSuccessRetentionPeriodInDays() const
Definition Canary.h:163
const Aws::String & GetRuntimeVersion() const
Definition Canary.h:278
Canary & WithVisualReferences(VisualReferencesT &&value)
Definition Canary.h:431
Canary & WithName(NameT &&value)
Definition Canary.h:80
const Aws::String & GetId() const
Definition Canary.h:54
void SetMultiLocationConfig(MultiLocationConfigT &&value)
Definition Canary.h:452
void SetArtifactConfig(ArtifactConfigT &&value)
Definition Canary.h:496
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(StatusT &&value)
Definition Canary.h:201
const CanaryStatus & GetStatus() const
Definition Canary.h:198
const CanaryCodeOutput & GetCode() const
Definition Canary.h:88
const Aws::String & GetEngineArn() const
Definition Canary.h:257
bool VisualReferencesHasBeenSet() const
Definition Canary.h:424
bool StatusHasBeenSet() const
Definition Canary.h:199
Canary & WithTimeline(TimelineT &&value)
Definition Canary.h:225
void SetEngineArn(EngineArnT &&value)
Definition Canary.h:260
Canary & WithRunConfig(RunConfigT &&value)
Definition Canary.h:150
const DryRunConfigOutput & GetDryRunConfig() const
Definition Canary.h:532
void SetEngineConfigs(EngineConfigsT &&value)
Definition Canary.h:393
const VisualReferenceOutput & GetVisualReference() const
Definition Canary.h:315
bool FailureRetentionPeriodInDaysHasBeenSet() const
Definition Canary.h:183
Canary & AddBrowserConfigs(BrowserConfigsT &&value)
Definition Canary.h:372
void SetVisualReference(VisualReferenceT &&value)
Definition Canary.h:318
Canary & AddEngineConfigs(EngineConfigsT &&value)
Definition Canary.h:403
Canary & WithId(IdT &&value)
Definition Canary.h:62
Canary & WithEngineConfigs(EngineConfigsT &&value)
Definition Canary.h:398
void SetVisualReferences(VisualReferencesT &&value)
Definition Canary.h:426
Canary & WithKmsKeyArn(KmsKeyArnT &&value)
Definition Canary.h:522
void SetId(IdT &&value)
Definition Canary.h:57
bool SuccessRetentionPeriodInDaysHasBeenSet() const
Definition Canary.h:164
const ArtifactConfigOutput & GetArtifactConfig() const
Definition Canary.h:493
ProvisionedResourceCleanupSetting GetProvisionedResourceCleanup() const
Definition Canary.h:340
bool KmsKeyArnHasBeenSet() const
Definition Canary.h:515
Canary & WithStatus(StatusT &&value)
Definition Canary.h:206
const Aws::String & GetArtifactS3Location() const
Definition Canary.h:236
void SetRunConfig(RunConfigT &&value)
Definition Canary.h:145
Canary & WithFailureRetentionPeriodInDays(int value)
Definition Canary.h:188
Canary & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Canary.h:480
Canary & WithMultiLocationConfig(MultiLocationConfigT &&value)
Definition Canary.h:457
Canary & WithRuntimeVersion(RuntimeVersionT &&value)
Definition Canary.h:286
bool MultiLocationConfigHasBeenSet() const
Definition Canary.h:450
void SetFailureRetentionPeriodInDays(int value)
Definition Canary.h:184
int GetFailureRetentionPeriodInDays() const
Definition Canary.h:182
bool ProvisionedResourceCleanupHasBeenSet() const
Definition Canary.h:341
void SetArtifactS3Location(ArtifactS3LocationT &&value)
Definition Canary.h:239
Canary & WithDryRunConfig(DryRunConfigT &&value)
Definition Canary.h:540
const CanaryRunConfigOutput & GetRunConfig() const
Definition Canary.h:142
bool EngineConfigsHasBeenSet() const
Definition Canary.h:391
Canary & WithTags(TagsT &&value)
Definition Canary.h:475
void SetBrowserConfigs(BrowserConfigsT &&value)
Definition Canary.h:362
Canary & WithSchedule(ScheduleT &&value)
Definition Canary.h:134
const CanaryScheduleOutput & GetSchedule() const
Definition Canary.h:126
AWS_SYNTHETICS_API Canary(Aws::Utils::Json::JsonView jsonValue)
bool RunConfigHasBeenSet() const
Definition Canary.h:143
const Aws::String & GetExecutionRoleArn() const
Definition Canary.h:107
bool DryRunConfigHasBeenSet() const
Definition Canary.h:533
void SetName(NameT &&value)
Definition Canary.h:75
Canary & WithArtifactConfig(ArtifactConfigT &&value)
Definition Canary.h:501
const Aws::String & GetKmsKeyArn() const
Definition Canary.h:514
Canary & WithExecutionRoleArn(ExecutionRoleArnT &&value)
Definition Canary.h:115
Canary & WithVisualReference(VisualReferenceT &&value)
Definition Canary.h:323
Canary & WithArtifactS3Location(ArtifactS3LocationT &&value)
Definition Canary.h:244
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Canary.h:467
void SetSuccessRetentionPeriodInDays(int value)
Definition Canary.h:165
void SetTags(TagsT &&value)
Definition Canary.h:470
Canary & WithSuccessRetentionPeriodInDays(int value)
Definition Canary.h:169
bool CodeHasBeenSet() const
Definition Canary.h:89
bool VisualReferenceHasBeenSet() const
Definition Canary.h:316
const Aws::Vector< BrowserConfig > & GetBrowserConfigs() const
Definition Canary.h:359
void SetSchedule(ScheduleT &&value)
Definition Canary.h:129
bool ArtifactS3LocationHasBeenSet() const
Definition Canary.h:237
Canary & AddVisualReferences(VisualReferencesT &&value)
Definition Canary.h:436
Canary & WithVpcConfig(VpcConfigT &&value)
Definition Canary.h:302
Canary & WithCode(CodeT &&value)
Definition Canary.h:96
bool TimelineHasBeenSet() const
Definition Canary.h:218
bool EngineArnHasBeenSet() const
Definition Canary.h:258
void SetProvisionedResourceCleanup(ProvisionedResourceCleanupSetting value)
Definition Canary.h:342
AWS_SYNTHETICS_API Canary & operator=(Aws::Utils::Json::JsonView jsonValue)
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