AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ArnT = Aws::String>
75 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
76 template<typename ArnT = Aws::String>
77 Image& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
79
81
84 inline ImageType GetType() const { return m_type; }
85 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
86 inline void SetType(ImageType value) { m_typeHasBeenSet = true; m_type = value; }
87 inline Image& WithType(ImageType value) { SetType(value); return *this;}
89
91
94 inline const Aws::String& GetName() const { return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 template<typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
98 template<typename NameT = Aws::String>
99 Image& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
101
103
119 inline const Aws::String& GetVersion() const { return m_version; }
120 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
121 template<typename VersionT = Aws::String>
122 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
123 template<typename VersionT = Aws::String>
124 Image& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
126
128
131 inline Platform GetPlatform() const { return m_platform; }
132 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
133 inline void SetPlatform(Platform value) { m_platformHasBeenSet = true; m_platform = value; }
134 inline Image& WithPlatform(Platform value) { SetPlatform(value); return *this;}
136
138
142 inline bool GetEnhancedImageMetadataEnabled() const { return m_enhancedImageMetadataEnabled; }
143 inline bool EnhancedImageMetadataEnabledHasBeenSet() const { return m_enhancedImageMetadataEnabledHasBeenSet; }
144 inline void SetEnhancedImageMetadataEnabled(bool value) { m_enhancedImageMetadataEnabledHasBeenSet = true; m_enhancedImageMetadataEnabled = value; }
145 inline Image& WithEnhancedImageMetadataEnabled(bool value) { SetEnhancedImageMetadataEnabled(value); return *this;}
147
149
153 inline const Aws::String& GetOsVersion() const { return m_osVersion; }
154 inline bool OsVersionHasBeenSet() const { return m_osVersionHasBeenSet; }
155 template<typename OsVersionT = Aws::String>
156 void SetOsVersion(OsVersionT&& value) { m_osVersionHasBeenSet = true; m_osVersion = std::forward<OsVersionT>(value); }
157 template<typename OsVersionT = Aws::String>
158 Image& WithOsVersion(OsVersionT&& value) { SetOsVersion(std::forward<OsVersionT>(value)); return *this;}
160
162
165 inline const ImageState& GetState() const { return m_state; }
166 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
167 template<typename StateT = ImageState>
168 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
169 template<typename StateT = ImageState>
170 Image& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
172
174
178 inline const ImageRecipe& GetImageRecipe() const { return m_imageRecipe; }
179 inline bool ImageRecipeHasBeenSet() const { return m_imageRecipeHasBeenSet; }
180 template<typename ImageRecipeT = ImageRecipe>
181 void SetImageRecipe(ImageRecipeT&& value) { m_imageRecipeHasBeenSet = true; m_imageRecipe = std::forward<ImageRecipeT>(value); }
182 template<typename ImageRecipeT = ImageRecipe>
183 Image& WithImageRecipe(ImageRecipeT&& value) { SetImageRecipe(std::forward<ImageRecipeT>(value)); return *this;}
185
187
191 inline const ContainerRecipe& GetContainerRecipe() const { return m_containerRecipe; }
192 inline bool ContainerRecipeHasBeenSet() const { return m_containerRecipeHasBeenSet; }
193 template<typename ContainerRecipeT = ContainerRecipe>
194 void SetContainerRecipe(ContainerRecipeT&& value) { m_containerRecipeHasBeenSet = true; m_containerRecipe = std::forward<ContainerRecipeT>(value); }
195 template<typename ContainerRecipeT = ContainerRecipe>
196 Image& WithContainerRecipe(ContainerRecipeT&& value) { SetContainerRecipe(std::forward<ContainerRecipeT>(value)); return *this;}
198
200
203 inline const Aws::String& GetSourcePipelineName() const { return m_sourcePipelineName; }
204 inline bool SourcePipelineNameHasBeenSet() const { return m_sourcePipelineNameHasBeenSet; }
205 template<typename SourcePipelineNameT = Aws::String>
206 void SetSourcePipelineName(SourcePipelineNameT&& value) { m_sourcePipelineNameHasBeenSet = true; m_sourcePipelineName = std::forward<SourcePipelineNameT>(value); }
207 template<typename SourcePipelineNameT = Aws::String>
208 Image& WithSourcePipelineName(SourcePipelineNameT&& value) { SetSourcePipelineName(std::forward<SourcePipelineNameT>(value)); return *this;}
210
212
216 inline const Aws::String& GetSourcePipelineArn() const { return m_sourcePipelineArn; }
217 inline bool SourcePipelineArnHasBeenSet() const { return m_sourcePipelineArnHasBeenSet; }
218 template<typename SourcePipelineArnT = Aws::String>
219 void SetSourcePipelineArn(SourcePipelineArnT&& value) { m_sourcePipelineArnHasBeenSet = true; m_sourcePipelineArn = std::forward<SourcePipelineArnT>(value); }
220 template<typename SourcePipelineArnT = Aws::String>
221 Image& WithSourcePipelineArn(SourcePipelineArnT&& value) { SetSourcePipelineArn(std::forward<SourcePipelineArnT>(value)); return *this;}
223
225
228 inline const InfrastructureConfiguration& GetInfrastructureConfiguration() const { return m_infrastructureConfiguration; }
229 inline bool InfrastructureConfigurationHasBeenSet() const { return m_infrastructureConfigurationHasBeenSet; }
230 template<typename InfrastructureConfigurationT = InfrastructureConfiguration>
231 void SetInfrastructureConfiguration(InfrastructureConfigurationT&& value) { m_infrastructureConfigurationHasBeenSet = true; m_infrastructureConfiguration = std::forward<InfrastructureConfigurationT>(value); }
232 template<typename InfrastructureConfigurationT = InfrastructureConfiguration>
233 Image& WithInfrastructureConfiguration(InfrastructureConfigurationT&& value) { SetInfrastructureConfiguration(std::forward<InfrastructureConfigurationT>(value)); return *this;}
235
237
241 inline const DistributionConfiguration& GetDistributionConfiguration() const { return m_distributionConfiguration; }
242 inline bool DistributionConfigurationHasBeenSet() const { return m_distributionConfigurationHasBeenSet; }
243 template<typename DistributionConfigurationT = DistributionConfiguration>
244 void SetDistributionConfiguration(DistributionConfigurationT&& value) { m_distributionConfigurationHasBeenSet = true; m_distributionConfiguration = std::forward<DistributionConfigurationT>(value); }
245 template<typename DistributionConfigurationT = DistributionConfiguration>
246 Image& WithDistributionConfiguration(DistributionConfigurationT&& value) { SetDistributionConfiguration(std::forward<DistributionConfigurationT>(value)); return *this;}
248
250
253 inline const ImageTestsConfiguration& GetImageTestsConfiguration() const { return m_imageTestsConfiguration; }
254 inline bool ImageTestsConfigurationHasBeenSet() const { return m_imageTestsConfigurationHasBeenSet; }
255 template<typename ImageTestsConfigurationT = ImageTestsConfiguration>
256 void SetImageTestsConfiguration(ImageTestsConfigurationT&& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value); }
257 template<typename ImageTestsConfigurationT = ImageTestsConfiguration>
258 Image& WithImageTestsConfiguration(ImageTestsConfigurationT&& value) { SetImageTestsConfiguration(std::forward<ImageTestsConfigurationT>(value)); return *this;}
260
262
265 inline const Aws::String& GetDateCreated() const { return m_dateCreated; }
266 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
267 template<typename DateCreatedT = Aws::String>
268 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::forward<DateCreatedT>(value); }
269 template<typename DateCreatedT = Aws::String>
270 Image& WithDateCreated(DateCreatedT&& value) { SetDateCreated(std::forward<DateCreatedT>(value)); return *this;}
272
274
277 inline const OutputResources& GetOutputResources() const { return m_outputResources; }
278 inline bool OutputResourcesHasBeenSet() const { return m_outputResourcesHasBeenSet; }
279 template<typename OutputResourcesT = OutputResources>
280 void SetOutputResources(OutputResourcesT&& value) { m_outputResourcesHasBeenSet = true; m_outputResources = std::forward<OutputResourcesT>(value); }
281 template<typename OutputResourcesT = OutputResources>
282 Image& WithOutputResources(OutputResourcesT&& value) { SetOutputResources(std::forward<OutputResourcesT>(value)); return *this;}
284
286
289 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
290 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
291 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
292 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
293 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
294 Image& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
295 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
296 Image& AddTags(TagsKeyT&& key, TagsValueT&& value) {
297 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
298 }
300
302
311 inline BuildType GetBuildType() const { return m_buildType; }
312 inline bool BuildTypeHasBeenSet() const { return m_buildTypeHasBeenSet; }
313 inline void SetBuildType(BuildType value) { m_buildTypeHasBeenSet = true; m_buildType = value; }
314 inline Image& WithBuildType(BuildType value) { SetBuildType(value); return *this;}
316
318
321 inline ImageSource GetImageSource() const { return m_imageSource; }
322 inline bool ImageSourceHasBeenSet() const { return m_imageSourceHasBeenSet; }
323 inline void SetImageSource(ImageSource value) { m_imageSourceHasBeenSet = true; m_imageSource = value; }
324 inline Image& WithImageSource(ImageSource value) { SetImageSource(value); return *this;}
326
328
331 inline const ImageScanState& GetScanState() const { return m_scanState; }
332 inline bool ScanStateHasBeenSet() const { return m_scanStateHasBeenSet; }
333 template<typename ScanStateT = ImageScanState>
334 void SetScanState(ScanStateT&& value) { m_scanStateHasBeenSet = true; m_scanState = std::forward<ScanStateT>(value); }
335 template<typename ScanStateT = ImageScanState>
336 Image& WithScanState(ScanStateT&& value) { SetScanState(std::forward<ScanStateT>(value)); return *this;}
338
340
343 inline const ImageScanningConfiguration& GetImageScanningConfiguration() const { return m_imageScanningConfiguration; }
344 inline bool ImageScanningConfigurationHasBeenSet() const { return m_imageScanningConfigurationHasBeenSet; }
345 template<typename ImageScanningConfigurationT = ImageScanningConfiguration>
346 void SetImageScanningConfiguration(ImageScanningConfigurationT&& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value); }
347 template<typename ImageScanningConfigurationT = ImageScanningConfiguration>
348 Image& WithImageScanningConfiguration(ImageScanningConfigurationT&& value) { SetImageScanningConfiguration(std::forward<ImageScanningConfigurationT>(value)); return *this;}
350
352
356 inline const Aws::Utils::DateTime& GetDeprecationTime() const { return m_deprecationTime; }
357 inline bool DeprecationTimeHasBeenSet() const { return m_deprecationTimeHasBeenSet; }
358 template<typename DeprecationTimeT = Aws::Utils::DateTime>
359 void SetDeprecationTime(DeprecationTimeT&& value) { m_deprecationTimeHasBeenSet = true; m_deprecationTime = std::forward<DeprecationTimeT>(value); }
360 template<typename DeprecationTimeT = Aws::Utils::DateTime>
361 Image& WithDeprecationTime(DeprecationTimeT&& value) { SetDeprecationTime(std::forward<DeprecationTimeT>(value)); return *this;}
363
365
369 inline const Aws::String& GetLifecycleExecutionId() const { return m_lifecycleExecutionId; }
370 inline bool LifecycleExecutionIdHasBeenSet() const { return m_lifecycleExecutionIdHasBeenSet; }
371 template<typename LifecycleExecutionIdT = Aws::String>
372 void SetLifecycleExecutionId(LifecycleExecutionIdT&& value) { m_lifecycleExecutionIdHasBeenSet = true; m_lifecycleExecutionId = std::forward<LifecycleExecutionIdT>(value); }
373 template<typename LifecycleExecutionIdT = Aws::String>
374 Image& WithLifecycleExecutionId(LifecycleExecutionIdT&& value) { SetLifecycleExecutionId(std::forward<LifecycleExecutionIdT>(value)); return *this;}
376
378
382 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
383 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
384 template<typename ExecutionRoleT = Aws::String>
385 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::forward<ExecutionRoleT>(value); }
386 template<typename ExecutionRoleT = Aws::String>
387 Image& WithExecutionRole(ExecutionRoleT&& value) { SetExecutionRole(std::forward<ExecutionRoleT>(value)); return *this;}
389
391
394 inline const Aws::Vector<WorkflowConfiguration>& GetWorkflows() const { return m_workflows; }
395 inline bool WorkflowsHasBeenSet() const { return m_workflowsHasBeenSet; }
396 template<typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
397 void SetWorkflows(WorkflowsT&& value) { m_workflowsHasBeenSet = true; m_workflows = std::forward<WorkflowsT>(value); }
398 template<typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
399 Image& WithWorkflows(WorkflowsT&& value) { SetWorkflows(std::forward<WorkflowsT>(value)); return *this;}
400 template<typename WorkflowsT = WorkflowConfiguration>
401 Image& AddWorkflows(WorkflowsT&& value) { m_workflowsHasBeenSet = true; m_workflows.emplace_back(std::forward<WorkflowsT>(value)); return *this; }
403 private:
404
405 Aws::String m_arn;
406 bool m_arnHasBeenSet = false;
407
409 bool m_typeHasBeenSet = false;
410
411 Aws::String m_name;
412 bool m_nameHasBeenSet = false;
413
414 Aws::String m_version;
415 bool m_versionHasBeenSet = false;
416
417 Platform m_platform{Platform::NOT_SET};
418 bool m_platformHasBeenSet = false;
419
420 bool m_enhancedImageMetadataEnabled{false};
421 bool m_enhancedImageMetadataEnabledHasBeenSet = false;
422
423 Aws::String m_osVersion;
424 bool m_osVersionHasBeenSet = false;
425
426 ImageState m_state;
427 bool m_stateHasBeenSet = false;
428
429 ImageRecipe m_imageRecipe;
430 bool m_imageRecipeHasBeenSet = false;
431
432 ContainerRecipe m_containerRecipe;
433 bool m_containerRecipeHasBeenSet = false;
434
435 Aws::String m_sourcePipelineName;
436 bool m_sourcePipelineNameHasBeenSet = false;
437
438 Aws::String m_sourcePipelineArn;
439 bool m_sourcePipelineArnHasBeenSet = false;
440
441 InfrastructureConfiguration m_infrastructureConfiguration;
442 bool m_infrastructureConfigurationHasBeenSet = false;
443
444 DistributionConfiguration m_distributionConfiguration;
445 bool m_distributionConfigurationHasBeenSet = false;
446
447 ImageTestsConfiguration m_imageTestsConfiguration;
448 bool m_imageTestsConfigurationHasBeenSet = false;
449
450 Aws::String m_dateCreated;
451 bool m_dateCreatedHasBeenSet = false;
452
453 OutputResources m_outputResources;
454 bool m_outputResourcesHasBeenSet = false;
455
457 bool m_tagsHasBeenSet = false;
458
459 BuildType m_buildType{BuildType::NOT_SET};
460 bool m_buildTypeHasBeenSet = false;
461
462 ImageSource m_imageSource{ImageSource::NOT_SET};
463 bool m_imageSourceHasBeenSet = false;
464
465 ImageScanState m_scanState;
466 bool m_scanStateHasBeenSet = false;
467
468 ImageScanningConfiguration m_imageScanningConfiguration;
469 bool m_imageScanningConfigurationHasBeenSet = false;
470
471 Aws::Utils::DateTime m_deprecationTime{};
472 bool m_deprecationTimeHasBeenSet = false;
473
474 Aws::String m_lifecycleExecutionId;
475 bool m_lifecycleExecutionIdHasBeenSet = false;
476
477 Aws::String m_executionRole;
478 bool m_executionRoleHasBeenSet = false;
479
481 bool m_workflowsHasBeenSet = false;
482 };
483
484} // namespace Model
485} // namespace imagebuilder
486} // namespace Aws
const Aws::String & GetVersion() const
Definition Image.h:119
void SetType(ImageType value)
Definition Image.h:86
const OutputResources & GetOutputResources() const
Definition Image.h:277
bool DeprecationTimeHasBeenSet() const
Definition Image.h:357
void SetImageTestsConfiguration(ImageTestsConfigurationT &&value)
Definition Image.h:256
bool DistributionConfigurationHasBeenSet() const
Definition Image.h:242
Image & AddWorkflows(WorkflowsT &&value)
Definition Image.h:401
const Aws::String & GetOsVersion() const
Definition Image.h:153
void SetLifecycleExecutionId(LifecycleExecutionIdT &&value)
Definition Image.h:372
const Aws::String & GetDateCreated() const
Definition Image.h:265
Image & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Image.h:296
ImageType GetType() const
Definition Image.h:84
bool ImageTestsConfigurationHasBeenSet() const
Definition Image.h:254
void SetArn(ArnT &&value)
Definition Image.h:75
Image & WithImageScanningConfiguration(ImageScanningConfigurationT &&value)
Definition Image.h:348
const Aws::Utils::DateTime & GetDeprecationTime() const
Definition Image.h:356
void SetDateCreated(DateCreatedT &&value)
Definition Image.h:268
bool ImageRecipeHasBeenSet() const
Definition Image.h:179
Image & WithSourcePipelineArn(SourcePipelineArnT &&value)
Definition Image.h:221
bool SourcePipelineArnHasBeenSet() const
Definition Image.h:217
const Aws::String & GetArn() const
Definition Image.h:72
const DistributionConfiguration & GetDistributionConfiguration() const
Definition Image.h:241
void SetBuildType(BuildType value)
Definition Image.h:313
Image & WithType(ImageType value)
Definition Image.h:87
void SetEnhancedImageMetadataEnabled(bool value)
Definition Image.h:144
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ImageScanningConfigurationHasBeenSet() const
Definition Image.h:344
bool OsVersionHasBeenSet() const
Definition Image.h:154
const ImageScanState & GetScanState() const
Definition Image.h:331
const ImageState & GetState() const
Definition Image.h:165
Image & WithDeprecationTime(DeprecationTimeT &&value)
Definition Image.h:361
void SetOsVersion(OsVersionT &&value)
Definition Image.h:156
Image & WithPlatform(Platform value)
Definition Image.h:134
bool ScanStateHasBeenSet() const
Definition Image.h:332
bool ContainerRecipeHasBeenSet() const
Definition Image.h:192
bool DateCreatedHasBeenSet() const
Definition Image.h:266
bool WorkflowsHasBeenSet() const
Definition Image.h:395
bool SourcePipelineNameHasBeenSet() const
Definition Image.h:204
const ContainerRecipe & GetContainerRecipe() const
Definition Image.h:191
const Aws::String & GetSourcePipelineName() const
Definition Image.h:203
bool InfrastructureConfigurationHasBeenSet() const
Definition Image.h:229
void SetVersion(VersionT &&value)
Definition Image.h:122
void SetImageScanningConfiguration(ImageScanningConfigurationT &&value)
Definition Image.h:346
const Aws::String & GetName() const
Definition Image.h:94
Image & WithImageSource(ImageSource value)
Definition Image.h:324
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
Definition Image.h:394
Image & WithOutputResources(OutputResourcesT &&value)
Definition Image.h:282
bool ImageSourceHasBeenSet() const
Definition Image.h:322
Image & WithDistributionConfiguration(DistributionConfigurationT &&value)
Definition Image.h:246
Platform GetPlatform() const
Definition Image.h:131
const Aws::String & GetSourcePipelineArn() const
Definition Image.h:216
void SetDeprecationTime(DeprecationTimeT &&value)
Definition Image.h:359
Image & WithWorkflows(WorkflowsT &&value)
Definition Image.h:399
void SetImageRecipe(ImageRecipeT &&value)
Definition Image.h:181
bool PlatformHasBeenSet() const
Definition Image.h:132
Image & WithVersion(VersionT &&value)
Definition Image.h:124
Image & WithImageRecipe(ImageRecipeT &&value)
Definition Image.h:183
void SetTags(TagsT &&value)
Definition Image.h:292
void SetSourcePipelineName(SourcePipelineNameT &&value)
Definition Image.h:206
Image & WithExecutionRole(ExecutionRoleT &&value)
Definition Image.h:387
Image & WithLifecycleExecutionId(LifecycleExecutionIdT &&value)
Definition Image.h:374
bool BuildTypeHasBeenSet() const
Definition Image.h:312
Image & WithTags(TagsT &&value)
Definition Image.h:294
Image & WithEnhancedImageMetadataEnabled(bool value)
Definition Image.h:145
const InfrastructureConfiguration & GetInfrastructureConfiguration() const
Definition Image.h:228
Image & WithSourcePipelineName(SourcePipelineNameT &&value)
Definition Image.h:208
void SetName(NameT &&value)
Definition Image.h:97
void SetPlatform(Platform value)
Definition Image.h:133
const ImageScanningConfiguration & GetImageScanningConfiguration() const
Definition Image.h:343
Image & WithInfrastructureConfiguration(InfrastructureConfigurationT &&value)
Definition Image.h:233
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Image.h:289
Image & WithImageTestsConfiguration(ImageTestsConfigurationT &&value)
Definition Image.h:258
const ImageTestsConfiguration & GetImageTestsConfiguration() const
Definition Image.h:253
bool TypeHasBeenSet() const
Definition Image.h:85
Image & WithContainerRecipe(ContainerRecipeT &&value)
Definition Image.h:196
void SetExecutionRole(ExecutionRoleT &&value)
Definition Image.h:385
Image & WithOsVersion(OsVersionT &&value)
Definition Image.h:158
AWS_IMAGEBUILDER_API Image(Aws::Utils::Json::JsonView jsonValue)
void SetScanState(ScanStateT &&value)
Definition Image.h:334
void SetState(StateT &&value)
Definition Image.h:168
bool EnhancedImageMetadataEnabledHasBeenSet() const
Definition Image.h:143
bool VersionHasBeenSet() const
Definition Image.h:120
ImageSource GetImageSource() const
Definition Image.h:321
BuildType GetBuildType() const
Definition Image.h:311
Image & WithState(StateT &&value)
Definition Image.h:170
Image & WithName(NameT &&value)
Definition Image.h:99
Image & WithArn(ArnT &&value)
Definition Image.h:77
const ImageRecipe & GetImageRecipe() const
Definition Image.h:178
const Aws::String & GetLifecycleExecutionId() const
Definition Image.h:369
const Aws::String & GetExecutionRole() const
Definition Image.h:382
void SetWorkflows(WorkflowsT &&value)
Definition Image.h:397
bool OutputResourcesHasBeenSet() const
Definition Image.h:278
void SetImageSource(ImageSource value)
Definition Image.h:323
void SetInfrastructureConfiguration(InfrastructureConfigurationT &&value)
Definition Image.h:231
Image & WithBuildType(BuildType value)
Definition Image.h:314
bool ExecutionRoleHasBeenSet() const
Definition Image.h:383
Image & WithScanState(ScanStateT &&value)
Definition Image.h:336
bool NameHasBeenSet() const
Definition Image.h:95
bool LifecycleExecutionIdHasBeenSet() const
Definition Image.h:370
Image & WithDateCreated(DateCreatedT &&value)
Definition Image.h:270
AWS_IMAGEBUILDER_API Image()=default
void SetDistributionConfiguration(DistributionConfigurationT &&value)
Definition Image.h:244
void SetSourcePipelineArn(SourcePipelineArnT &&value)
Definition Image.h:219
AWS_IMAGEBUILDER_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetEnhancedImageMetadataEnabled() const
Definition Image.h:142
void SetContainerRecipe(ContainerRecipeT &&value)
Definition Image.h:194
void SetOutputResources(OutputResourcesT &&value)
Definition Image.h:280
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