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>
50 inline void SetImageRecipeArn(
const char* value) { m_imageRecipeArnHasBeenSet =
true; m_imageRecipeArn.assign(value); }
65 inline void SetContainerRecipeArn(
const char* value) { m_containerRecipeArnHasBeenSet =
true; m_containerRecipeArn.assign(value); }
107 inline void SetImageTestsConfiguration(
const ImageTestsConfiguration& value) { m_imageTestsConfigurationHasBeenSet =
true; m_imageTestsConfiguration = value; }
108 inline void SetImageTestsConfiguration(ImageTestsConfiguration&& value) { m_imageTestsConfigurationHasBeenSet =
true; m_imageTestsConfiguration = std::move(value); }
142 inline CreateImageRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
156 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
197 inline void SetExecutionRole(
const char* value) { m_executionRoleHasBeenSet =
true; m_executionRole.assign(value); }
205 bool m_imageRecipeArnHasBeenSet =
false;
208 bool m_containerRecipeArnHasBeenSet =
false;
211 bool m_distributionConfigurationArnHasBeenSet =
false;
214 bool m_infrastructureConfigurationArnHasBeenSet =
false;
216 ImageTestsConfiguration m_imageTestsConfiguration;
217 bool m_imageTestsConfigurationHasBeenSet =
false;
219 bool m_enhancedImageMetadataEnabled;
220 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
223 bool m_tagsHasBeenSet =
false;
226 bool m_clientTokenHasBeenSet =
false;
229 bool m_imageScanningConfigurationHasBeenSet =
false;
232 bool m_workflowsHasBeenSet =
false;
235 bool m_executionRoleHasBeenSet =
false;
CreateImageRequest & WithInfrastructureConfigurationArn(const Aws::String &value)
CreateImageRequest & AddTags(const char *key, const char *value)
CreateImageRequest & WithImageRecipeArn(const char *value)
bool ContainerRecipeArnHasBeenSet() const
const Aws::String & GetExecutionRole() const
CreateImageRequest & WithImageRecipeArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetInfrastructureConfigurationArn(const char *value)
void SetDistributionConfigurationArn(const char *value)
CreateImageRequest & WithClientToken(const Aws::String &value)
void SetImageTestsConfiguration(const ImageTestsConfiguration &value)
bool ImageTestsConfigurationHasBeenSet() const
void SetContainerRecipeArn(Aws::String &&value)
void SetDistributionConfigurationArn(const Aws::String &value)
CreateImageRequest & WithContainerRecipeArn(Aws::String &&value)
void SetExecutionRole(const char *value)
CreateImageRequest & WithImageScanningConfiguration(const ImageScanningConfiguration &value)
CreateImageRequest & AddTags(const char *key, Aws::String &&value)
CreateImageRequest & WithContainerRecipeArn(const char *value)
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
CreateImageRequest & AddWorkflows(const WorkflowConfiguration &value)
CreateImageRequest & WithContainerRecipeArn(const Aws::String &value)
CreateImageRequest & WithInfrastructureConfigurationArn(Aws::String &&value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
const Aws::String & GetInfrastructureConfigurationArn() const
const Aws::String & GetClientToken() const
void SetClientToken(Aws::String &&value)
CreateImageRequest & WithExecutionRole(const char *value)
CreateImageRequest & WithDistributionConfigurationArn(const char *value)
CreateImageRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetImageScanningConfiguration(const ImageScanningConfiguration &value)
void SetInfrastructureConfigurationArn(const Aws::String &value)
void SetExecutionRole(Aws::String &&value)
CreateImageRequest & WithClientToken(Aws::String &&value)
void SetImageTestsConfiguration(ImageTestsConfiguration &&value)
void SetInfrastructureConfigurationArn(Aws::String &&value)
CreateImageRequest & WithImageRecipeArn(Aws::String &&value)
void SetClientToken(const Aws::String &value)
bool DistributionConfigurationArnHasBeenSet() const
const ImageTestsConfiguration & GetImageTestsConfiguration() const
void SetContainerRecipeArn(const char *value)
virtual const char * GetServiceRequestName() const override
CreateImageRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateImageRequest & WithInfrastructureConfigurationArn(const char *value)
CreateImageRequest & AddWorkflows(WorkflowConfiguration &&value)
CreateImageRequest & WithClientToken(const char *value)
CreateImageRequest & WithDistributionConfigurationArn(Aws::String &&value)
void SetImageScanningConfiguration(ImageScanningConfiguration &&value)
const Aws::String & GetImageRecipeArn() const
void SetImageRecipeArn(const char *value)
CreateImageRequest & WithWorkflows(Aws::Vector< WorkflowConfiguration > &&value)
CreateImageRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateImageRequest & WithExecutionRole(const Aws::String &value)
CreateImageRequest & WithWorkflows(const Aws::Vector< WorkflowConfiguration > &value)
void SetExecutionRole(const Aws::String &value)
void SetClientToken(const char *value)
void SetImageRecipeArn(Aws::String &&value)
CreateImageRequest & AddTags(Aws::String &&key, const char *value)
void SetEnhancedImageMetadataEnabled(bool value)
void SetImageRecipeArn(const Aws::String &value)
CreateImageRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool ClientTokenHasBeenSet() const
AWS_IMAGEBUILDER_API CreateImageRequest()
bool InfrastructureConfigurationArnHasBeenSet() const
bool EnhancedImageMetadataEnabledHasBeenSet() const
void SetDistributionConfigurationArn(Aws::String &&value)
CreateImageRequest & WithEnhancedImageMetadataEnabled(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ExecutionRoleHasBeenSet() const
bool GetEnhancedImageMetadataEnabled() const
bool ImageRecipeArnHasBeenSet() const
bool TagsHasBeenSet() const
CreateImageRequest & WithImageTestsConfiguration(const ImageTestsConfiguration &value)
CreateImageRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateImageRequest & WithExecutionRole(Aws::String &&value)
bool WorkflowsHasBeenSet() const
const Aws::String & GetContainerRecipeArn() const
void SetContainerRecipeArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const ImageScanningConfiguration & GetImageScanningConfiguration() const
CreateImageRequest & WithImageTestsConfiguration(ImageTestsConfiguration &&value)
void SetWorkflows(Aws::Vector< WorkflowConfiguration > &&value)
bool ImageScanningConfigurationHasBeenSet() const
CreateImageRequest & WithImageScanningConfiguration(ImageScanningConfiguration &&value)
const Aws::String & GetDistributionConfigurationArn() const
void SetWorkflows(const Aws::Vector< WorkflowConfiguration > &value)
CreateImageRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateImageRequest & WithDistributionConfigurationArn(const Aws::String &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