755 lines
27 KiB
C++
755 lines
27 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/imagebuilder/model/Platform.h>
|
|
#include <aws/imagebuilder/model/ImageTestsConfiguration.h>
|
|
#include <aws/imagebuilder/model/Schedule.h>
|
|
#include <aws/imagebuilder/model/PipelineStatus.h>
|
|
#include <aws/core/utils/memory/stl/AWSMap.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace imagebuilder
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Details of an image pipeline.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImagePipeline">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_IMAGEBUILDER_API ImagePipeline
|
|
{
|
|
public:
|
|
ImagePipeline();
|
|
ImagePipeline(Aws::Utils::Json::JsonView jsonValue);
|
|
ImagePipeline& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image pipeline.</p>
|
|
*/
|
|
inline const Aws::String& GetArn() const{ return m_arn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image pipeline.</p>
|
|
*/
|
|
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image pipeline.</p>
|
|
*/
|
|
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image pipeline.</p>
|
|
*/
|
|
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image pipeline.</p>
|
|
*/
|
|
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithArn(const Aws::String& value) { SetArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithArn(const char* value) { SetArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the image pipeline.</p>
|
|
*/
|
|
inline const Aws::String& GetName() const{ return m_name; }
|
|
|
|
/**
|
|
* <p>The name of the image pipeline.</p>
|
|
*/
|
|
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the image pipeline.</p>
|
|
*/
|
|
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
|
|
|
|
/**
|
|
* <p>The name of the image pipeline.</p>
|
|
*/
|
|
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the image pipeline.</p>
|
|
*/
|
|
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithName(const char* value) { SetName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The description of the image pipeline.</p>
|
|
*/
|
|
inline const Aws::String& GetDescription() const{ return m_description; }
|
|
|
|
/**
|
|
* <p>The description of the image pipeline.</p>
|
|
*/
|
|
inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The description of the image pipeline.</p>
|
|
*/
|
|
inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
|
|
|
|
/**
|
|
* <p>The description of the image pipeline.</p>
|
|
*/
|
|
inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
|
|
|
|
/**
|
|
* <p>The description of the image pipeline.</p>
|
|
*/
|
|
inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
|
|
|
|
/**
|
|
* <p>The description of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>The description of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The description of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithDescription(const char* value) { SetDescription(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The platform of the image pipeline.</p>
|
|
*/
|
|
inline const Platform& GetPlatform() const{ return m_platform; }
|
|
|
|
/**
|
|
* <p>The platform of the image pipeline.</p>
|
|
*/
|
|
inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The platform of the image pipeline.</p>
|
|
*/
|
|
inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; }
|
|
|
|
/**
|
|
* <p>The platform of the image pipeline.</p>
|
|
*/
|
|
inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
|
|
|
|
/**
|
|
* <p>The platform of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithPlatform(const Platform& value) { SetPlatform(value); return *this;}
|
|
|
|
/**
|
|
* <p>The platform of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> 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.
|
|
* </p>
|
|
*/
|
|
inline bool GetEnhancedImageMetadataEnabled() const{ return m_enhancedImageMetadataEnabled; }
|
|
|
|
/**
|
|
* <p> 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.
|
|
* </p>
|
|
*/
|
|
inline bool EnhancedImageMetadataEnabledHasBeenSet() const { return m_enhancedImageMetadataEnabledHasBeenSet; }
|
|
|
|
/**
|
|
* <p> 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.
|
|
* </p>
|
|
*/
|
|
inline void SetEnhancedImageMetadataEnabled(bool value) { m_enhancedImageMetadataEnabledHasBeenSet = true; m_enhancedImageMetadataEnabled = value; }
|
|
|
|
/**
|
|
* <p> 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.
|
|
* </p>
|
|
*/
|
|
inline ImagePipeline& WithEnhancedImageMetadataEnabled(bool value) { SetEnhancedImageMetadataEnabled(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image recipe associated with this image
|
|
* pipeline.</p>
|
|
*/
|
|
inline const Aws::String& GetImageRecipeArn() const{ return m_imageRecipeArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image recipe associated with this image
|
|
* pipeline.</p>
|
|
*/
|
|
inline bool ImageRecipeArnHasBeenSet() const { return m_imageRecipeArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image recipe associated with this image
|
|
* pipeline.</p>
|
|
*/
|
|
inline void SetImageRecipeArn(const Aws::String& value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image recipe associated with this image
|
|
* pipeline.</p>
|
|
*/
|
|
inline void SetImageRecipeArn(Aws::String&& value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image recipe associated with this image
|
|
* pipeline.</p>
|
|
*/
|
|
inline void SetImageRecipeArn(const char* value) { m_imageRecipeArnHasBeenSet = true; m_imageRecipeArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image recipe associated with this image
|
|
* pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithImageRecipeArn(const Aws::String& value) { SetImageRecipeArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image recipe associated with this image
|
|
* pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithImageRecipeArn(Aws::String&& value) { SetImageRecipeArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the image recipe associated with this image
|
|
* pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithImageRecipeArn(const char* value) { SetImageRecipeArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline const Aws::String& GetInfrastructureConfigurationArn() const{ return m_infrastructureConfigurationArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline bool InfrastructureConfigurationArnHasBeenSet() const { return m_infrastructureConfigurationArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline void SetInfrastructureConfigurationArn(const Aws::String& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline void SetInfrastructureConfigurationArn(Aws::String&& value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline void SetInfrastructureConfigurationArn(const char* value) { m_infrastructureConfigurationArnHasBeenSet = true; m_infrastructureConfigurationArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithInfrastructureConfigurationArn(const Aws::String& value) { SetInfrastructureConfigurationArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithInfrastructureConfigurationArn(Aws::String&& value) { SetInfrastructureConfigurationArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the infrastructure configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithInfrastructureConfigurationArn(const char* value) { SetInfrastructureConfigurationArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline const Aws::String& GetDistributionConfigurationArn() const{ return m_distributionConfigurationArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline bool DistributionConfigurationArnHasBeenSet() const { return m_distributionConfigurationArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline void SetDistributionConfigurationArn(const Aws::String& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline void SetDistributionConfigurationArn(Aws::String&& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline void SetDistributionConfigurationArn(const char* value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithDistributionConfigurationArn(const Aws::String& value) { SetDistributionConfigurationArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithDistributionConfigurationArn(Aws::String&& value) { SetDistributionConfigurationArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration associated
|
|
* with this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithDistributionConfigurationArn(const char* value) { SetDistributionConfigurationArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The image tests configuration of the image pipeline.</p>
|
|
*/
|
|
inline const ImageTestsConfiguration& GetImageTestsConfiguration() const{ return m_imageTestsConfiguration; }
|
|
|
|
/**
|
|
* <p>The image tests configuration of the image pipeline.</p>
|
|
*/
|
|
inline bool ImageTestsConfigurationHasBeenSet() const { return m_imageTestsConfigurationHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The image tests configuration of the image pipeline.</p>
|
|
*/
|
|
inline void SetImageTestsConfiguration(const ImageTestsConfiguration& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = value; }
|
|
|
|
/**
|
|
* <p>The image tests configuration of the image pipeline.</p>
|
|
*/
|
|
inline void SetImageTestsConfiguration(ImageTestsConfiguration&& value) { m_imageTestsConfigurationHasBeenSet = true; m_imageTestsConfiguration = std::move(value); }
|
|
|
|
/**
|
|
* <p>The image tests configuration of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithImageTestsConfiguration(const ImageTestsConfiguration& value) { SetImageTestsConfiguration(value); return *this;}
|
|
|
|
/**
|
|
* <p>The image tests configuration of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithImageTestsConfiguration(ImageTestsConfiguration&& value) { SetImageTestsConfiguration(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The schedule of the image pipeline.</p>
|
|
*/
|
|
inline const Schedule& GetSchedule() const{ return m_schedule; }
|
|
|
|
/**
|
|
* <p>The schedule of the image pipeline.</p>
|
|
*/
|
|
inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The schedule of the image pipeline.</p>
|
|
*/
|
|
inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
|
|
|
|
/**
|
|
* <p>The schedule of the image pipeline.</p>
|
|
*/
|
|
inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
|
|
|
|
/**
|
|
* <p>The schedule of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;}
|
|
|
|
/**
|
|
* <p>The schedule of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The status of the image pipeline.</p>
|
|
*/
|
|
inline const PipelineStatus& GetStatus() const{ return m_status; }
|
|
|
|
/**
|
|
* <p>The status of the image pipeline.</p>
|
|
*/
|
|
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The status of the image pipeline.</p>
|
|
*/
|
|
inline void SetStatus(const PipelineStatus& value) { m_statusHasBeenSet = true; m_status = value; }
|
|
|
|
/**
|
|
* <p>The status of the image pipeline.</p>
|
|
*/
|
|
inline void SetStatus(PipelineStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
|
|
|
|
/**
|
|
* <p>The status of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithStatus(const PipelineStatus& value) { SetStatus(value); return *this;}
|
|
|
|
/**
|
|
* <p>The status of the image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithStatus(PipelineStatus&& value) { SetStatus(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was created.</p>
|
|
*/
|
|
inline const Aws::String& GetDateCreated() const{ return m_dateCreated; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was created.</p>
|
|
*/
|
|
inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was created.</p>
|
|
*/
|
|
inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was created.</p>
|
|
*/
|
|
inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was created.</p>
|
|
*/
|
|
inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was created.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;}
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was created.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was created.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateCreated(const char* value) { SetDateCreated(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last updated.</p>
|
|
*/
|
|
inline const Aws::String& GetDateUpdated() const{ return m_dateUpdated; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last updated.</p>
|
|
*/
|
|
inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last updated.</p>
|
|
*/
|
|
inline void SetDateUpdated(const Aws::String& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last updated.</p>
|
|
*/
|
|
inline void SetDateUpdated(Aws::String&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last updated.</p>
|
|
*/
|
|
inline void SetDateUpdated(const char* value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated.assign(value); }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last updated.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateUpdated(const Aws::String& value) { SetDateUpdated(value); return *this;}
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last updated.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateUpdated(Aws::String&& value) { SetDateUpdated(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last updated.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateUpdated(const char* value) { SetDateUpdated(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last run.</p>
|
|
*/
|
|
inline const Aws::String& GetDateLastRun() const{ return m_dateLastRun; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last run.</p>
|
|
*/
|
|
inline bool DateLastRunHasBeenSet() const { return m_dateLastRunHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last run.</p>
|
|
*/
|
|
inline void SetDateLastRun(const Aws::String& value) { m_dateLastRunHasBeenSet = true; m_dateLastRun = value; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last run.</p>
|
|
*/
|
|
inline void SetDateLastRun(Aws::String&& value) { m_dateLastRunHasBeenSet = true; m_dateLastRun = std::move(value); }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last run.</p>
|
|
*/
|
|
inline void SetDateLastRun(const char* value) { m_dateLastRunHasBeenSet = true; m_dateLastRun.assign(value); }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last run.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateLastRun(const Aws::String& value) { SetDateLastRun(value); return *this;}
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last run.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateLastRun(Aws::String&& value) { SetDateLastRun(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline was last run.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateLastRun(const char* value) { SetDateLastRun(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline will next be run.</p>
|
|
*/
|
|
inline const Aws::String& GetDateNextRun() const{ return m_dateNextRun; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline will next be run.</p>
|
|
*/
|
|
inline bool DateNextRunHasBeenSet() const { return m_dateNextRunHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline will next be run.</p>
|
|
*/
|
|
inline void SetDateNextRun(const Aws::String& value) { m_dateNextRunHasBeenSet = true; m_dateNextRun = value; }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline will next be run.</p>
|
|
*/
|
|
inline void SetDateNextRun(Aws::String&& value) { m_dateNextRunHasBeenSet = true; m_dateNextRun = std::move(value); }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline will next be run.</p>
|
|
*/
|
|
inline void SetDateNextRun(const char* value) { m_dateNextRunHasBeenSet = true; m_dateNextRun.assign(value); }
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline will next be run.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateNextRun(const Aws::String& value) { SetDateNextRun(value); return *this;}
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline will next be run.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateNextRun(Aws::String&& value) { SetDateNextRun(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The date on which this image pipeline will next be run.</p>
|
|
*/
|
|
inline ImagePipeline& WithDateNextRun(const char* value) { SetDateNextRun(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>The tags of this image pipeline.</p>
|
|
*/
|
|
inline ImagePipeline& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_arn;
|
|
bool m_arnHasBeenSet;
|
|
|
|
Aws::String m_name;
|
|
bool m_nameHasBeenSet;
|
|
|
|
Aws::String m_description;
|
|
bool m_descriptionHasBeenSet;
|
|
|
|
Platform m_platform;
|
|
bool m_platformHasBeenSet;
|
|
|
|
bool m_enhancedImageMetadataEnabled;
|
|
bool m_enhancedImageMetadataEnabledHasBeenSet;
|
|
|
|
Aws::String m_imageRecipeArn;
|
|
bool m_imageRecipeArnHasBeenSet;
|
|
|
|
Aws::String m_infrastructureConfigurationArn;
|
|
bool m_infrastructureConfigurationArnHasBeenSet;
|
|
|
|
Aws::String m_distributionConfigurationArn;
|
|
bool m_distributionConfigurationArnHasBeenSet;
|
|
|
|
ImageTestsConfiguration m_imageTestsConfiguration;
|
|
bool m_imageTestsConfigurationHasBeenSet;
|
|
|
|
Schedule m_schedule;
|
|
bool m_scheduleHasBeenSet;
|
|
|
|
PipelineStatus m_status;
|
|
bool m_statusHasBeenSet;
|
|
|
|
Aws::String m_dateCreated;
|
|
bool m_dateCreatedHasBeenSet;
|
|
|
|
Aws::String m_dateUpdated;
|
|
bool m_dateUpdatedHasBeenSet;
|
|
|
|
Aws::String m_dateLastRun;
|
|
bool m_dateLastRunHasBeenSet;
|
|
|
|
Aws::String m_dateNextRun;
|
|
bool m_dateNextRunHasBeenSet;
|
|
|
|
Aws::Map<Aws::String, Aws::String> m_tags;
|
|
bool m_tagsHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace imagebuilder
|
|
} // namespace Aws
|