AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
134 inline const Aws::String& GetVersion() const { return m_version; }
135 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
136 template <typename VersionT = Aws::String>
137 void SetVersion(VersionT&& value) {
138 m_versionHasBeenSet = true;
139 m_version = std::forward<VersionT>(value);
140 }
141 template <typename VersionT = Aws::String>
142 Image& WithVersion(VersionT&& value) {
143 SetVersion(std::forward<VersionT>(value));
144 return *this;
145 }
147
149
152 inline Platform GetPlatform() const { return m_platform; }
153 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
154 inline void SetPlatform(Platform value) {
155 m_platformHasBeenSet = true;
156 m_platform = value;
157 }
158 inline Image& WithPlatform(Platform value) {
159 SetPlatform(value);
160 return *this;
161 }
163
165
169 inline bool GetEnhancedImageMetadataEnabled() const { return m_enhancedImageMetadataEnabled; }
170 inline bool EnhancedImageMetadataEnabledHasBeenSet() const { return m_enhancedImageMetadataEnabledHasBeenSet; }
171 inline void SetEnhancedImageMetadataEnabled(bool value) {
172 m_enhancedImageMetadataEnabledHasBeenSet = true;
173 m_enhancedImageMetadataEnabled = value;
174 }
177 return *this;
178 }
180
182
186 inline const Aws::String& GetOsVersion() const { return m_osVersion; }
187 inline bool OsVersionHasBeenSet() const { return m_osVersionHasBeenSet; }
188 template <typename OsVersionT = Aws::String>
189 void SetOsVersion(OsVersionT&& value) {
190 m_osVersionHasBeenSet = true;
191 m_osVersion = std::forward<OsVersionT>(value);
192 }
193 template <typename OsVersionT = Aws::String>
194 Image& WithOsVersion(OsVersionT&& value) {
195 SetOsVersion(std::forward<OsVersionT>(value));
196 return *this;
197 }
199
201
204 inline const ImageState& GetState() const { return m_state; }
205 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
206 template <typename StateT = ImageState>
207 void SetState(StateT&& value) {
208 m_stateHasBeenSet = true;
209 m_state = std::forward<StateT>(value);
210 }
211 template <typename StateT = ImageState>
212 Image& WithState(StateT&& value) {
213 SetState(std::forward<StateT>(value));
214 return *this;
215 }
217
219
223 inline const ImageRecipe& GetImageRecipe() const { return m_imageRecipe; }
224 inline bool ImageRecipeHasBeenSet() const { return m_imageRecipeHasBeenSet; }
225 template <typename ImageRecipeT = ImageRecipe>
226 void SetImageRecipe(ImageRecipeT&& value) {
227 m_imageRecipeHasBeenSet = true;
228 m_imageRecipe = std::forward<ImageRecipeT>(value);
229 }
230 template <typename ImageRecipeT = ImageRecipe>
231 Image& WithImageRecipe(ImageRecipeT&& value) {
232 SetImageRecipe(std::forward<ImageRecipeT>(value));
233 return *this;
234 }
236
238
242 inline const ContainerRecipe& GetContainerRecipe() const { return m_containerRecipe; }
243 inline bool ContainerRecipeHasBeenSet() const { return m_containerRecipeHasBeenSet; }
244 template <typename ContainerRecipeT = ContainerRecipe>
245 void SetContainerRecipe(ContainerRecipeT&& value) {
246 m_containerRecipeHasBeenSet = true;
247 m_containerRecipe = std::forward<ContainerRecipeT>(value);
248 }
249 template <typename ContainerRecipeT = ContainerRecipe>
250 Image& WithContainerRecipe(ContainerRecipeT&& value) {
251 SetContainerRecipe(std::forward<ContainerRecipeT>(value));
252 return *this;
253 }
255
257
260 inline const Aws::String& GetSourcePipelineName() const { return m_sourcePipelineName; }
261 inline bool SourcePipelineNameHasBeenSet() const { return m_sourcePipelineNameHasBeenSet; }
262 template <typename SourcePipelineNameT = Aws::String>
263 void SetSourcePipelineName(SourcePipelineNameT&& value) {
264 m_sourcePipelineNameHasBeenSet = true;
265 m_sourcePipelineName = std::forward<SourcePipelineNameT>(value);
266 }
267 template <typename SourcePipelineNameT = Aws::String>
268 Image& WithSourcePipelineName(SourcePipelineNameT&& value) {
269 SetSourcePipelineName(std::forward<SourcePipelineNameT>(value));
270 return *this;
271 }
273
275
279 inline const Aws::String& GetSourcePipelineArn() const { return m_sourcePipelineArn; }
280 inline bool SourcePipelineArnHasBeenSet() const { return m_sourcePipelineArnHasBeenSet; }
281 template <typename SourcePipelineArnT = Aws::String>
282 void SetSourcePipelineArn(SourcePipelineArnT&& value) {
283 m_sourcePipelineArnHasBeenSet = true;
284 m_sourcePipelineArn = std::forward<SourcePipelineArnT>(value);
285 }
286 template <typename SourcePipelineArnT = Aws::String>
287 Image& WithSourcePipelineArn(SourcePipelineArnT&& value) {
288 SetSourcePipelineArn(std::forward<SourcePipelineArnT>(value));
289 return *this;
290 }
292
294
297 inline const InfrastructureConfiguration& GetInfrastructureConfiguration() const { return m_infrastructureConfiguration; }
298 inline bool InfrastructureConfigurationHasBeenSet() const { return m_infrastructureConfigurationHasBeenSet; }
299 template <typename InfrastructureConfigurationT = InfrastructureConfiguration>
300 void SetInfrastructureConfiguration(InfrastructureConfigurationT&& value) {
301 m_infrastructureConfigurationHasBeenSet = true;
302 m_infrastructureConfiguration = std::forward<InfrastructureConfigurationT>(value);
303 }
304 template <typename InfrastructureConfigurationT = InfrastructureConfiguration>
305 Image& WithInfrastructureConfiguration(InfrastructureConfigurationT&& value) {
306 SetInfrastructureConfiguration(std::forward<InfrastructureConfigurationT>(value));
307 return *this;
308 }
310
312
316 inline const DistributionConfiguration& GetDistributionConfiguration() const { return m_distributionConfiguration; }
317 inline bool DistributionConfigurationHasBeenSet() const { return m_distributionConfigurationHasBeenSet; }
318 template <typename DistributionConfigurationT = DistributionConfiguration>
319 void SetDistributionConfiguration(DistributionConfigurationT&& value) {
320 m_distributionConfigurationHasBeenSet = true;
321 m_distributionConfiguration = std::forward<DistributionConfigurationT>(value);
322 }
323 template <typename DistributionConfigurationT = DistributionConfiguration>
324 Image& WithDistributionConfiguration(DistributionConfigurationT&& value) {
325 SetDistributionConfiguration(std::forward<DistributionConfigurationT>(value));
326 return *this;
327 }
329
331
334 inline const ImageTestsConfiguration& GetImageTestsConfiguration() const { return m_imageTestsConfiguration; }
335 inline bool ImageTestsConfigurationHasBeenSet() const { return m_imageTestsConfigurationHasBeenSet; }
336 template <typename ImageTestsConfigurationT = ImageTestsConfiguration>
337 void SetImageTestsConfiguration(ImageTestsConfigurationT&& value) {
338 m_imageTestsConfigurationHasBeenSet = true;
339 m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value);
340 }
341 template <typename ImageTestsConfigurationT = ImageTestsConfiguration>
342 Image& WithImageTestsConfiguration(ImageTestsConfigurationT&& value) {
343 SetImageTestsConfiguration(std::forward<ImageTestsConfigurationT>(value));
344 return *this;
345 }
347
349
352 inline const Aws::String& GetDateCreated() const { return m_dateCreated; }
353 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
354 template <typename DateCreatedT = Aws::String>
355 void SetDateCreated(DateCreatedT&& value) {
356 m_dateCreatedHasBeenSet = true;
357 m_dateCreated = std::forward<DateCreatedT>(value);
358 }
359 template <typename DateCreatedT = Aws::String>
360 Image& WithDateCreated(DateCreatedT&& value) {
361 SetDateCreated(std::forward<DateCreatedT>(value));
362 return *this;
363 }
365
367
370 inline const OutputResources& GetOutputResources() const { return m_outputResources; }
371 inline bool OutputResourcesHasBeenSet() const { return m_outputResourcesHasBeenSet; }
372 template <typename OutputResourcesT = OutputResources>
373 void SetOutputResources(OutputResourcesT&& value) {
374 m_outputResourcesHasBeenSet = true;
375 m_outputResources = std::forward<OutputResourcesT>(value);
376 }
377 template <typename OutputResourcesT = OutputResources>
378 Image& WithOutputResources(OutputResourcesT&& value) {
379 SetOutputResources(std::forward<OutputResourcesT>(value));
380 return *this;
381 }
383
385
388 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
389 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
390 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
391 void SetTags(TagsT&& value) {
392 m_tagsHasBeenSet = true;
393 m_tags = std::forward<TagsT>(value);
394 }
395 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
396 Image& WithTags(TagsT&& value) {
397 SetTags(std::forward<TagsT>(value));
398 return *this;
399 }
400 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
401 Image& AddTags(TagsKeyT&& key, TagsValueT&& value) {
402 m_tagsHasBeenSet = true;
403 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
404 return *this;
405 }
407
409
418 inline BuildType GetBuildType() const { return m_buildType; }
419 inline bool BuildTypeHasBeenSet() const { return m_buildTypeHasBeenSet; }
420 inline void SetBuildType(BuildType value) {
421 m_buildTypeHasBeenSet = true;
422 m_buildType = value;
423 }
425 SetBuildType(value);
426 return *this;
427 }
429
431
434 inline ImageSource GetImageSource() const { return m_imageSource; }
435 inline bool ImageSourceHasBeenSet() const { return m_imageSourceHasBeenSet; }
436 inline void SetImageSource(ImageSource value) {
437 m_imageSourceHasBeenSet = true;
438 m_imageSource = value;
439 }
441 SetImageSource(value);
442 return *this;
443 }
445
447
450 inline const ImageScanState& GetScanState() const { return m_scanState; }
451 inline bool ScanStateHasBeenSet() const { return m_scanStateHasBeenSet; }
452 template <typename ScanStateT = ImageScanState>
453 void SetScanState(ScanStateT&& value) {
454 m_scanStateHasBeenSet = true;
455 m_scanState = std::forward<ScanStateT>(value);
456 }
457 template <typename ScanStateT = ImageScanState>
458 Image& WithScanState(ScanStateT&& value) {
459 SetScanState(std::forward<ScanStateT>(value));
460 return *this;
461 }
463
465
468 inline const ImageScanningConfiguration& GetImageScanningConfiguration() const { return m_imageScanningConfiguration; }
469 inline bool ImageScanningConfigurationHasBeenSet() const { return m_imageScanningConfigurationHasBeenSet; }
470 template <typename ImageScanningConfigurationT = ImageScanningConfiguration>
471 void SetImageScanningConfiguration(ImageScanningConfigurationT&& value) {
472 m_imageScanningConfigurationHasBeenSet = true;
473 m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value);
474 }
475 template <typename ImageScanningConfigurationT = ImageScanningConfiguration>
476 Image& WithImageScanningConfiguration(ImageScanningConfigurationT&& value) {
477 SetImageScanningConfiguration(std::forward<ImageScanningConfigurationT>(value));
478 return *this;
479 }
481
483
487 inline const Aws::Utils::DateTime& GetDeprecationTime() const { return m_deprecationTime; }
488 inline bool DeprecationTimeHasBeenSet() const { return m_deprecationTimeHasBeenSet; }
489 template <typename DeprecationTimeT = Aws::Utils::DateTime>
490 void SetDeprecationTime(DeprecationTimeT&& value) {
491 m_deprecationTimeHasBeenSet = true;
492 m_deprecationTime = std::forward<DeprecationTimeT>(value);
493 }
494 template <typename DeprecationTimeT = Aws::Utils::DateTime>
495 Image& WithDeprecationTime(DeprecationTimeT&& value) {
496 SetDeprecationTime(std::forward<DeprecationTimeT>(value));
497 return *this;
498 }
500
502
506 inline const Aws::String& GetLifecycleExecutionId() const { return m_lifecycleExecutionId; }
507 inline bool LifecycleExecutionIdHasBeenSet() const { return m_lifecycleExecutionIdHasBeenSet; }
508 template <typename LifecycleExecutionIdT = Aws::String>
509 void SetLifecycleExecutionId(LifecycleExecutionIdT&& value) {
510 m_lifecycleExecutionIdHasBeenSet = true;
511 m_lifecycleExecutionId = std::forward<LifecycleExecutionIdT>(value);
512 }
513 template <typename LifecycleExecutionIdT = Aws::String>
514 Image& WithLifecycleExecutionId(LifecycleExecutionIdT&& value) {
515 SetLifecycleExecutionId(std::forward<LifecycleExecutionIdT>(value));
516 return *this;
517 }
519
521
525 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
526 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
527 template <typename ExecutionRoleT = Aws::String>
528 void SetExecutionRole(ExecutionRoleT&& value) {
529 m_executionRoleHasBeenSet = true;
530 m_executionRole = std::forward<ExecutionRoleT>(value);
531 }
532 template <typename ExecutionRoleT = Aws::String>
533 Image& WithExecutionRole(ExecutionRoleT&& value) {
534 SetExecutionRole(std::forward<ExecutionRoleT>(value));
535 return *this;
536 }
538
540
543 inline const Aws::Vector<WorkflowConfiguration>& GetWorkflows() const { return m_workflows; }
544 inline bool WorkflowsHasBeenSet() const { return m_workflowsHasBeenSet; }
545 template <typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
546 void SetWorkflows(WorkflowsT&& value) {
547 m_workflowsHasBeenSet = true;
548 m_workflows = std::forward<WorkflowsT>(value);
549 }
550 template <typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
551 Image& WithWorkflows(WorkflowsT&& value) {
552 SetWorkflows(std::forward<WorkflowsT>(value));
553 return *this;
554 }
555 template <typename WorkflowsT = WorkflowConfiguration>
556 Image& AddWorkflows(WorkflowsT&& value) {
557 m_workflowsHasBeenSet = true;
558 m_workflows.emplace_back(std::forward<WorkflowsT>(value));
559 return *this;
560 }
562
564
568 inline const ImageLoggingConfiguration& GetLoggingConfiguration() const { return m_loggingConfiguration; }
569 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
570 template <typename LoggingConfigurationT = ImageLoggingConfiguration>
571 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
572 m_loggingConfigurationHasBeenSet = true;
573 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
574 }
575 template <typename LoggingConfigurationT = ImageLoggingConfiguration>
576 Image& WithLoggingConfiguration(LoggingConfigurationT&& value) {
577 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
578 return *this;
579 }
581 private:
582 Aws::String m_arn;
583
585
586 Aws::String m_name;
587
588 Aws::String m_version;
589
590 Platform m_platform{Platform::NOT_SET};
591
592 bool m_enhancedImageMetadataEnabled{false};
593
594 Aws::String m_osVersion;
595
596 ImageState m_state;
597
598 ImageRecipe m_imageRecipe;
599
600 ContainerRecipe m_containerRecipe;
601
602 Aws::String m_sourcePipelineName;
603
604 Aws::String m_sourcePipelineArn;
605
606 InfrastructureConfiguration m_infrastructureConfiguration;
607
608 DistributionConfiguration m_distributionConfiguration;
609
610 ImageTestsConfiguration m_imageTestsConfiguration;
611
612 Aws::String m_dateCreated;
613
614 OutputResources m_outputResources;
615
617
618 BuildType m_buildType{BuildType::NOT_SET};
619
620 ImageSource m_imageSource{ImageSource::NOT_SET};
621
622 ImageScanState m_scanState;
623
624 ImageScanningConfiguration m_imageScanningConfiguration;
625
626 Aws::Utils::DateTime m_deprecationTime{};
627
628 Aws::String m_lifecycleExecutionId;
629
630 Aws::String m_executionRole;
631
633
634 ImageLoggingConfiguration m_loggingConfiguration;
635 bool m_arnHasBeenSet = false;
636 bool m_typeHasBeenSet = false;
637 bool m_nameHasBeenSet = false;
638 bool m_versionHasBeenSet = false;
639 bool m_platformHasBeenSet = false;
640 bool m_enhancedImageMetadataEnabledHasBeenSet = false;
641 bool m_osVersionHasBeenSet = false;
642 bool m_stateHasBeenSet = false;
643 bool m_imageRecipeHasBeenSet = false;
644 bool m_containerRecipeHasBeenSet = false;
645 bool m_sourcePipelineNameHasBeenSet = false;
646 bool m_sourcePipelineArnHasBeenSet = false;
647 bool m_infrastructureConfigurationHasBeenSet = false;
648 bool m_distributionConfigurationHasBeenSet = false;
649 bool m_imageTestsConfigurationHasBeenSet = false;
650 bool m_dateCreatedHasBeenSet = false;
651 bool m_outputResourcesHasBeenSet = false;
652 bool m_tagsHasBeenSet = false;
653 bool m_buildTypeHasBeenSet = false;
654 bool m_imageSourceHasBeenSet = false;
655 bool m_scanStateHasBeenSet = false;
656 bool m_imageScanningConfigurationHasBeenSet = false;
657 bool m_deprecationTimeHasBeenSet = false;
658 bool m_lifecycleExecutionIdHasBeenSet = false;
659 bool m_executionRoleHasBeenSet = false;
660 bool m_workflowsHasBeenSet = false;
661 bool m_loggingConfigurationHasBeenSet = false;
662};
663
664} // namespace Model
665} // namespace imagebuilder
666} // namespace Aws
const Aws::String & GetVersion() const
Definition Image.h:134
void SetType(ImageType value)
Definition Image.h:89
const OutputResources & GetOutputResources() const
Definition Image.h:370
bool DeprecationTimeHasBeenSet() const
Definition Image.h:488
void SetImageTestsConfiguration(ImageTestsConfigurationT &&value)
Definition Image.h:337
bool DistributionConfigurationHasBeenSet() const
Definition Image.h:317
Image & AddWorkflows(WorkflowsT &&value)
Definition Image.h:556
const Aws::String & GetOsVersion() const
Definition Image.h:186
void SetLifecycleExecutionId(LifecycleExecutionIdT &&value)
Definition Image.h:509
const Aws::String & GetDateCreated() const
Definition Image.h:352
Image & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Image.h:401
ImageType GetType() const
Definition Image.h:87
bool ImageTestsConfigurationHasBeenSet() const
Definition Image.h:335
void SetArn(ArnT &&value)
Definition Image.h:72
Image & WithImageScanningConfiguration(ImageScanningConfigurationT &&value)
Definition Image.h:476
const Aws::Utils::DateTime & GetDeprecationTime() const
Definition Image.h:487
const ImageLoggingConfiguration & GetLoggingConfiguration() const
Definition Image.h:568
void SetDateCreated(DateCreatedT &&value)
Definition Image.h:355
bool ImageRecipeHasBeenSet() const
Definition Image.h:224
Image & WithSourcePipelineArn(SourcePipelineArnT &&value)
Definition Image.h:287
bool SourcePipelineArnHasBeenSet() const
Definition Image.h:280
const Aws::String & GetArn() const
Definition Image.h:69
const DistributionConfiguration & GetDistributionConfiguration() const
Definition Image.h:316
void SetBuildType(BuildType value)
Definition Image.h:420
Image & WithType(ImageType value)
Definition Image.h:93
void SetEnhancedImageMetadataEnabled(bool value)
Definition Image.h:171
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ImageScanningConfigurationHasBeenSet() const
Definition Image.h:469
bool OsVersionHasBeenSet() const
Definition Image.h:187
const ImageScanState & GetScanState() const
Definition Image.h:450
const ImageState & GetState() const
Definition Image.h:204
Image & WithDeprecationTime(DeprecationTimeT &&value)
Definition Image.h:495
void SetOsVersion(OsVersionT &&value)
Definition Image.h:189
Image & WithPlatform(Platform value)
Definition Image.h:158
bool ScanStateHasBeenSet() const
Definition Image.h:451
bool ContainerRecipeHasBeenSet() const
Definition Image.h:243
bool DateCreatedHasBeenSet() const
Definition Image.h:353
bool WorkflowsHasBeenSet() const
Definition Image.h:544
bool SourcePipelineNameHasBeenSet() const
Definition Image.h:261
const ContainerRecipe & GetContainerRecipe() const
Definition Image.h:242
const Aws::String & GetSourcePipelineName() const
Definition Image.h:260
bool InfrastructureConfigurationHasBeenSet() const
Definition Image.h:298
void SetVersion(VersionT &&value)
Definition Image.h:137
void SetImageScanningConfiguration(ImageScanningConfigurationT &&value)
Definition Image.h:471
const Aws::String & GetName() const
Definition Image.h:103
Image & WithImageSource(ImageSource value)
Definition Image.h:440
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
Definition Image.h:543
Image & WithOutputResources(OutputResourcesT &&value)
Definition Image.h:378
bool ImageSourceHasBeenSet() const
Definition Image.h:435
Image & WithLoggingConfiguration(LoggingConfigurationT &&value)
Definition Image.h:576
Image & WithDistributionConfiguration(DistributionConfigurationT &&value)
Definition Image.h:324
Platform GetPlatform() const
Definition Image.h:152
bool LoggingConfigurationHasBeenSet() const
Definition Image.h:569
const Aws::String & GetSourcePipelineArn() const
Definition Image.h:279
void SetDeprecationTime(DeprecationTimeT &&value)
Definition Image.h:490
Image & WithWorkflows(WorkflowsT &&value)
Definition Image.h:551
void SetImageRecipe(ImageRecipeT &&value)
Definition Image.h:226
bool PlatformHasBeenSet() const
Definition Image.h:153
Image & WithVersion(VersionT &&value)
Definition Image.h:142
Image & WithImageRecipe(ImageRecipeT &&value)
Definition Image.h:231
void SetTags(TagsT &&value)
Definition Image.h:391
void SetSourcePipelineName(SourcePipelineNameT &&value)
Definition Image.h:263
Image & WithExecutionRole(ExecutionRoleT &&value)
Definition Image.h:533
Image & WithLifecycleExecutionId(LifecycleExecutionIdT &&value)
Definition Image.h:514
bool BuildTypeHasBeenSet() const
Definition Image.h:419
Image & WithTags(TagsT &&value)
Definition Image.h:396
Image & WithEnhancedImageMetadataEnabled(bool value)
Definition Image.h:175
const InfrastructureConfiguration & GetInfrastructureConfiguration() const
Definition Image.h:297
Image & WithSourcePipelineName(SourcePipelineNameT &&value)
Definition Image.h:268
void SetName(NameT &&value)
Definition Image.h:106
void SetPlatform(Platform value)
Definition Image.h:154
const ImageScanningConfiguration & GetImageScanningConfiguration() const
Definition Image.h:468
Image & WithInfrastructureConfiguration(InfrastructureConfigurationT &&value)
Definition Image.h:305
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Image.h:388
Image & WithImageTestsConfiguration(ImageTestsConfigurationT &&value)
Definition Image.h:342
const ImageTestsConfiguration & GetImageTestsConfiguration() const
Definition Image.h:334
bool TypeHasBeenSet() const
Definition Image.h:88
Image & WithContainerRecipe(ContainerRecipeT &&value)
Definition Image.h:250
void SetExecutionRole(ExecutionRoleT &&value)
Definition Image.h:528
Image & WithOsVersion(OsVersionT &&value)
Definition Image.h:194
AWS_IMAGEBUILDER_API Image(Aws::Utils::Json::JsonView jsonValue)
void SetScanState(ScanStateT &&value)
Definition Image.h:453
void SetState(StateT &&value)
Definition Image.h:207
bool EnhancedImageMetadataEnabledHasBeenSet() const
Definition Image.h:170
bool VersionHasBeenSet() const
Definition Image.h:135
ImageSource GetImageSource() const
Definition Image.h:434
BuildType GetBuildType() const
Definition Image.h:418
Image & WithState(StateT &&value)
Definition Image.h:212
Image & WithName(NameT &&value)
Definition Image.h:111
Image & WithArn(ArnT &&value)
Definition Image.h:77
const ImageRecipe & GetImageRecipe() const
Definition Image.h:223
const Aws::String & GetLifecycleExecutionId() const
Definition Image.h:506
const Aws::String & GetExecutionRole() const
Definition Image.h:525
void SetWorkflows(WorkflowsT &&value)
Definition Image.h:546
bool OutputResourcesHasBeenSet() const
Definition Image.h:371
void SetImageSource(ImageSource value)
Definition Image.h:436
void SetLoggingConfiguration(LoggingConfigurationT &&value)
Definition Image.h:571
void SetInfrastructureConfiguration(InfrastructureConfigurationT &&value)
Definition Image.h:300
Image & WithBuildType(BuildType value)
Definition Image.h:424
bool ExecutionRoleHasBeenSet() const
Definition Image.h:526
Image & WithScanState(ScanStateT &&value)
Definition Image.h:458
bool LifecycleExecutionIdHasBeenSet() const
Definition Image.h:507
Image & WithDateCreated(DateCreatedT &&value)
Definition Image.h:360
AWS_IMAGEBUILDER_API Image()=default
void SetDistributionConfiguration(DistributionConfigurationT &&value)
Definition Image.h:319
void SetSourcePipelineArn(SourcePipelineArnT &&value)
Definition Image.h:282
AWS_IMAGEBUILDER_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetEnhancedImageMetadataEnabled() const
Definition Image.h:169
void SetContainerRecipe(ContainerRecipeT &&value)
Definition Image.h:245
void SetOutputResources(OutputResourcesT &&value)
Definition Image.h:373
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