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/imagebuilder/model/Schedule.h>
12#include <aws/imagebuilder/model/PipelineStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/imagebuilder/model/ImageScanningConfiguration.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/imagebuilder/model/WorkflowConfiguration.h>
18#include <aws/core/utils/UUID.h>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
65 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
80 inline void SetImageRecipeArn(
const char* value) { m_imageRecipeArnHasBeenSet =
true; m_imageRecipeArn.assign(value); }
95 inline void SetContainerRecipeArn(
const char* value) { m_containerRecipeArnHasBeenSet =
true; m_containerRecipeArn.assign(value); }
137 inline void SetImageTestsConfiguration(
const ImageTestsConfiguration& value) { m_imageTestsConfigurationHasBeenSet =
true; m_imageTestsConfiguration = value; }
138 inline void SetImageTestsConfiguration(ImageTestsConfiguration&& value) { m_imageTestsConfigurationHasBeenSet =
true; m_imageTestsConfiguration = std::move(value); }
210 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
251 inline void SetExecutionRole(
const char* value) { m_executionRoleHasBeenSet =
true; m_executionRole.assign(value); }
259 bool m_nameHasBeenSet =
false;
262 bool m_descriptionHasBeenSet =
false;
265 bool m_imageRecipeArnHasBeenSet =
false;
268 bool m_containerRecipeArnHasBeenSet =
false;
271 bool m_infrastructureConfigurationArnHasBeenSet =
false;
274 bool m_distributionConfigurationArnHasBeenSet =
false;
276 ImageTestsConfiguration m_imageTestsConfiguration;
277 bool m_imageTestsConfigurationHasBeenSet =
false;
279 bool m_enhancedImageMetadataEnabled;
280 bool m_enhancedImageMetadataEnabledHasBeenSet =
false;
283 bool m_scheduleHasBeenSet =
false;
286 bool m_statusHasBeenSet =
false;
289 bool m_tagsHasBeenSet =
false;
292 bool m_clientTokenHasBeenSet =
false;
295 bool m_imageScanningConfigurationHasBeenSet =
false;
298 bool m_workflowsHasBeenSet =
false;
301 bool m_executionRoleHasBeenSet =
false;
void SetDescription(Aws::String &&value)
CreateImagePipelineRequest & WithImageScanningConfiguration(const ImageScanningConfiguration &value)
bool DistributionConfigurationArnHasBeenSet() const
bool ContainerRecipeArnHasBeenSet() const
void SetStatus(const PipelineStatus &value)
void SetImageTestsConfiguration(const ImageTestsConfiguration &value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
CreateImagePipelineRequest & WithClientToken(Aws::String &&value)
CreateImagePipelineRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateImagePipelineRequest & WithStatus(PipelineStatus &&value)
void SetClientToken(Aws::String &&value)
void SetClientToken(const char *value)
CreateImagePipelineRequest & WithImageTestsConfiguration(ImageTestsConfiguration &&value)
const Aws::String & GetDescription() const
CreateImagePipelineRequest & AddTags(Aws::String &&key, const char *value)
CreateImagePipelineRequest & WithName(const char *value)
CreateImagePipelineRequest & AddWorkflows(WorkflowConfiguration &&value)
void SetWorkflows(const Aws::Vector< WorkflowConfiguration > &value)
CreateImagePipelineRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateImagePipelineRequest & WithInfrastructureConfigurationArn(const char *value)
CreateImagePipelineRequest & WithExecutionRole(const char *value)
bool DescriptionHasBeenSet() const
CreateImagePipelineRequest & WithInfrastructureConfigurationArn(Aws::String &&value)
CreateImagePipelineRequest & WithDistributionConfigurationArn(Aws::String &&value)
const Aws::String & GetDistributionConfigurationArn() const
CreateImagePipelineRequest & WithImageScanningConfiguration(ImageScanningConfiguration &&value)
bool ImageTestsConfigurationHasBeenSet() const
CreateImagePipelineRequest & AddTags(const char *key, Aws::String &&value)
void SetImageTestsConfiguration(ImageTestsConfiguration &&value)
CreateImagePipelineRequest & WithSchedule(Schedule &&value)
CreateImagePipelineRequest & WithExecutionRole(Aws::String &&value)
const Aws::String & GetExecutionRole() const
bool ImageScanningConfigurationHasBeenSet() const
void SetExecutionRole(Aws::String &&value)
CreateImagePipelineRequest & WithContainerRecipeArn(Aws::String &&value)
void SetImageScanningConfiguration(ImageScanningConfiguration &&value)
CreateImagePipelineRequest & AddWorkflows(const WorkflowConfiguration &value)
CreateImagePipelineRequest & WithName(const Aws::String &value)
bool ImageRecipeArnHasBeenSet() const
void SetDescription(const Aws::String &value)
const Aws::String & GetName() const
CreateImagePipelineRequest & WithSchedule(const Schedule &value)
CreateImagePipelineRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetInfrastructureConfigurationArn(Aws::String &&value)
CreateImagePipelineRequest & WithDistributionConfigurationArn(const Aws::String &value)
bool ScheduleHasBeenSet() const
CreateImagePipelineRequest & WithDescription(Aws::String &&value)
bool ClientTokenHasBeenSet() const
CreateImagePipelineRequest & WithImageRecipeArn(Aws::String &&value)
void SetWorkflows(Aws::Vector< WorkflowConfiguration > &&value)
void SetName(const char *value)
bool WorkflowsHasBeenSet() const
CreateImagePipelineRequest & WithImageRecipeArn(const char *value)
bool InfrastructureConfigurationArnHasBeenSet() const
void SetContainerRecipeArn(const char *value)
const Aws::String & GetClientToken() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetContainerRecipeArn() const
CreateImagePipelineRequest & WithContainerRecipeArn(const char *value)
bool StatusHasBeenSet() const
CreateImagePipelineRequest & WithClientToken(const char *value)
CreateImagePipelineRequest & WithDescription(const Aws::String &value)
bool ExecutionRoleHasBeenSet() const
CreateImagePipelineRequest & WithExecutionRole(const Aws::String &value)
void SetName(Aws::String &&value)
CreateImagePipelineRequest & WithContainerRecipeArn(const Aws::String &value)
const Aws::Vector< WorkflowConfiguration > & GetWorkflows() const
void SetContainerRecipeArn(const Aws::String &value)
CreateImagePipelineRequest & WithWorkflows(Aws::Vector< WorkflowConfiguration > &&value)
bool TagsHasBeenSet() const
void SetImageScanningConfiguration(const ImageScanningConfiguration &value)
CreateImagePipelineRequest & WithInfrastructureConfigurationArn(const Aws::String &value)
CreateImagePipelineRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetImageRecipeArn() const
CreateImagePipelineRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetImageRecipeArn(const Aws::String &value)
CreateImagePipelineRequest & WithClientToken(const Aws::String &value)
CreateImagePipelineRequest & WithEnhancedImageMetadataEnabled(bool value)
CreateImagePipelineRequest & WithName(Aws::String &&value)
const ImageScanningConfiguration & GetImageScanningConfiguration() const
void SetDistributionConfigurationArn(const Aws::String &value)
void SetContainerRecipeArn(Aws::String &&value)
const Aws::String & GetInfrastructureConfigurationArn() const
bool EnhancedImageMetadataEnabledHasBeenSet() const
void SetImageRecipeArn(Aws::String &&value)
void SetDistributionConfigurationArn(const char *value)
void SetName(const Aws::String &value)
const PipelineStatus & GetStatus() const
void SetStatus(PipelineStatus &&value)
AWS_IMAGEBUILDER_API CreateImagePipelineRequest()
void SetInfrastructureConfigurationArn(const Aws::String &value)
void SetExecutionRole(const char *value)
void SetSchedule(Schedule &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Schedule & GetSchedule() const
void SetClientToken(const Aws::String &value)
CreateImagePipelineRequest & WithImageRecipeArn(const Aws::String &value)
CreateImagePipelineRequest & AddTags(const char *key, const char *value)
void SetInfrastructureConfigurationArn(const char *value)
void SetDistributionConfigurationArn(Aws::String &&value)
void SetDescription(const char *value)
CreateImagePipelineRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool GetEnhancedImageMetadataEnabled() const
CreateImagePipelineRequest & WithDistributionConfigurationArn(const char *value)
void SetImageRecipeArn(const char *value)
CreateImagePipelineRequest & WithStatus(const PipelineStatus &value)
const ImageTestsConfiguration & GetImageTestsConfiguration() const
void SetEnhancedImageMetadataEnabled(bool value)
CreateImagePipelineRequest & WithDescription(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateImagePipelineRequest & WithImageTestsConfiguration(const ImageTestsConfiguration &value)
void SetExecutionRole(const Aws::String &value)
bool NameHasBeenSet() const
void SetSchedule(const Schedule &value)
CreateImagePipelineRequest & WithWorkflows(const Aws::Vector< WorkflowConfiguration > &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