AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
Image.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/imagebuilder/Imagebuilder_EXPORTS.h>
12#include <aws/imagebuilder/model/BuildType.h>
13#include <aws/imagebuilder/model/ContainerRecipe.h>
14#include <aws/imagebuilder/model/DistributionConfiguration.h>
15#include <aws/imagebuilder/model/ImageLoggingConfiguration.h>
16#include <aws/imagebuilder/model/ImageRecipe.h>
17#include <aws/imagebuilder/model/ImageScanState.h>
18#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
19#include <aws/imagebuilder/model/ImageSource.h>
20#include <aws/imagebuilder/model/ImageState.h>
21#include <aws/imagebuilder/model/ImageTestsConfiguration.h>
22#include <aws/imagebuilder/model/ImageType.h>
23#include <aws/imagebuilder/model/InfrastructureConfiguration.h>
24#include <aws/imagebuilder/model/OutputResources.h>
25#include <aws/imagebuilder/model/Platform.h>
26#include <aws/imagebuilder/model/WorkflowConfiguration.h>
27
28#include <utility>
29
30namespace Aws {
31namespace Utils {
32namespace Json {
33class JsonValue;
34class JsonView;
35} // namespace Json
36} // namespace Utils
37namespace imagebuilder {
38namespace Model {
39
50class Image {
51 public:
52 AWS_IMAGEBUILDER_API Image() = default;
53 AWS_IMAGEBUILDER_API Image(Aws::Utils::Json::JsonView jsonValue);
54 AWS_IMAGEBUILDER_API Image& operator=(Aws::Utils::Json::JsonView jsonValue);
55 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
56
58
69 inline const Aws::String& GetArn() const { return m_arn; }
70 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
71 template <typename ArnT = Aws::String>
72 void SetArn(ArnT&& value) {
73 m_arnHasBeenSet = true;
74 m_arn = std::forward<ArnT>(value);
75 }
76 template <typename ArnT = Aws::String>
77 Image& WithArn(ArnT&& value) {
78 SetArn(std::forward<ArnT>(value));
79 return *this;
80 }
82
84
87 inline ImageType GetType() const { return m_type; }
88 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
89 inline void SetType(ImageType value) {
90 m_typeHasBeenSet = true;
91 m_type = value;
92 }
93 inline Image& WithType(ImageType value) {
94 SetType(value);
95 return *this;
96 }
98
100
103 inline const Aws::String& GetName() const { return m_name; }
104 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
105 template <typename NameT = Aws::String>
106 void SetName(NameT&& value) {
107 m_nameHasBeenSet = true;
108 m_name = std::forward<NameT>(value);
109 }
110 template <typename NameT = Aws::String>
111 Image& WithName(NameT&& value) {
112 SetName(std::forward<NameT>(value));
113 return *this;
114 }
116
118
133 inline const Aws::String& GetVersion() const { return m_version; }
134 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
135 template <typename VersionT = Aws::String>
136 void SetVersion(VersionT&& value) {
137 m_versionHasBeenSet = true;
138 m_version = std::forward<VersionT>(value);
139 }
140 template <typename VersionT = Aws::String>
141 Image& WithVersion(VersionT&& value) {
142 SetVersion(std::forward<VersionT>(value));
143 return *this;
144 }
146
148
151 inline Platform GetPlatform() const { return m_platform; }
152 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
153 inline void SetPlatform(Platform value) {
154 m_platformHasBeenSet = true;
155 m_platform = value;
156 }
157 inline Image& WithPlatform(Platform value) {
158 SetPlatform(value);
159 return *this;
160 }
162
164
168 inline bool GetEnhancedImageMetadataEnabled() const { return m_enhancedImageMetadataEnabled; }
169 inline bool EnhancedImageMetadataEnabledHasBeenSet() const { return m_enhancedImageMetadataEnabledHasBeenSet; }
170 inline void SetEnhancedImageMetadataEnabled(bool value) {
171 m_enhancedImageMetadataEnabledHasBeenSet = true;
172 m_enhancedImageMetadataEnabled = value;
173 }
176 return *this;
177 }
179
181
185 inline const Aws::String& GetOsVersion() const { return m_osVersion; }
186 inline bool OsVersionHasBeenSet() const { return m_osVersionHasBeenSet; }
187 template <typename OsVersionT = Aws::String>
188 void SetOsVersion(OsVersionT&& value) {
189 m_osVersionHasBeenSet = true;
190 m_osVersion = std::forward<OsVersionT>(value);
191 }
192 template <typename OsVersionT = Aws::String>
193 Image& WithOsVersion(OsVersionT&& value) {
194 SetOsVersion(std::forward<OsVersionT>(value));
195 return *this;
196 }
198
200
203 inline const ImageState& GetState() const { return m_state; }
204 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
205 template <typename StateT = ImageState>
206 void SetState(StateT&& value) {
207 m_stateHasBeenSet = true;
208 m_state = std::forward<StateT>(value);
209 }
210 template <typename StateT = ImageState>
211 Image& WithState(StateT&& value) {
212 SetState(std::forward<StateT>(value));
213 return *this;
214 }
216
218
222 inline const ImageRecipe& GetImageRecipe() const { return m_imageRecipe; }
223 inline bool ImageRecipeHasBeenSet() const { return m_imageRecipeHasBeenSet; }
224 template <typename ImageRecipeT = ImageRecipe>
225 void SetImageRecipe(ImageRecipeT&& value) {
226 m_imageRecipeHasBeenSet = true;
227 m_imageRecipe = std::forward<ImageRecipeT>(value);
228 }
229 template <typename ImageRecipeT = ImageRecipe>
230 Image& WithImageRecipe(ImageRecipeT&& value) {
231 SetImageRecipe(std::forward<ImageRecipeT>(value));
232 return *this;
233 }
235
237
241 inline const ContainerRecipe& GetContainerRecipe() const { return m_containerRecipe; }
242 inline bool ContainerRecipeHasBeenSet() const { return m_containerRecipeHasBeenSet; }
243 template <typename ContainerRecipeT = ContainerRecipe>
244 void SetContainerRecipe(ContainerRecipeT&& value) {
245 m_containerRecipeHasBeenSet = true;
246 m_containerRecipe = std::forward<ContainerRecipeT>(value);
247 }
248 template <typename ContainerRecipeT = ContainerRecipe>
249 Image& WithContainerRecipe(ContainerRecipeT&& value) {
250 SetContainerRecipe(std::forward<ContainerRecipeT>(value));
251 return *this;
252 }
254
256
261 inline const Aws::String& GetSourcePipelineName() const { return m_sourcePipelineName; }
262 inline bool SourcePipelineNameHasBeenSet() const { return m_sourcePipelineNameHasBeenSet; }
263 template <typename SourcePipelineNameT = Aws::String>
264 void SetSourcePipelineName(SourcePipelineNameT&& value) {
265 m_sourcePipelineNameHasBeenSet = true;
266 m_sourcePipelineName = std::forward<SourcePipelineNameT>(value);
267 }
268 template <typename SourcePipelineNameT = Aws::String>
269 Image& WithSourcePipelineName(SourcePipelineNameT&& value) {
270 SetSourcePipelineName(std::forward<SourcePipelineNameT>(value));
271 return *this;
272 }
274
276
280 inline const Aws::String& GetSourcePipelineArn() const { return m_sourcePipelineArn; }
281 inline bool SourcePipelineArnHasBeenSet() const { return m_sourcePipelineArnHasBeenSet; }
282 template <typename SourcePipelineArnT = Aws::String>
283 void SetSourcePipelineArn(SourcePipelineArnT&& value) {
284 m_sourcePipelineArnHasBeenSet = true;
285 m_sourcePipelineArn = std::forward<SourcePipelineArnT>(value);
286 }
287 template <typename SourcePipelineArnT = Aws::String>
288 Image& WithSourcePipelineArn(SourcePipelineArnT&& value) {
289 SetSourcePipelineArn(std::forward<SourcePipelineArnT>(value));
290 return *this;
291 }
293
295
298 inline const InfrastructureConfiguration& GetInfrastructureConfiguration() const { return m_infrastructureConfiguration; }
299 inline bool InfrastructureConfigurationHasBeenSet() const { return m_infrastructureConfigurationHasBeenSet; }
300 template <typename InfrastructureConfigurationT = InfrastructureConfiguration>
301 void SetInfrastructureConfiguration(InfrastructureConfigurationT&& value) {
302 m_infrastructureConfigurationHasBeenSet = true;
303 m_infrastructureConfiguration = std::forward<InfrastructureConfigurationT>(value);
304 }
305 template <typename InfrastructureConfigurationT = InfrastructureConfiguration>
306 Image& WithInfrastructureConfiguration(InfrastructureConfigurationT&& value) {
307 SetInfrastructureConfiguration(std::forward<InfrastructureConfigurationT>(value));
308 return *this;
309 }
311
313
317 inline const DistributionConfiguration& GetDistributionConfiguration() const { return m_distributionConfiguration; }
318 inline bool DistributionConfigurationHasBeenSet() const { return m_distributionConfigurationHasBeenSet; }
319 template <typename DistributionConfigurationT = DistributionConfiguration>
320 void SetDistributionConfiguration(DistributionConfigurationT&& value) {
321 m_distributionConfigurationHasBeenSet = true;
322 m_distributionConfiguration = std::forward<DistributionConfigurationT>(value);
323 }
324 template <typename DistributionConfigurationT = DistributionConfiguration>
325 Image& WithDistributionConfiguration(DistributionConfigurationT&& value) {
326 SetDistributionConfiguration(std::forward<DistributionConfigurationT>(value));
327 return *this;
328 }
330
332
336 inline const ImageTestsConfiguration& GetImageTestsConfiguration() const { return m_imageTestsConfiguration; }
337 inline bool ImageTestsConfigurationHasBeenSet() const { return m_imageTestsConfigurationHasBeenSet; }
338 template <typename ImageTestsConfigurationT = ImageTestsConfiguration>
339 void SetImageTestsConfiguration(ImageTestsConfigurationT&& value) {
340 m_imageTestsConfigurationHasBeenSet = true;
341 m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value);
342 }
343 template <typename ImageTestsConfigurationT = ImageTestsConfiguration>
344 Image& WithImageTestsConfiguration(ImageTestsConfigurationT&& value) {
345 SetImageTestsConfiguration(std::forward<ImageTestsConfigurationT>(value));
346 return *this;
347 }
349
351
354 inline const Aws::String& GetDateCreated() const { return m_dateCreated; }
355 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
356 template <typename DateCreatedT = Aws::String>
357 void SetDateCreated(DateCreatedT&& value) {
358 m_dateCreatedHasBeenSet = true;
359 m_dateCreated = std::forward<DateCreatedT>(value);
360 }
361 template <typename DateCreatedT = Aws::String>
362 Image& WithDateCreated(DateCreatedT&& value) {
363 SetDateCreated(std::forward<DateCreatedT>(value));
364 return *this;
365 }
367
369
372 inline const OutputResources& GetOutputResources() const { return m_outputResources; }
373 inline bool OutputResourcesHasBeenSet() const { return m_outputResourcesHasBeenSet; }
374 template <typename OutputResourcesT = OutputResources>
375 void SetOutputResources(OutputResourcesT&& value) {
376 m_outputResourcesHasBeenSet = true;
377 m_outputResources = std::forward<OutputResourcesT>(value);
378 }
379 template <typename OutputResourcesT = OutputResources>
380 Image& WithOutputResources(OutputResourcesT&& value) {
381 SetOutputResources(std::forward<OutputResourcesT>(value));
382 return *this;
383 }
385
387
390 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
391 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
392 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
393 void SetTags(TagsT&& value) {
394 m_tagsHasBeenSet = true;
395 m_tags = std::forward<TagsT>(value);
396 }
397 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
398 Image& WithTags(TagsT&& value) {
399 SetTags(std::forward<TagsT>(value));
400 return *this;
401 }
402 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
403 Image& AddTags(TagsKeyT&& key, TagsValueT&& value) {
404 m_tagsHasBeenSet = true;
405 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
406 return *this;
407 }
409
411
420 inline BuildType GetBuildType() const { return m_buildType; }
421 inline bool BuildTypeHasBeenSet() const { return m_buildTypeHasBeenSet; }
422 inline void SetBuildType(BuildType value) {
423 m_buildTypeHasBeenSet = true;
424 m_buildType = value;
425 }
427 SetBuildType(value);
428 return *this;
429 }
431
433
436 inline ImageSource GetImageSource() const { return m_imageSource; }
437 inline bool ImageSourceHasBeenSet() const { return m_imageSourceHasBeenSet; }
438 inline void SetImageSource(ImageSource value) {
439 m_imageSourceHasBeenSet = true;
440 m_imageSource = value;
441 }
443 SetImageSource(value);
444 return *this;
445 }
447
449
452 inline const ImageScanState& GetScanState() const { return m_scanState; }
453 inline bool ScanStateHasBeenSet() const { return m_scanStateHasBeenSet; }
454 template <typename ScanStateT = ImageScanState>
455 void SetScanState(ScanStateT&& value) {
456 m_scanStateHasBeenSet = true;
457 m_scanState = std::forward<ScanStateT>(value);
458 }
459 template <typename ScanStateT = ImageScanState>
460 Image& WithScanState(ScanStateT&& value) {
461 SetScanState(std::forward<ScanStateT>(value));
462 return *this;
463 }
465
467
473 inline const ImageScanningConfiguration& GetImageScanningConfiguration() const { return m_imageScanningConfiguration; }
474 inline bool ImageScanningConfigurationHasBeenSet() const { return m_imageScanningConfigurationHasBeenSet; }
475 template <typename ImageScanningConfigurationT = ImageScanningConfiguration>
476 void SetImageScanningConfiguration(ImageScanningConfigurationT&& value) {
477 m_imageScanningConfigurationHasBeenSet = true;
478 m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value);
479 }
480 template <typename ImageScanningConfigurationT = ImageScanningConfiguration>
481 Image& WithImageScanningConfiguration(ImageScanningConfigurationT&& value) {
482 SetImageScanningConfiguration(std::forward<ImageScanningConfigurationT>(value));
483 return *this;
484 }
486
488
492 inline const Aws::Utils::DateTime& GetDeprecationTime() const { return m_deprecationTime; }
493 inline bool DeprecationTimeHasBeenSet() const { return m_deprecationTimeHasBeenSet; }
494 template <typename DeprecationTimeT = Aws::Utils::DateTime>
495 void SetDeprecationTime(DeprecationTimeT&& value) {
496 m_deprecationTimeHasBeenSet = true;
497 m_deprecationTime = std::forward<DeprecationTimeT>(value);
498 }
499 template <typename DeprecationTimeT = Aws::Utils::DateTime>
500 Image& WithDeprecationTime(DeprecationTimeT&& value) {
501 SetDeprecationTime(std::forward<DeprecationTimeT>(value));
502 return *this;
503 }
505
507
511 inline const Aws::String& GetLifecycleExecutionId() const { return m_lifecycleExecutionId; }
512 inline bool LifecycleExecutionIdHasBeenSet() const { return m_lifecycleExecutionIdHasBeenSet; }
513 template <typename LifecycleExecutionIdT = Aws::String>
514 void SetLifecycleExecutionId(LifecycleExecutionIdT&& value) {
515 m_lifecycleExecutionIdHasBeenSet = true;
516 m_lifecycleExecutionId = std::forward<LifecycleExecutionIdT>(value);
517 }
518 template <typename LifecycleExecutionIdT = Aws::String>
519 Image& WithLifecycleExecutionId(LifecycleExecutionIdT&& value) {
520 SetLifecycleExecutionId(std::forward<LifecycleExecutionIdT>(value));
521 return *this;
522 }
524
526
530 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
531 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
532 template <typename ExecutionRoleT = Aws::String>
533 void SetExecutionRole(ExecutionRoleT&& value) {
534 m_executionRoleHasBeenSet = true;
535 m_executionRole = std::forward<ExecutionRoleT>(value);
536 }
537 template <typename ExecutionRoleT = Aws::String>
538 Image& WithExecutionRole(ExecutionRoleT&& value) {
539 SetExecutionRole(std::forward<ExecutionRoleT>(value));
540 return *this;
541 }
543
545
549 inline const Aws::Vector<WorkflowConfiguration>& GetWorkflows() const { return m_workflows; }
550 inline bool WorkflowsHasBeenSet() const { return m_workflowsHasBeenSet; }
551 template <typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
552 void SetWorkflows(WorkflowsT&& value) {
553 m_workflowsHasBeenSet = true;
554 m_workflows = std::forward<WorkflowsT>(value);
555 }
556 template <typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
557 Image& WithWorkflows(WorkflowsT&& value) {
558 SetWorkflows(std::forward<WorkflowsT>(value));
559 return *this;
560 }
561 template <typename WorkflowsT = WorkflowConfiguration>
562 Image& AddWorkflows(WorkflowsT&& value) {
563 m_workflowsHasBeenSet = true;
564 m_workflows.emplace_back(std::forward<WorkflowsT>(value));
565 return *this;
566 }
568
570
574 inline const ImageLoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
575 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
576 template <typename LoggingConfigurationT = ImageLoggingConfiguration>
577 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
578 m_loggingConfigurationHasBeenSet = true;
579 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
580 }
581 template <typename LoggingConfigurationT = ImageLoggingConfiguration>
582 Image& WithLoggingConfiguration(LoggingConfigurationT&& value) {
583 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
584 return *this;
585 }
587 private:
588 Aws::String m_arn;
589
591
592 Aws::String m_name;
593
594 Aws::String m_version;
595
596 Platform m_platform{Platform::NOT_SET};
597
598 bool m_enhancedImageMetadataEnabled{false};
599
600 Aws::String m_osVersion;
601
602 ImageState m_state;
603
604 ImageRecipe m_imageRecipe;
605
606 ContainerRecipe m_containerRecipe;
607
608 Aws::String m_sourcePipelineName;
609
610 Aws::String m_sourcePipelineArn;
611
612 InfrastructureConfiguration m_infrastructureConfiguration;
613
614 DistributionConfiguration m_distributionConfiguration;
615
616 ImageTestsConfiguration m_imageTestsConfiguration;
617
618 Aws::String m_dateCreated;
619
620 OutputResources m_outputResources;
621
623
624 BuildType m_buildType{BuildType::NOT_SET};
625
626 ImageSource m_imageSource{ImageSource::NOT_SET};
627
628 ImageScanState m_scanState;
629
630 ImageScanningConfiguration m_imageScanningConfiguration;
631
632 Aws::Utils::DateTime m_deprecationTime{};
633
634 Aws::String m_lifecycleExecutionId;
635
636 Aws::String m_executionRole;
637
639
640 ImageLoggingConfiguration m_loggingConfiguration;
641 bool m_arnHasBeenSet = false;
642 bool m_typeHasBeenSet = false;
643 bool m_nameHasBeenSet = false;
644 bool m_versionHasBeenSet = false;
645 bool m_platformHasBeenSet = false;
646 bool m_enhancedImageMetadataEnabledHasBeenSet = false;
647 bool m_osVersionHasBeenSet = false;
648 bool m_stateHasBeenSet = false;
649 bool m_imageRecipeHasBeenSet = false;
650 bool m_containerRecipeHasBeenSet = false;
651 bool m_sourcePipelineNameHasBeenSet = false;
652 bool m_sourcePipelineArnHasBeenSet = false;
653 bool m_infrastructureConfigurationHasBeenSet = false;
654 bool m_distributionConfigurationHasBeenSet = false;
655 bool m_imageTestsConfigurationHasBeenSet = false;
656 bool m_dateCreatedHasBeenSet = false;
657 bool m_outputResourcesHasBeenSet = false;
658 bool m_tagsHasBeenSet = false;
659 bool m_buildTypeHasBeenSet = false;
660 bool m_imageSourceHasBeenSet = false;
661 bool m_scanStateHasBeenSet = false;
662 bool m_imageScanningConfigurationHasBeenSet = false;
663 bool m_deprecationTimeHasBeenSet = false;
664 bool m_lifecycleExecutionIdHasBeenSet = false;
665 bool m_executionRoleHasBeenSet = false;
666 bool m_workflowsHasBeenSet = false;
667 bool m_loggingConfigurationHasBeenSet = false;
668};
669
670} // namespace Model
671} // namespace imagebuilder
672} // namespace Aws
const Aws::String & GetVersion() const
Definition Image.h:133
void SetType(ImageType value)
Definition Image.h:89
const OutputResources & GetOutputResources() const
Definition Image.h:372
bool DeprecationTimeHasBeenSet() const
Definition Image.h:493
void SetImageTestsConfiguration(ImageTestsConfigurationT &&value)
Definition Image.h:339
bool DistributionConfigurationHasBeenSet() const
Definition Image.h:318
Image & AddWorkflows(WorkflowsT &&value)
Definition Image.h:562
const Aws::String & GetOsVersion() const
Definition Image.h:185
void SetLifecycleExecutionId(LifecycleExecutionIdT &&value)
Definition Image.h:514
const Aws::String & GetDateCreated() const
Definition Image.h:354
Image & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Image.h:403
ImageType GetType() const
Definition Image.h:87
bool ImageTestsConfigurationHasBeenSet() const
Definition Image.h:337
void SetArn(ArnT &&value)
Definition Image.h:72
Image & WithImageScanningConfiguration(ImageScanningConfigurationT &&value)
Definition Image.h:481
const Aws::Utils::DateTime & GetDeprecationTime() const
Definition Image.h:492
const ImageLoggingConfiguration & GetLoggingConfiguration() const
Definition Image.h:574
void SetDateCreated(DateCreatedT &&value)
Definition Image.h:357
bool ImageRecipeHasBeenSet() const
Definition Image.h:223
Image & WithSourcePipelineArn(SourcePipelineArnT &&value)
Definition Image.h:288
bool SourcePipelineArnHasBeenSet() const
Definition Image.h:281
const Aws::String & GetArn() const
Definition Image.h:69
const DistributionConfiguration & GetDistributionConfiguration() const
Definition Image.h:317
void SetBuildType(BuildType value)
Definition Image.h:422
Image & WithType(ImageType value)
Definition Image.h:93
void SetEnhancedImageMetadataEnabled(bool value)
Definition Image.h:170
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ImageScanningConfigurationHasBeenSet() const
Definition Image.h:474
bool OsVersionHasBeenSet() const
Definition Image.h:186
const ImageScanState & GetScanState() const
Definition Image.h:452
const ImageState & GetState() const
Definition Image.h:203
Image & WithDeprecationTime(DeprecationTimeT &&value)
Definition Image.h:500
void SetOsVersion(OsVersionT &&value)
Definition Image.h:188
Image & WithPlatform(Platform value)
Definition Image.h:157
bool ScanStateHasBeenSet() const
Definition Image.h:453
bool ContainerRecipeHasBeenSet() const
Definition Image.h:242
bool DateCreatedHasBeenSet() const
Definition Image.h:355
bool WorkflowsHasBeenSet() const
Definition Image.h:550
bool SourcePipelineNameHasBeenSet() const
Definition Image.h:262
const ContainerRecipe & GetContainerRecipe() const
Definition Image.h:241
const Aws::String & GetSourcePipelineName() const
Definition Image.h:261
bool InfrastructureConfigurationHasBeenSet() const
Definition Image.h:299
void SetVersion(VersionT &&value)
Definition Image.h:136
void SetImageScanningConfiguration(ImageScanningConfigurationT &&value)
Definition Image.h:476
const Aws::String & GetName() const
Definition Image.h:103
Image & WithImageSource(ImageSource value)
Definition Image.h:442
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
Definition Image.h:549
Image & WithOutputResources(OutputResourcesT &&value)
Definition Image.h:380
bool ImageSourceHasBeenSet() const
Definition Image.h:437
Image & WithLoggingConfiguration(LoggingConfigurationT &&value)
Definition Image.h:582
Image & WithDistributionConfiguration(DistributionConfigurationT &&value)
Definition Image.h:325
Platform GetPlatform() const
Definition Image.h:151
bool LoggingConfigurationHasBeenSet() const
Definition Image.h:575
const Aws::String & GetSourcePipelineArn() const
Definition Image.h:280
void SetDeprecationTime(DeprecationTimeT &&value)
Definition Image.h:495
Image & WithWorkflows(WorkflowsT &&value)
Definition Image.h:557
void SetImageRecipe(ImageRecipeT &&value)
Definition Image.h:225
bool PlatformHasBeenSet() const
Definition Image.h:152
Image & WithVersion(VersionT &&value)
Definition Image.h:141
Image & WithImageRecipe(ImageRecipeT &&value)
Definition Image.h:230
void SetTags(TagsT &&value)
Definition Image.h:393
void SetSourcePipelineName(SourcePipelineNameT &&value)
Definition Image.h:264
Image & WithExecutionRole(ExecutionRoleT &&value)
Definition Image.h:538
Image & WithLifecycleExecutionId(LifecycleExecutionIdT &&value)
Definition Image.h:519
bool BuildTypeHasBeenSet() const
Definition Image.h:421
Image & WithTags(TagsT &&value)
Definition Image.h:398
Image & WithEnhancedImageMetadataEnabled(bool value)
Definition Image.h:174
const InfrastructureConfiguration & GetInfrastructureConfiguration() const
Definition Image.h:298
Image & WithSourcePipelineName(SourcePipelineNameT &&value)
Definition Image.h:269
void SetName(NameT &&value)
Definition Image.h:106
void SetPlatform(Platform value)
Definition Image.h:153
const ImageScanningConfiguration & GetImageScanningConfiguration() const
Definition Image.h:473
Image & WithInfrastructureConfiguration(InfrastructureConfigurationT &&value)
Definition Image.h:306
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Image.h:390
Image & WithImageTestsConfiguration(ImageTestsConfigurationT &&value)
Definition Image.h:344
const ImageTestsConfiguration & GetImageTestsConfiguration() const
Definition Image.h:336
bool TypeHasBeenSet() const
Definition Image.h:88
Image & WithContainerRecipe(ContainerRecipeT &&value)
Definition Image.h:249
void SetExecutionRole(ExecutionRoleT &&value)
Definition Image.h:533
Image & WithOsVersion(OsVersionT &&value)
Definition Image.h:193
AWS_IMAGEBUILDER_API Image(Aws::Utils::Json::JsonView jsonValue)
void SetScanState(ScanStateT &&value)
Definition Image.h:455
void SetState(StateT &&value)
Definition Image.h:206
bool EnhancedImageMetadataEnabledHasBeenSet() const
Definition Image.h:169
bool VersionHasBeenSet() const
Definition Image.h:134
ImageSource GetImageSource() const
Definition Image.h:436
BuildType GetBuildType() const
Definition Image.h:420
Image & WithState(StateT &&value)
Definition Image.h:211
Image & WithName(NameT &&value)
Definition Image.h:111
Image & WithArn(ArnT &&value)
Definition Image.h:77
const ImageRecipe & GetImageRecipe() const
Definition Image.h:222
const Aws::String & GetLifecycleExecutionId() const
Definition Image.h:511
const Aws::String & GetExecutionRole() const
Definition Image.h:530
void SetWorkflows(WorkflowsT &&value)
Definition Image.h:552
bool OutputResourcesHasBeenSet() const
Definition Image.h:373
void SetImageSource(ImageSource value)
Definition Image.h:438
void SetLoggingConfiguration(LoggingConfigurationT &&value)
Definition Image.h:577
void SetInfrastructureConfiguration(InfrastructureConfigurationT &&value)
Definition Image.h:301
Image & WithBuildType(BuildType value)
Definition Image.h:426
bool ExecutionRoleHasBeenSet() const
Definition Image.h:531
Image & WithScanState(ScanStateT &&value)
Definition Image.h:460
bool LifecycleExecutionIdHasBeenSet() const
Definition Image.h:512
Image & WithDateCreated(DateCreatedT &&value)
Definition Image.h:362
AWS_IMAGEBUILDER_API Image()=default
void SetDistributionConfiguration(DistributionConfigurationT &&value)
Definition Image.h:320
void SetSourcePipelineArn(SourcePipelineArnT &&value)
Definition Image.h:283
AWS_IMAGEBUILDER_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetEnhancedImageMetadataEnabled() const
Definition Image.h:168
void SetContainerRecipe(ContainerRecipeT &&value)
Definition Image.h:244
void SetOutputResources(OutputResourcesT &&value)
Definition Image.h:375
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