/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace imagebuilder { namespace Model { /** */ class UpdateImagePipelineRequest : public ImagebuilderRequest { public: AWS_IMAGEBUILDER_API UpdateImagePipelineRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateImagePipeline"; } AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * update.

*/ inline const Aws::String& GetImagePipelineArn() const{ return m_imagePipelineArn; } /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * update.

*/ inline bool ImagePipelineArnHasBeenSet() const { return m_imagePipelineArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * update.

*/ inline void SetImagePipelineArn(const Aws::String& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = value; } /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * update.

*/ inline void SetImagePipelineArn(Aws::String&& value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * update.

*/ inline void SetImagePipelineArn(const char* value) { m_imagePipelineArnHasBeenSet = true; m_imagePipelineArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * update.

*/ inline UpdateImagePipelineRequest& WithImagePipelineArn(const Aws::String& value) { SetImagePipelineArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * update.

*/ inline UpdateImagePipelineRequest& WithImagePipelineArn(Aws::String&& value) { SetImagePipelineArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the image pipeline that you want to * update.

*/ inline UpdateImagePipelineRequest& WithImagePipelineArn(const char* value) { SetImagePipelineArn(value); return *this;} /** *

The description of the image pipeline.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the image pipeline.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the image pipeline.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the image pipeline.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the image pipeline.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the image pipeline.

*/ inline UpdateImagePipelineRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the image pipeline.

*/ inline UpdateImagePipelineRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the image pipeline.

*/ inline UpdateImagePipelineRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The Amazon Resource Name (ARN) of the image recipe that will be used to * configure images updated by this image pipeline.

*/ inline const Aws::String& GetImageRecipeArn() const{ return m_imageRecipeArn; } /** *

The Amazon Resource Name (ARN) of the image recipe that will be used to * configure images updated by this image pipeline.

*/ inline bool ImageRecipeArnHasBeenSet() const { return m_imageRecipeArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the image recipe that will be used to * configure images updated by this image pipeline.

*/ inline void SetImageRecipeArn(const Aws::String& value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn = value; } /** *

The Amazon Resource Name (ARN) of the image recipe that will be used to * configure images updated by this image pipeline.

*/ inline void SetImageRecipeArn(Aws::String&& value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the image recipe that will be used to * configure images updated by this image pipeline.

*/ inline void SetImageRecipeArn(const char* value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the image recipe that will be used to * configure images updated by this image pipeline.

*/ inline UpdateImagePipelineRequest& WithImageRecipeArn(const Aws::String& value) { SetImageRecipeArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the image recipe that will be used to * configure images updated by this image pipeline.

*/ inline UpdateImagePipelineRequest& WithImageRecipeArn(Aws::String&& value) { SetImageRecipeArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the image recipe that will be used to * configure images updated by this image pipeline.

*/ inline UpdateImagePipelineRequest& WithImageRecipeArn(const char* value) { SetImageRecipeArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the container pipeline to update.

*/ inline const Aws::String& GetContainerRecipeArn() const{ return m_containerRecipeArn; } /** *

The Amazon Resource Name (ARN) of the container pipeline to update.

*/ inline bool ContainerRecipeArnHasBeenSet() const { return m_containerRecipeArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the container pipeline to update.

*/ inline void SetContainerRecipeArn(const Aws::String& value) { m_containerRecipeArnHasBeenSet = true; m_containerRecipeArn = value; } /** *

The Amazon Resource Name (ARN) of the container pipeline to update.

*/ inline void SetContainerRecipeArn(Aws::String&& value) { m_containerRecipeArnHasBeenSet = true; m_containerRecipeArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the container pipeline to update.

*/ inline void SetContainerRecipeArn(const char* value) { m_containerRecipeArnHasBeenSet = true; m_containerRecipeArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the container pipeline to update.

*/ inline UpdateImagePipelineRequest& WithContainerRecipeArn(const Aws::String& value) { SetContainerRecipeArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the container pipeline to update.

*/ inline UpdateImagePipelineRequest& WithContainerRecipeArn(Aws::String&& value) { SetContainerRecipeArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the container pipeline to update.

*/ inline UpdateImagePipelineRequest& WithContainerRecipeArn(const char* value) { SetContainerRecipeArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that Image * Builder uses to build images that this image pipeline has updated.

*/ inline const Aws::String& GetInfrastructureConfigurationArn() const{ return m_infrastructureConfigurationArn; } /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that Image * Builder uses to build images that this image pipeline has updated.

*/ inline bool InfrastructureConfigurationArnHasBeenSet() const { return m_infrastructureConfigurationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that Image * Builder uses to build images that this image pipeline has updated.

*/ inline void SetInfrastructureConfigurationArn(const Aws::String& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = value; } /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that Image * Builder uses to build images that this image pipeline has updated.

*/ inline void SetInfrastructureConfigurationArn(Aws::String&& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that Image * Builder uses to build images that this image pipeline has updated.

*/ inline void SetInfrastructureConfigurationArn(const char* value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that Image * Builder uses to build images that this image pipeline has updated.

*/ inline UpdateImagePipelineRequest& WithInfrastructureConfigurationArn(const Aws::String& value) { SetInfrastructureConfigurationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that Image * Builder uses to build images that this image pipeline has updated.

*/ inline UpdateImagePipelineRequest& WithInfrastructureConfigurationArn(Aws::String&& value) { SetInfrastructureConfigurationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the infrastructure configuration that Image * Builder uses to build images that this image pipeline has updated.

*/ inline UpdateImagePipelineRequest& WithInfrastructureConfigurationArn(const char* value) { SetInfrastructureConfigurationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the distribution configuration that Image * Builder uses to configure and distribute images that this image pipeline has * updated.

*/ inline const Aws::String& GetDistributionConfigurationArn() const{ return m_distributionConfigurationArn; } /** *

The Amazon Resource Name (ARN) of the distribution configuration that Image * Builder uses to configure and distribute images that this image pipeline has * updated.

*/ inline bool DistributionConfigurationArnHasBeenSet() const { return m_distributionConfigurationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the distribution configuration that Image * Builder uses to configure and distribute images that this image pipeline has * updated.

*/ inline void SetDistributionConfigurationArn(const Aws::String& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = value; } /** *

The Amazon Resource Name (ARN) of the distribution configuration that Image * Builder uses to configure and distribute images that this image pipeline has * updated.

*/ inline void SetDistributionConfigurationArn(Aws::String&& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the distribution configuration that Image * Builder uses to configure and distribute images that this image pipeline has * updated.

*/ inline void SetDistributionConfigurationArn(const char* value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the distribution configuration that Image * Builder uses to configure and distribute images that this image pipeline has * updated.

*/ inline UpdateImagePipelineRequest& WithDistributionConfigurationArn(const Aws::String& value) { SetDistributionConfigurationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the distribution configuration that Image * Builder uses to configure and distribute images that this image pipeline has * updated.

*/ inline UpdateImagePipelineRequest& WithDistributionConfigurationArn(Aws::String&& value) { SetDistributionConfigurationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the distribution configuration that Image * Builder uses to configure and distribute images that this image pipeline has * updated.

*/ inline UpdateImagePipelineRequest& WithDistributionConfigurationArn(const char* value) { SetDistributionConfigurationArn(value); return *this;} /** *

The image test configuration of the image pipeline.

*/ inline const ImageTestsConfiguration& GetImageTestsConfiguration() const{ return m_imageTestsConfiguration; } /** *

The image test configuration of the image pipeline.

*/ inline bool ImageTestsConfigurationHasBeenSet() const { return m_imageTestsConfigurationHasBeenSet; } /** *

The image test configuration of the image pipeline.

*/ inline void SetImageTestsConfiguration(const ImageTestsConfiguration& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = value; } /** *

The image test configuration of the image pipeline.

*/ inline void SetImageTestsConfiguration(ImageTestsConfiguration&& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = std::move(value); } /** *

The image test configuration of the image pipeline.

*/ inline UpdateImagePipelineRequest& WithImageTestsConfiguration(const ImageTestsConfiguration& value) { SetImageTestsConfiguration(value); return *this;} /** *

The image test configuration of the image pipeline.

*/ inline UpdateImagePipelineRequest& WithImageTestsConfiguration(ImageTestsConfiguration&& value) { SetImageTestsConfiguration(std::move(value)); return *this;} /** *

Collects additional information about the image being created, including the * operating system (OS) version and package list. This information is used to * enhance the overall experience of using EC2 Image Builder. Enabled by * default.

*/ inline bool GetEnhancedImageMetadataEnabled() const{ return m_enhancedImageMetadataEnabled; } /** *

Collects additional information about the image being created, including the * operating system (OS) version and package list. This information is used to * enhance the overall experience of using EC2 Image Builder. Enabled by * default.

*/ inline bool EnhancedImageMetadataEnabledHasBeenSet() const { return m_enhancedImageMetadataEnabledHasBeenSet; } /** *

Collects additional information about the image being created, including the * operating system (OS) version and package list. This information is used to * enhance the overall experience of using EC2 Image Builder. Enabled by * default.

*/ inline void SetEnhancedImageMetadataEnabled(bool value) { m_enhancedImageMetadataEnabledHasBeenSet = true; m_enhancedImageMetadataEnabled = value; } /** *

Collects additional information about the image being created, including the * operating system (OS) version and package list. This information is used to * enhance the overall experience of using EC2 Image Builder. Enabled by * default.

*/ inline UpdateImagePipelineRequest& WithEnhancedImageMetadataEnabled(bool value) { SetEnhancedImageMetadataEnabled(value); return *this;} /** *

The schedule of the image pipeline.

*/ inline const Schedule& GetSchedule() const{ return m_schedule; } /** *

The schedule of the image pipeline.

*/ inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; } /** *

The schedule of the image pipeline.

*/ inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; } /** *

The schedule of the image pipeline.

*/ inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); } /** *

The schedule of the image pipeline.

*/ inline UpdateImagePipelineRequest& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;} /** *

The schedule of the image pipeline.

*/ inline UpdateImagePipelineRequest& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;} /** *

The status of the image pipeline.

*/ inline const PipelineStatus& GetStatus() const{ return m_status; } /** *

The status of the image pipeline.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the image pipeline.

*/ inline void SetStatus(const PipelineStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the image pipeline.

*/ inline void SetStatus(PipelineStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the image pipeline.

*/ inline UpdateImagePipelineRequest& WithStatus(const PipelineStatus& value) { SetStatus(value); return *this;} /** *

The status of the image pipeline.

*/ inline UpdateImagePipelineRequest& WithStatus(PipelineStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The idempotency token used to make this request idempotent.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

The idempotency token used to make this request idempotent.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

The idempotency token used to make this request idempotent.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

The idempotency token used to make this request idempotent.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

The idempotency token used to make this request idempotent.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

The idempotency token used to make this request idempotent.

*/ inline UpdateImagePipelineRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The idempotency token used to make this request idempotent.

*/ inline UpdateImagePipelineRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The idempotency token used to make this request idempotent.

*/ inline UpdateImagePipelineRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

Contains settings for vulnerability scans.

*/ inline const ImageScanningConfiguration& GetImageScanningConfiguration() const{ return m_imageScanningConfiguration; } /** *

Contains settings for vulnerability scans.

*/ inline bool ImageScanningConfigurationHasBeenSet() const { return m_imageScanningConfigurationHasBeenSet; } /** *

Contains settings for vulnerability scans.

*/ inline void SetImageScanningConfiguration(const ImageScanningConfiguration& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = value; } /** *

Contains settings for vulnerability scans.

*/ inline void SetImageScanningConfiguration(ImageScanningConfiguration&& value) { m_imageScanningConfigurationHasBeenSet = true; m_imageScanningConfiguration = std::move(value); } /** *

Contains settings for vulnerability scans.

*/ inline UpdateImagePipelineRequest& WithImageScanningConfiguration(const ImageScanningConfiguration& value) { SetImageScanningConfiguration(value); return *this;} /** *

Contains settings for vulnerability scans.

*/ inline UpdateImagePipelineRequest& WithImageScanningConfiguration(ImageScanningConfiguration&& value) { SetImageScanningConfiguration(std::move(value)); return *this;} private: Aws::String m_imagePipelineArn; bool m_imagePipelineArnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_imageRecipeArn; bool m_imageRecipeArnHasBeenSet = false; Aws::String m_containerRecipeArn; bool m_containerRecipeArnHasBeenSet = false; Aws::String m_infrastructureConfigurationArn; bool m_infrastructureConfigurationArnHasBeenSet = false; Aws::String m_distributionConfigurationArn; bool m_distributionConfigurationArnHasBeenSet = false; ImageTestsConfiguration m_imageTestsConfiguration; bool m_imageTestsConfigurationHasBeenSet = false; bool m_enhancedImageMetadataEnabled; bool m_enhancedImageMetadataEnabledHasBeenSet = false; Schedule m_schedule; bool m_scheduleHasBeenSet = false; PipelineStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; ImageScanningConfiguration m_imageScanningConfiguration; bool m_imageScanningConfigurationHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws