7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/model/ImageTestsConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/imagebuilder/model/WorkflowConfiguration.h>
16#include <aws/core/utils/UUID.h>
48 template<
typename ImageRecipeArnT = Aws::String>
49 void SetImageRecipeArn(ImageRecipeArnT&& value) { m_imageRecipeArnHasBeenSet =
true; m_imageRecipeArn = std::forward<ImageRecipeArnT>(value); }
50 template<
typename ImageRecipeArnT = Aws::String>
61 template<
typename ContainerRecipeArnT = Aws::String>
62 void SetContainerRecipeArn(ContainerRecipeArnT&& value) { m_containerRecipeArnHasBeenSet =
true; m_containerRecipeArn = std::forward<ContainerRecipeArnT>(value); }
63 template<
typename ContainerRecipeArnT = Aws::String>
74 template<
typename DistributionConfigurationArnT = Aws::String>
75 void SetDistributionConfigurationArn(DistributionConfigurationArnT&& value) { m_distributionConfigurationArnHasBeenSet =
true; m_distributionConfigurationArn = std::forward<DistributionConfigurationArnT>(value); }
76 template<
typename DistributionConfigurationArnT = Aws::String>
87 template<
typename InfrastructureConfigurationArnT = Aws::String>
88 void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT&& value) { m_infrastructureConfigurationArnHasBeenSet =
true; m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value); }
89 template<
typename InfrastructureConfigurationArnT = Aws::String>
99 template<
typename ImageTestsConfigurationT = ImageTestsConfiguration>
100 void SetImageTestsConfiguration(ImageTestsConfigurationT&& value) { m_imageTestsConfigurationHasBeenSet =
true; m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value); }
101 template<
typename ImageTestsConfigurationT = ImageTestsConfiguration>
124 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
126 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
130 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
143 template<
typename ClientTokenT = Aws::String>
144 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
145 template<
typename ClientTokenT = Aws::String>
155 template<
typename ImageScanningConfigurationT = ImageScanningConfiguration>
156 void SetImageScanningConfiguration(ImageScanningConfigurationT&& value) { m_imageScanningConfigurationHasBeenSet =
true; m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value); }
157 template<
typename ImageScanningConfigurationT = ImageScanningConfiguration>
167 template<
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
168 void SetWorkflows(WorkflowsT&& value) { m_workflowsHasBeenSet =
true; m_workflows = std::forward<WorkflowsT>(value); }
169 template<
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
171 template<
typename WorkflowsT = WorkflowConfiguration>
182 template<
typename ExecutionRoleT = Aws::String>
183 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet =
true; m_executionRole = std::forward<ExecutionRoleT>(value); }
184 template<
typename ExecutionRoleT = Aws::String>
190 bool m_imageRecipeArnHasBeenSet =
false;
193 bool m_containerRecipeArnHasBeenSet =
false;
196 bool m_distributionConfigurationArnHasBeenSet =
false;
199 bool m_infrastructureConfigurationArnHasBeenSet =
false;
201 ImageTestsConfiguration m_imageTestsConfiguration;
202 bool m_imageTestsConfigurationHasBeenSet =
false;
204 bool m_enhancedImageMetadataEnabled{
false};
205 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
208 bool m_tagsHasBeenSet =
false;
211 bool m_clientTokenHasBeenSet =
true;
213 ImageScanningConfiguration m_imageScanningConfiguration;
214 bool m_imageScanningConfigurationHasBeenSet =
false;
217 bool m_workflowsHasBeenSet =
false;
220 bool m_executionRoleHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
bool ContainerRecipeArnHasBeenSet() const
const Aws::String & GetExecutionRole() const
CreateImageRequest & WithImageTestsConfiguration(ImageTestsConfigurationT &&value)
CreateImageRequest & WithWorkflows(WorkflowsT &&value)
CreateImageRequest & WithClientToken(ClientTokenT &&value)
bool ImageTestsConfigurationHasBeenSet() const
AWS_IMAGEBUILDER_API CreateImageRequest()=default
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
const Aws::String & GetInfrastructureConfigurationArn() const
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
void SetImageTestsConfiguration(ImageTestsConfigurationT &&value)
void SetDistributionConfigurationArn(DistributionConfigurationArnT &&value)
bool DistributionConfigurationArnHasBeenSet() const
const ImageTestsConfiguration & GetImageTestsConfiguration() const
virtual const char * GetServiceRequestName() const override
CreateImageRequest & WithImageScanningConfiguration(ImageScanningConfigurationT &&value)
const Aws::String & GetImageRecipeArn() const
void SetContainerRecipeArn(ContainerRecipeArnT &&value)
void SetImageRecipeArn(ImageRecipeArnT &&value)
CreateImageRequest & WithContainerRecipeArn(ContainerRecipeArnT &&value)
void SetEnhancedImageMetadataEnabled(bool value)
CreateImageRequest & AddWorkflows(WorkflowsT &&value)
void SetImageScanningConfiguration(ImageScanningConfigurationT &&value)
bool ClientTokenHasBeenSet() const
bool InfrastructureConfigurationArnHasBeenSet() const
bool EnhancedImageMetadataEnabledHasBeenSet() const
CreateImageRequest & WithExecutionRole(ExecutionRoleT &&value)
CreateImageRequest & WithEnhancedImageMetadataEnabled(bool value)
CreateImageRequest & WithInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetInfrastructureConfigurationArn(InfrastructureConfigurationArnT &&value)
bool ExecutionRoleHasBeenSet() const
bool GetEnhancedImageMetadataEnabled() const
bool ImageRecipeArnHasBeenSet() const
bool TagsHasBeenSet() const
bool WorkflowsHasBeenSet() const
const Aws::String & GetContainerRecipeArn() const
const ImageScanningConfiguration & GetImageScanningConfiguration() const
CreateImageRequest & WithTags(TagsT &&value)
void SetExecutionRole(ExecutionRoleT &&value)
bool ImageScanningConfigurationHasBeenSet() const
void SetTags(TagsT &&value)
CreateImageRequest & WithImageRecipeArn(ImageRecipeArnT &&value)
CreateImageRequest & WithDistributionConfigurationArn(DistributionConfigurationArnT &&value)
const Aws::String & GetDistributionConfigurationArn() const
void SetWorkflows(WorkflowsT &&value)
CreateImageRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
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