AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Image.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/ImageType.h>
10#include <aws/imagebuilder/model/Platform.h>
11#include <aws/imagebuilder/model/ImageState.h>
12#include <aws/imagebuilder/model/ImageRecipe.h>
13#include <aws/imagebuilder/model/ContainerRecipe.h>
14#include <aws/imagebuilder/model/InfrastructureConfiguration.h>
15#include <aws/imagebuilder/model/DistributionConfiguration.h>
16#include <aws/imagebuilder/model/ImageTestsConfiguration.h>
17#include <aws/imagebuilder/model/OutputResources.h>
18#include <aws/core/utils/memory/stl/AWSMap.h>
19#include <aws/imagebuilder/model/BuildType.h>
20#include <aws/imagebuilder/model/ImageSource.h>
21#include <aws/imagebuilder/model/ImageScanState.h>
22#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
23#include <aws/core/utils/DateTime.h>
24#include <aws/core/utils/memory/stl/AWSVector.h>
25#include <aws/imagebuilder/model/WorkflowConfiguration.h>
26#include <utility>
27
28namespace Aws
29{
30namespace Utils
31{
32namespace Json
33{
34 class JsonValue;
35 class JsonView;
36} // namespace Json
37} // namespace Utils
38namespace imagebuilder
39{
40namespace Model
41{
42
51 class Image
52 {
53 public:
54 AWS_IMAGEBUILDER_API Image();
55 AWS_IMAGEBUILDER_API Image(Aws::Utils::Json::JsonView jsonValue);
56 AWS_IMAGEBUILDER_API Image& operator=(Aws::Utils::Json::JsonView jsonValue);
57 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
58
59
61
72 inline const Aws::String& GetArn() const{ return m_arn; }
73 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
74 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
75 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
76 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
77 inline Image& WithArn(const Aws::String& value) { SetArn(value); return *this;}
78 inline Image& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
79 inline Image& WithArn(const char* value) { SetArn(value); return *this;}
81
83
86 inline const ImageType& GetType() const{ return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(const ImageType& value) { m_typeHasBeenSet = true; m_type = value; }
89 inline void SetType(ImageType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
90 inline Image& WithType(const ImageType& value) { SetType(value); return *this;}
91 inline Image& WithType(ImageType&& value) { SetType(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetName() const{ return m_name; }
99 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
101 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
102 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
103 inline Image& WithName(const Aws::String& value) { SetName(value); return *this;}
104 inline Image& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
105 inline Image& WithName(const char* value) { SetName(value); return *this;}
107
109
125 inline const Aws::String& GetVersion() const{ return m_version; }
126 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
127 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
128 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
129 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
130 inline Image& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
131 inline Image& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
132 inline Image& WithVersion(const char* value) { SetVersion(value); return *this;}
134
136
139 inline const Platform& GetPlatform() const{ return m_platform; }
140 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
141 inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; }
142 inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
143 inline Image& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
144 inline Image& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
146
148
152 inline bool GetEnhancedImageMetadataEnabled() const{ return m_enhancedImageMetadataEnabled; }
153 inline bool EnhancedImageMetadataEnabledHasBeenSet() const { return m_enhancedImageMetadataEnabledHasBeenSet; }
154 inline void SetEnhancedImageMetadataEnabled(bool value) { m_enhancedImageMetadataEnabledHasBeenSet = true; m_enhancedImageMetadataEnabled = value; }
155 inline Image& WithEnhancedImageMetadataEnabled(bool value) { SetEnhancedImageMetadataEnabled(value); return *this;}
157
159
163 inline const Aws::String& GetOsVersion() const{ return m_osVersion; }
164 inline bool OsVersionHasBeenSet() const { return m_osVersionHasBeenSet; }
165 inline void SetOsVersion(const Aws::String& value) { m_osVersionHasBeenSet = true; m_osVersion = value; }
166 inline void SetOsVersion(Aws::String&& value) { m_osVersionHasBeenSet = true; m_osVersion = std::move(value); }
167 inline void SetOsVersion(const char* value) { m_osVersionHasBeenSet = true; m_osVersion.assign(value); }
168 inline Image& WithOsVersion(const Aws::String& value) { SetOsVersion(value); return *this;}
169 inline Image& WithOsVersion(Aws::String&& value) { SetOsVersion(std::move(value)); return *this;}
170 inline Image& WithOsVersion(const char* value) { SetOsVersion(value); return *this;}
172
174
177 inline const ImageState& GetState() const{ return m_state; }
178 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
179 inline void SetState(const ImageState& value) { m_stateHasBeenSet = true; m_state = value; }
180 inline void SetState(ImageState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
181 inline Image& WithState(const ImageState& value) { SetState(value); return *this;}
182 inline Image& WithState(ImageState&& value) { SetState(std::move(value)); return *this;}
184
186
190 inline const ImageRecipe& GetImageRecipe() const{ return m_imageRecipe; }
191 inline bool ImageRecipeHasBeenSet() const { return m_imageRecipeHasBeenSet; }
192 inline void SetImageRecipe(const ImageRecipe& value) { m_imageRecipeHasBeenSet = true; m_imageRecipe = value; }
193 inline void SetImageRecipe(ImageRecipe&& value) { m_imageRecipeHasBeenSet = true; m_imageRecipe = std::move(value); }
194 inline Image& WithImageRecipe(const ImageRecipe& value) { SetImageRecipe(value); return *this;}
195 inline Image& WithImageRecipe(ImageRecipe&& value) { SetImageRecipe(std::move(value)); return *this;}
197
199
203 inline const ContainerRecipe& GetContainerRecipe() const{ return m_containerRecipe; }
204 inline bool ContainerRecipeHasBeenSet() const { return m_containerRecipeHasBeenSet; }
205 inline void SetContainerRecipe(const ContainerRecipe& value) { m_containerRecipeHasBeenSet = true; m_containerRecipe = value; }
206 inline void SetContainerRecipe(ContainerRecipe&& value) { m_containerRecipeHasBeenSet = true; m_containerRecipe = std::move(value); }
207 inline Image& WithContainerRecipe(const ContainerRecipe& value) { SetContainerRecipe(value); return *this;}
208 inline Image& WithContainerRecipe(ContainerRecipe&& value) { SetContainerRecipe(std::move(value)); return *this;}
210
212
215 inline const Aws::String& GetSourcePipelineName() const{ return m_sourcePipelineName; }
216 inline bool SourcePipelineNameHasBeenSet() const { return m_sourcePipelineNameHasBeenSet; }
217 inline void SetSourcePipelineName(const Aws::String& value) { m_sourcePipelineNameHasBeenSet = true; m_sourcePipelineName = value; }
218 inline void SetSourcePipelineName(Aws::String&& value) { m_sourcePipelineNameHasBeenSet = true; m_sourcePipelineName = std::move(value); }
219 inline void SetSourcePipelineName(const char* value) { m_sourcePipelineNameHasBeenSet = true; m_sourcePipelineName.assign(value); }
220 inline Image& WithSourcePipelineName(const Aws::String& value) { SetSourcePipelineName(value); return *this;}
221 inline Image& WithSourcePipelineName(Aws::String&& value) { SetSourcePipelineName(std::move(value)); return *this;}
222 inline Image& WithSourcePipelineName(const char* value) { SetSourcePipelineName(value); return *this;}
224
226
230 inline const Aws::String& GetSourcePipelineArn() const{ return m_sourcePipelineArn; }
231 inline bool SourcePipelineArnHasBeenSet() const { return m_sourcePipelineArnHasBeenSet; }
232 inline void SetSourcePipelineArn(const Aws::String& value) { m_sourcePipelineArnHasBeenSet = true; m_sourcePipelineArn = value; }
233 inline void SetSourcePipelineArn(Aws::String&& value) { m_sourcePipelineArnHasBeenSet = true; m_sourcePipelineArn = std::move(value); }
234 inline void SetSourcePipelineArn(const char* value) { m_sourcePipelineArnHasBeenSet = true; m_sourcePipelineArn.assign(value); }
235 inline Image& WithSourcePipelineArn(const Aws::String& value) { SetSourcePipelineArn(value); return *this;}
236 inline Image& WithSourcePipelineArn(Aws::String&& value) { SetSourcePipelineArn(std::move(value)); return *this;}
237 inline Image& WithSourcePipelineArn(const char* value) { SetSourcePipelineArn(value); return *this;}
239
241
244 inline const InfrastructureConfiguration& GetInfrastructureConfiguration() const{ return m_infrastructureConfiguration; }
245 inline bool InfrastructureConfigurationHasBeenSet() const { return m_infrastructureConfigurationHasBeenSet; }
246 inline void SetInfrastructureConfiguration(const InfrastructureConfiguration& value) { m_infrastructureConfigurationHasBeenSet = true; m_infrastructureConfiguration = value; }
247 inline void SetInfrastructureConfiguration(InfrastructureConfiguration&& value) { m_infrastructureConfigurationHasBeenSet = true; m_infrastructureConfiguration = std::move(value); }
251
253
257 inline const DistributionConfiguration& GetDistributionConfiguration() const{ return m_distributionConfiguration; }
258 inline bool DistributionConfigurationHasBeenSet() const { return m_distributionConfigurationHasBeenSet; }
259 inline void SetDistributionConfiguration(const DistributionConfiguration& value) { m_distributionConfigurationHasBeenSet = true; m_distributionConfiguration = value; }
260 inline void SetDistributionConfiguration(DistributionConfiguration&& value) { m_distributionConfigurationHasBeenSet = true; m_distributionConfiguration = std::move(value); }
264
266
269 inline const ImageTestsConfiguration& GetImageTestsConfiguration() const{ return m_imageTestsConfiguration; }
270 inline bool ImageTestsConfigurationHasBeenSet() const { return m_imageTestsConfigurationHasBeenSet; }
271 inline void SetImageTestsConfiguration(const ImageTestsConfiguration& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = value; }
272 inline void SetImageTestsConfiguration(ImageTestsConfiguration&& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = std::move(value); }
273 inline Image& WithImageTestsConfiguration(const ImageTestsConfiguration& value) { SetImageTestsConfiguration(value); return *this;}
274 inline Image& WithImageTestsConfiguration(ImageTestsConfiguration&& value) { SetImageTestsConfiguration(std::move(value)); return *this;}
276
278
281 inline const Aws::String& GetDateCreated() const{ return m_dateCreated; }
282 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
283 inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
284 inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
285 inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); }
286 inline Image& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;}
287 inline Image& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;}
288 inline Image& WithDateCreated(const char* value) { SetDateCreated(value); return *this;}
290
292
295 inline const OutputResources& GetOutputResources() const{ return m_outputResources; }
296 inline bool OutputResourcesHasBeenSet() const { return m_outputResourcesHasBeenSet; }
297 inline void SetOutputResources(const OutputResources& value) { m_outputResourcesHasBeenSet = true; m_outputResources = value; }
298 inline void SetOutputResources(OutputResources&& value) { m_outputResourcesHasBeenSet = true; m_outputResources = std::move(value); }
299 inline Image& WithOutputResources(const OutputResources& value) { SetOutputResources(value); return *this;}
300 inline Image& WithOutputResources(OutputResources&& value) { SetOutputResources(std::move(value)); return *this;}
302
304
307 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
308 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
309 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
310 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
311 inline Image& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
312 inline Image& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
313 inline Image& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
314 inline Image& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
315 inline Image& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
316 inline Image& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
317 inline Image& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
318 inline Image& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
319 inline Image& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
321
323
331 inline const BuildType& GetBuildType() const{ return m_buildType; }
332 inline bool BuildTypeHasBeenSet() const { return m_buildTypeHasBeenSet; }
333 inline void SetBuildType(const BuildType& value) { m_buildTypeHasBeenSet = true; m_buildType = value; }
334 inline void SetBuildType(BuildType&& value) { m_buildTypeHasBeenSet = true; m_buildType = std::move(value); }
335 inline Image& WithBuildType(const BuildType& value) { SetBuildType(value); return *this;}
336 inline Image& WithBuildType(BuildType&& value) { SetBuildType(std::move(value)); return *this;}
338
340
343 inline const ImageSource& GetImageSource() const{ return m_imageSource; }
344 inline bool ImageSourceHasBeenSet() const { return m_imageSourceHasBeenSet; }
345 inline void SetImageSource(const ImageSource& value) { m_imageSourceHasBeenSet = true; m_imageSource = value; }
346 inline void SetImageSource(ImageSource&& value) { m_imageSourceHasBeenSet = true; m_imageSource = std::move(value); }
347 inline Image& WithImageSource(const ImageSource& value) { SetImageSource(value); return *this;}
348 inline Image& WithImageSource(ImageSource&& value) { SetImageSource(std::move(value)); return *this;}
350
352
355 inline const ImageScanState& GetScanState() const{ return m_scanState; }
356 inline bool ScanStateHasBeenSet() const { return m_scanStateHasBeenSet; }
357 inline void SetScanState(const ImageScanState& value) { m_scanStateHasBeenSet = true; m_scanState = value; }
358 inline void SetScanState(ImageScanState&& value) { m_scanStateHasBeenSet = true; m_scanState = std::move(value); }
359 inline Image& WithScanState(const ImageScanState& value) { SetScanState(value); return *this;}
360 inline Image& WithScanState(ImageScanState&& value) { SetScanState(std::move(value)); return *this;}
362
364
367 inline const ImageScanningConfiguration& GetImageScanningConfiguration() const{ return m_imageScanningConfiguration; }
368 inline bool ImageScanningConfigurationHasBeenSet() const { return m_imageScanningConfigurationHasBeenSet; }
369 inline void SetImageScanningConfiguration(const ImageScanningConfiguration& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = value; }
370 inline void SetImageScanningConfiguration(ImageScanningConfiguration&& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = std::move(value); }
374
376
380 inline const Aws::Utils::DateTime& GetDeprecationTime() const{ return m_deprecationTime; }
381 inline bool DeprecationTimeHasBeenSet() const { return m_deprecationTimeHasBeenSet; }
382 inline void SetDeprecationTime(const Aws::Utils::DateTime& value) { m_deprecationTimeHasBeenSet = true; m_deprecationTime = value; }
383 inline void SetDeprecationTime(Aws::Utils::DateTime&& value) { m_deprecationTimeHasBeenSet = true; m_deprecationTime = std::move(value); }
384 inline Image& WithDeprecationTime(const Aws::Utils::DateTime& value) { SetDeprecationTime(value); return *this;}
385 inline Image& WithDeprecationTime(Aws::Utils::DateTime&& value) { SetDeprecationTime(std::move(value)); return *this;}
387
389
393 inline const Aws::String& GetLifecycleExecutionId() const{ return m_lifecycleExecutionId; }
394 inline bool LifecycleExecutionIdHasBeenSet() const { return m_lifecycleExecutionIdHasBeenSet; }
395 inline void SetLifecycleExecutionId(const Aws::String& value) { m_lifecycleExecutionIdHasBeenSet = true; m_lifecycleExecutionId = value; }
396 inline void SetLifecycleExecutionId(Aws::String&& value) { m_lifecycleExecutionIdHasBeenSet = true; m_lifecycleExecutionId = std::move(value); }
397 inline void SetLifecycleExecutionId(const char* value) { m_lifecycleExecutionIdHasBeenSet = true; m_lifecycleExecutionId.assign(value); }
398 inline Image& WithLifecycleExecutionId(const Aws::String& value) { SetLifecycleExecutionId(value); return *this;}
399 inline Image& WithLifecycleExecutionId(Aws::String&& value) { SetLifecycleExecutionId(std::move(value)); return *this;}
400 inline Image& WithLifecycleExecutionId(const char* value) { SetLifecycleExecutionId(value); return *this;}
402
404
408 inline const Aws::String& GetExecutionRole() const{ return m_executionRole; }
409 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
410 inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; }
411 inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); }
412 inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); }
413 inline Image& WithExecutionRole(const Aws::String& value) { SetExecutionRole(value); return *this;}
414 inline Image& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;}
415 inline Image& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;}
417
419
422 inline const Aws::Vector<WorkflowConfiguration>& GetWorkflows() const{ return m_workflows; }
423 inline bool WorkflowsHasBeenSet() const { return m_workflowsHasBeenSet; }
424 inline void SetWorkflows(const Aws::Vector<WorkflowConfiguration>& value) { m_workflowsHasBeenSet = true; m_workflows = value; }
425 inline void SetWorkflows(Aws::Vector<WorkflowConfiguration>&& value) { m_workflowsHasBeenSet = true; m_workflows = std::move(value); }
426 inline Image& WithWorkflows(const Aws::Vector<WorkflowConfiguration>& value) { SetWorkflows(value); return *this;}
427 inline Image& WithWorkflows(Aws::Vector<WorkflowConfiguration>&& value) { SetWorkflows(std::move(value)); return *this;}
428 inline Image& AddWorkflows(const WorkflowConfiguration& value) { m_workflowsHasBeenSet = true; m_workflows.push_back(value); return *this; }
429 inline Image& AddWorkflows(WorkflowConfiguration&& value) { m_workflowsHasBeenSet = true; m_workflows.push_back(std::move(value)); return *this; }
431 private:
432
433 Aws::String m_arn;
434 bool m_arnHasBeenSet = false;
435
436 ImageType m_type;
437 bool m_typeHasBeenSet = false;
438
439 Aws::String m_name;
440 bool m_nameHasBeenSet = false;
441
442 Aws::String m_version;
443 bool m_versionHasBeenSet = false;
444
445 Platform m_platform;
446 bool m_platformHasBeenSet = false;
447
448 bool m_enhancedImageMetadataEnabled;
449 bool m_enhancedImageMetadataEnabledHasBeenSet = false;
450
451 Aws::String m_osVersion;
452 bool m_osVersionHasBeenSet = false;
453
454 ImageState m_state;
455 bool m_stateHasBeenSet = false;
456
457 ImageRecipe m_imageRecipe;
458 bool m_imageRecipeHasBeenSet = false;
459
460 ContainerRecipe m_containerRecipe;
461 bool m_containerRecipeHasBeenSet = false;
462
463 Aws::String m_sourcePipelineName;
464 bool m_sourcePipelineNameHasBeenSet = false;
465
466 Aws::String m_sourcePipelineArn;
467 bool m_sourcePipelineArnHasBeenSet = false;
468
469 InfrastructureConfiguration m_infrastructureConfiguration;
470 bool m_infrastructureConfigurationHasBeenSet = false;
471
472 DistributionConfiguration m_distributionConfiguration;
473 bool m_distributionConfigurationHasBeenSet = false;
474
475 ImageTestsConfiguration m_imageTestsConfiguration;
476 bool m_imageTestsConfigurationHasBeenSet = false;
477
478 Aws::String m_dateCreated;
479 bool m_dateCreatedHasBeenSet = false;
480
481 OutputResources m_outputResources;
482 bool m_outputResourcesHasBeenSet = false;
483
485 bool m_tagsHasBeenSet = false;
486
487 BuildType m_buildType;
488 bool m_buildTypeHasBeenSet = false;
489
490 ImageSource m_imageSource;
491 bool m_imageSourceHasBeenSet = false;
492
493 ImageScanState m_scanState;
494 bool m_scanStateHasBeenSet = false;
495
496 ImageScanningConfiguration m_imageScanningConfiguration;
497 bool m_imageScanningConfigurationHasBeenSet = false;
498
499 Aws::Utils::DateTime m_deprecationTime;
500 bool m_deprecationTimeHasBeenSet = false;
501
502 Aws::String m_lifecycleExecutionId;
503 bool m_lifecycleExecutionIdHasBeenSet = false;
504
505 Aws::String m_executionRole;
506 bool m_executionRoleHasBeenSet = false;
507
509 bool m_workflowsHasBeenSet = false;
510 };
511
512} // namespace Model
513} // namespace imagebuilder
514} // namespace Aws
void SetType(const ImageType &value)
Definition Image.h:88
const Aws::String & GetVersion() const
Definition Image.h:125
const OutputResources & GetOutputResources() const
Definition Image.h:295
bool DeprecationTimeHasBeenSet() const
Definition Image.h:381
Image & WithSourcePipelineArn(Aws::String &&value)
Definition Image.h:236
Image & WithImageScanningConfiguration(ImageScanningConfiguration &&value)
Definition Image.h:372
bool DistributionConfigurationHasBeenSet() const
Definition Image.h:258
Image & WithImageScanningConfiguration(const ImageScanningConfiguration &value)
Definition Image.h:371
AWS_IMAGEBUILDER_API Image()
const Aws::String & GetOsVersion() const
Definition Image.h:163
Image & WithOsVersion(const Aws::String &value)
Definition Image.h:168
Image & WithImageTestsConfiguration(const ImageTestsConfiguration &value)
Definition Image.h:273
void SetSourcePipelineArn(Aws::String &&value)
Definition Image.h:233
const Aws::String & GetDateCreated() const
Definition Image.h:281
void SetBuildType(BuildType &&value)
Definition Image.h:334
void SetImageSource(ImageSource &&value)
Definition Image.h:346
bool ImageTestsConfigurationHasBeenSet() const
Definition Image.h:270
Image & WithExecutionRole(const Aws::String &value)
Definition Image.h:413
const Aws::Utils::DateTime & GetDeprecationTime() const
Definition Image.h:380
void SetScanState(const ImageScanState &value)
Definition Image.h:357
void SetImageTestsConfiguration(ImageTestsConfiguration &&value)
Definition Image.h:272
void SetSourcePipelineName(Aws::String &&value)
Definition Image.h:218
bool ImageRecipeHasBeenSet() const
Definition Image.h:191
void SetDistributionConfiguration(DistributionConfiguration &&value)
Definition Image.h:260
void SetDateCreated(Aws::String &&value)
Definition Image.h:284
bool SourcePipelineArnHasBeenSet() const
Definition Image.h:231
const Aws::String & GetArn() const
Definition Image.h:72
const DistributionConfiguration & GetDistributionConfiguration() const
Definition Image.h:257
void SetType(ImageType &&value)
Definition Image.h:89
void SetEnhancedImageMetadataEnabled(bool value)
Definition Image.h:154
Image & WithState(const ImageState &value)
Definition Image.h:181
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourcePipelineArn(const Aws::String &value)
Definition Image.h:232
Image & WithImageRecipe(const ImageRecipe &value)
Definition Image.h:194
Image & WithSourcePipelineName(Aws::String &&value)
Definition Image.h:221
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Image.h:310
bool ImageScanningConfigurationHasBeenSet() const
Definition Image.h:368
void SetWorkflows(const Aws::Vector< WorkflowConfiguration > &value)
Definition Image.h:424
Image & AddTags(Aws::String &&key, const char *value)
Definition Image.h:318
Image & WithDateCreated(Aws::String &&value)
Definition Image.h:287
Image & WithType(const ImageType &value)
Definition Image.h:90
bool OsVersionHasBeenSet() const
Definition Image.h:164
Image & AddWorkflows(WorkflowConfiguration &&value)
Definition Image.h:429
const ImageScanState & GetScanState() const
Definition Image.h:355
Image & WithSourcePipelineName(const char *value)
Definition Image.h:222
const ImageState & GetState() const
Definition Image.h:177
void SetImageScanningConfiguration(ImageScanningConfiguration &&value)
Definition Image.h:370
void SetInfrastructureConfiguration(InfrastructureConfiguration &&value)
Definition Image.h:247
Image & WithName(const Aws::String &value)
Definition Image.h:103
void SetOsVersion(const char *value)
Definition Image.h:167
void SetImageScanningConfiguration(const ImageScanningConfiguration &value)
Definition Image.h:369
void SetExecutionRole(const char *value)
Definition Image.h:412
Image & WithSourcePipelineName(const Aws::String &value)
Definition Image.h:220
Image & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Image.h:311
Image & WithVersion(const Aws::String &value)
Definition Image.h:130
void SetName(Aws::String &&value)
Definition Image.h:101
bool ScanStateHasBeenSet() const
Definition Image.h:356
Image & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Image.h:312
Image & WithArn(const char *value)
Definition Image.h:79
bool ContainerRecipeHasBeenSet() const
Definition Image.h:204
bool DateCreatedHasBeenSet() const
Definition Image.h:282
void SetSourcePipelineName(const char *value)
Definition Image.h:219
bool WorkflowsHasBeenSet() const
Definition Image.h:423
bool SourcePipelineNameHasBeenSet() const
Definition Image.h:216
const ContainerRecipe & GetContainerRecipe() const
Definition Image.h:203
const Aws::String & GetSourcePipelineName() const
Definition Image.h:215
void SetName(const Aws::String &value)
Definition Image.h:100
void SetInfrastructureConfiguration(const InfrastructureConfiguration &value)
Definition Image.h:246
Image & WithType(ImageType &&value)
Definition Image.h:91
Image & WithArn(const Aws::String &value)
Definition Image.h:77
void SetDeprecationTime(Aws::Utils::DateTime &&value)
Definition Image.h:383
bool InfrastructureConfigurationHasBeenSet() const
Definition Image.h:245
Image & WithVersion(const char *value)
Definition Image.h:132
const Aws::String & GetName() const
Definition Image.h:98
Image & WithState(ImageState &&value)
Definition Image.h:182
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
Definition Image.h:422
void SetVersion(Aws::String &&value)
Definition Image.h:128
Image & WithSourcePipelineArn(const Aws::String &value)
Definition Image.h:235
bool ImageSourceHasBeenSet() const
Definition Image.h:344
void SetState(ImageState &&value)
Definition Image.h:180
Image & WithBuildType(const BuildType &value)
Definition Image.h:335
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Image.h:309
void SetState(const ImageState &value)
Definition Image.h:179
void SetOsVersion(const Aws::String &value)
Definition Image.h:165
void SetDateCreated(const Aws::String &value)
Definition Image.h:283
Image & WithScanState(ImageScanState &&value)
Definition Image.h:360
Image & WithDeprecationTime(Aws::Utils::DateTime &&value)
Definition Image.h:385
void SetVersion(const Aws::String &value)
Definition Image.h:127
Image & WithDistributionConfiguration(const DistributionConfiguration &value)
Definition Image.h:261
Image & WithDistributionConfiguration(DistributionConfiguration &&value)
Definition Image.h:262
const Aws::String & GetSourcePipelineArn() const
Definition Image.h:230
Image & WithExecutionRole(const char *value)
Definition Image.h:415
Image & WithImageTestsConfiguration(ImageTestsConfiguration &&value)
Definition Image.h:274
void SetArn(const char *value)
Definition Image.h:76
Image & WithContainerRecipe(const ContainerRecipe &value)
Definition Image.h:207
const ImageType & GetType() const
Definition Image.h:86
Image & WithDeprecationTime(const Aws::Utils::DateTime &value)
Definition Image.h:384
void SetLifecycleExecutionId(Aws::String &&value)
Definition Image.h:396
void SetName(const char *value)
Definition Image.h:102
const Platform & GetPlatform() const
Definition Image.h:139
bool PlatformHasBeenSet() const
Definition Image.h:140
void SetVersion(const char *value)
Definition Image.h:129
Image & WithWorkflows(Aws::Vector< WorkflowConfiguration > &&value)
Definition Image.h:427
Image & WithInfrastructureConfiguration(InfrastructureConfiguration &&value)
Definition Image.h:249
Image & AddTags(const char *key, const char *value)
Definition Image.h:319
Image & WithImageSource(const ImageSource &value)
Definition Image.h:347
Image & WithName(Aws::String &&value)
Definition Image.h:104
Image & WithDateCreated(const Aws::String &value)
Definition Image.h:286
Image & WithOutputResources(OutputResources &&value)
Definition Image.h:300
bool BuildTypeHasBeenSet() const
Definition Image.h:332
void SetDeprecationTime(const Aws::Utils::DateTime &value)
Definition Image.h:382
void SetContainerRecipe(const ContainerRecipe &value)
Definition Image.h:205
Image & WithSourcePipelineArn(const char *value)
Definition Image.h:237
Image & WithVersion(Aws::String &&value)
Definition Image.h:131
Image & WithEnhancedImageMetadataEnabled(bool value)
Definition Image.h:155
void SetArn(Aws::String &&value)
Definition Image.h:75
void SetExecutionRole(const Aws::String &value)
Definition Image.h:410
const InfrastructureConfiguration & GetInfrastructureConfiguration() const
Definition Image.h:244
void SetDateCreated(const char *value)
Definition Image.h:285
void SetContainerRecipe(ContainerRecipe &&value)
Definition Image.h:206
Image & AddTags(Aws::String &&key, Aws::String &&value)
Definition Image.h:316
Image & WithLifecycleExecutionId(const Aws::String &value)
Definition Image.h:398
Image & WithWorkflows(const Aws::Vector< WorkflowConfiguration > &value)
Definition Image.h:426
void SetSourcePipelineName(const Aws::String &value)
Definition Image.h:217
Image & AddWorkflows(const WorkflowConfiguration &value)
Definition Image.h:428
void SetOutputResources(OutputResources &&value)
Definition Image.h:298
void SetOsVersion(Aws::String &&value)
Definition Image.h:166
void SetWorkflows(Aws::Vector< WorkflowConfiguration > &&value)
Definition Image.h:425
const ImageScanningConfiguration & GetImageScanningConfiguration() const
Definition Image.h:367
Image & WithLifecycleExecutionId(const char *value)
Definition Image.h:400
void SetImageSource(const ImageSource &value)
Definition Image.h:345
void SetBuildType(const BuildType &value)
Definition Image.h:333
void SetImageRecipe(const ImageRecipe &value)
Definition Image.h:192
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Image.h:307
Image & WithLifecycleExecutionId(Aws::String &&value)
Definition Image.h:399
const ImageTestsConfiguration & GetImageTestsConfiguration() const
Definition Image.h:269
Image & WithInfrastructureConfiguration(const InfrastructureConfiguration &value)
Definition Image.h:248
bool TypeHasBeenSet() const
Definition Image.h:87
Image & WithImageSource(ImageSource &&value)
Definition Image.h:348
void SetPlatform(const Platform &value)
Definition Image.h:141
AWS_IMAGEBUILDER_API Image(Aws::Utils::Json::JsonView jsonValue)
const ImageSource & GetImageSource() const
Definition Image.h:343
bool EnhancedImageMetadataEnabledHasBeenSet() const
Definition Image.h:153
bool VersionHasBeenSet() const
Definition Image.h:126
Image & WithArn(Aws::String &&value)
Definition Image.h:78
void SetExecutionRole(Aws::String &&value)
Definition Image.h:411
Image & WithName(const char *value)
Definition Image.h:105
Image & WithPlatform(Platform &&value)
Definition Image.h:144
void SetLifecycleExecutionId(const char *value)
Definition Image.h:397
void SetSourcePipelineArn(const char *value)
Definition Image.h:234
Image & AddTags(const Aws::String &key, Aws::String &&value)
Definition Image.h:315
const ImageRecipe & GetImageRecipe() const
Definition Image.h:190
void SetPlatform(Platform &&value)
Definition Image.h:142
void SetDistributionConfiguration(const DistributionConfiguration &value)
Definition Image.h:259
const Aws::String & GetLifecycleExecutionId() const
Definition Image.h:393
const Aws::String & GetExecutionRole() const
Definition Image.h:408
Image & WithDateCreated(const char *value)
Definition Image.h:288
void SetImageRecipe(ImageRecipe &&value)
Definition Image.h:193
void SetScanState(ImageScanState &&value)
Definition Image.h:358
bool OutputResourcesHasBeenSet() const
Definition Image.h:296
Image & AddTags(const Aws::String &key, const Aws::String &value)
Definition Image.h:313
Image & AddTags(Aws::String &&key, const Aws::String &value)
Definition Image.h:314
Image & WithPlatform(const Platform &value)
Definition Image.h:143
const BuildType & GetBuildType() const
Definition Image.h:331
Image & WithScanState(const ImageScanState &value)
Definition Image.h:359
Image & WithOutputResources(const OutputResources &value)
Definition Image.h:299
void SetOutputResources(const OutputResources &value)
Definition Image.h:297
Image & WithImageRecipe(ImageRecipe &&value)
Definition Image.h:195
bool ExecutionRoleHasBeenSet() const
Definition Image.h:409
Image & WithExecutionRole(Aws::String &&value)
Definition Image.h:414
Image & WithContainerRecipe(ContainerRecipe &&value)
Definition Image.h:208
Image & WithOsVersion(Aws::String &&value)
Definition Image.h:169
bool NameHasBeenSet() const
Definition Image.h:99
void SetLifecycleExecutionId(const Aws::String &value)
Definition Image.h:395
bool LifecycleExecutionIdHasBeenSet() const
Definition Image.h:394
void SetArn(const Aws::String &value)
Definition Image.h:74
void SetImageTestsConfiguration(const ImageTestsConfiguration &value)
Definition Image.h:271
Image & WithOsVersion(const char *value)
Definition Image.h:170
Image & WithBuildType(BuildType &&value)
Definition Image.h:336
AWS_IMAGEBUILDER_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetEnhancedImageMetadataEnabled() const
Definition Image.h:152
Image & AddTags(const char *key, Aws::String &&value)
Definition Image.h:317
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