7#include <aws/core/utils/UUID.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/ImagebuilderRequest.h>
12#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
13#include <aws/imagebuilder/model/ImageLoggingConfiguration.h>
14#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
15#include <aws/imagebuilder/model/ImageTestsConfiguration.h>
16#include <aws/imagebuilder/model/WorkflowConfiguration.h>
21namespace imagebuilder {
46 template <
typename ImageRecipeArnT = Aws::String>
48 m_imageRecipeArnHasBeenSet =
true;
49 m_imageRecipeArn = std::forward<ImageRecipeArnT>(value);
51 template <
typename ImageRecipeArnT = Aws::String>
66 template <
typename ContainerRecipeArnT = Aws::String>
68 m_containerRecipeArnHasBeenSet =
true;
69 m_containerRecipeArn = std::forward<ContainerRecipeArnT>(value);
71 template <
typename ContainerRecipeArnT = Aws::String>
87 template <
typename DistributionConfigurationArnT = Aws::String>
89 m_distributionConfigurationArnHasBeenSet =
true;
90 m_distributionConfigurationArn = std::forward<DistributionConfigurationArnT>(value);
92 template <
typename DistributionConfigurationArnT = Aws::String>
106 template <
typename InfrastructureConfigurationArnT = Aws::String>
108 m_infrastructureConfigurationArnHasBeenSet =
true;
109 m_infrastructureConfigurationArn = std::forward<InfrastructureConfigurationArnT>(value);
111 template <
typename InfrastructureConfigurationArnT = Aws::String>
125 template <
typename ImageTestsConfigurationT = ImageTestsConfiguration>
127 m_imageTestsConfigurationHasBeenSet =
true;
128 m_imageTestsConfiguration = std::forward<ImageTestsConfigurationT>(value);
130 template <
typename ImageTestsConfigurationT = ImageTestsConfiguration>
146 m_enhancedImageMetadataEnabledHasBeenSet =
true;
147 m_enhancedImageMetadataEnabled = value;
161 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
163 m_tagsHasBeenSet =
true;
164 m_tags = std::forward<TagsT>(value);
166 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 SetTags(std::forward<TagsT>(value));
171 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
173 m_tagsHasBeenSet =
true;
174 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
190 template <
typename ClientTokenT = Aws::String>
192 m_clientTokenHasBeenSet =
true;
193 m_clientToken = std::forward<ClientTokenT>(value);
195 template <
typename ClientTokenT = Aws::String>
212 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
214 m_imageScanningConfigurationHasBeenSet =
true;
215 m_imageScanningConfiguration = std::forward<ImageScanningConfigurationT>(value);
217 template <
typename ImageScanningConfigurationT = ImageScanningConfiguration>
232 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
234 m_workflowsHasBeenSet =
true;
235 m_workflows = std::forward<WorkflowsT>(value);
237 template <
typename WorkflowsT = Aws::Vector<WorkflowConfiguration>>
242 template <
typename WorkflowsT = WorkflowConfiguration>
244 m_workflowsHasBeenSet =
true;
245 m_workflows.emplace_back(std::forward<WorkflowsT>(value));
260 template <
typename ExecutionRoleT = Aws::String>
262 m_executionRoleHasBeenSet =
true;
263 m_executionRole = std::forward<ExecutionRoleT>(value);
265 template <
typename ExecutionRoleT = Aws::String>
281 template <
typename LoggingConfigurationT = ImageLoggingConfiguration>
283 m_loggingConfigurationHasBeenSet =
true;
284 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
286 template <
typename LoggingConfigurationT = ImageLoggingConfiguration>
301 ImageTestsConfiguration m_imageTestsConfiguration;
303 bool m_enhancedImageMetadataEnabled{
false};
309 ImageScanningConfiguration m_imageScanningConfiguration;
315 ImageLoggingConfiguration m_loggingConfiguration;
316 bool m_imageRecipeArnHasBeenSet =
false;
317 bool m_containerRecipeArnHasBeenSet =
false;
318 bool m_distributionConfigurationArnHasBeenSet =
false;
319 bool m_infrastructureConfigurationArnHasBeenSet =
false;
320 bool m_imageTestsConfigurationHasBeenSet =
false;
321 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
322 bool m_tagsHasBeenSet =
false;
323 bool m_clientTokenHasBeenSet =
true;
324 bool m_imageScanningConfigurationHasBeenSet =
false;
325 bool m_workflowsHasBeenSet =
false;
326 bool m_executionRoleHasBeenSet =
false;
327 bool m_loggingConfigurationHasBeenSet =
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
bool LoggingConfigurationHasBeenSet() const
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
void SetImageTestsConfiguration(ImageTestsConfigurationT &&value)
void SetLoggingConfiguration(LoggingConfigurationT &&value)
void SetDistributionConfigurationArn(DistributionConfigurationArnT &&value)
bool DistributionConfigurationArnHasBeenSet() const
const ImageTestsConfiguration & GetImageTestsConfiguration() const
virtual const char * GetServiceRequestName() const override
CreateImageRequest & WithLoggingConfiguration(LoggingConfigurationT &&value)
CreateImageRequest & WithImageScanningConfiguration(ImageScanningConfigurationT &&value)
const Aws::String & GetImageRecipeArn() const
void SetContainerRecipeArn(ContainerRecipeArnT &&value)
const ImageLoggingConfiguration & GetLoggingConfiguration() const
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