/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

A SageMaker Model Building Pipeline instance.

See Also:

AWS * API Reference

*/ class Pipeline { public: AWS_SAGEMAKER_API Pipeline(); AWS_SAGEMAKER_API Pipeline(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Pipeline& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the pipeline.

*/ inline const Aws::String& GetPipelineArn() const{ return m_pipelineArn; } /** *

The Amazon Resource Name (ARN) of the pipeline.

*/ inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the pipeline.

*/ inline void SetPipelineArn(const Aws::String& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = value; } /** *

The Amazon Resource Name (ARN) of the pipeline.

*/ inline void SetPipelineArn(Aws::String&& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the pipeline.

*/ inline void SetPipelineArn(const char* value) { m_pipelineArnHasBeenSet = true; m_pipelineArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the pipeline.

*/ inline Pipeline& WithPipelineArn(const Aws::String& value) { SetPipelineArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the pipeline.

*/ inline Pipeline& WithPipelineArn(Aws::String&& value) { SetPipelineArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the pipeline.

*/ inline Pipeline& WithPipelineArn(const char* value) { SetPipelineArn(value); return *this;} /** *

The name of the pipeline.

*/ inline const Aws::String& GetPipelineName() const{ return m_pipelineName; } /** *

The name of the pipeline.

*/ inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; } /** *

The name of the pipeline.

*/ inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; } /** *

The name of the pipeline.

*/ inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); } /** *

The name of the pipeline.

*/ inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); } /** *

The name of the pipeline.

*/ inline Pipeline& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;} /** *

The name of the pipeline.

*/ inline Pipeline& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;} /** *

The name of the pipeline.

*/ inline Pipeline& WithPipelineName(const char* value) { SetPipelineName(value); return *this;} /** *

The display name of the pipeline.

*/ inline const Aws::String& GetPipelineDisplayName() const{ return m_pipelineDisplayName; } /** *

The display name of the pipeline.

*/ inline bool PipelineDisplayNameHasBeenSet() const { return m_pipelineDisplayNameHasBeenSet; } /** *

The display name of the pipeline.

*/ inline void SetPipelineDisplayName(const Aws::String& value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName = value; } /** *

The display name of the pipeline.

*/ inline void SetPipelineDisplayName(Aws::String&& value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName = std::move(value); } /** *

The display name of the pipeline.

*/ inline void SetPipelineDisplayName(const char* value) { m_pipelineDisplayNameHasBeenSet = true; m_pipelineDisplayName.assign(value); } /** *

The display name of the pipeline.

*/ inline Pipeline& WithPipelineDisplayName(const Aws::String& value) { SetPipelineDisplayName(value); return *this;} /** *

The display name of the pipeline.

*/ inline Pipeline& WithPipelineDisplayName(Aws::String&& value) { SetPipelineDisplayName(std::move(value)); return *this;} /** *

The display name of the pipeline.

*/ inline Pipeline& WithPipelineDisplayName(const char* value) { SetPipelineDisplayName(value); return *this;} /** *

The description of the pipeline.

*/ inline const Aws::String& GetPipelineDescription() const{ return m_pipelineDescription; } /** *

The description of the pipeline.

*/ inline bool PipelineDescriptionHasBeenSet() const { return m_pipelineDescriptionHasBeenSet; } /** *

The description of the pipeline.

*/ inline void SetPipelineDescription(const Aws::String& value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription = value; } /** *

The description of the pipeline.

*/ inline void SetPipelineDescription(Aws::String&& value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription = std::move(value); } /** *

The description of the pipeline.

*/ inline void SetPipelineDescription(const char* value) { m_pipelineDescriptionHasBeenSet = true; m_pipelineDescription.assign(value); } /** *

The description of the pipeline.

*/ inline Pipeline& WithPipelineDescription(const Aws::String& value) { SetPipelineDescription(value); return *this;} /** *

The description of the pipeline.

*/ inline Pipeline& WithPipelineDescription(Aws::String&& value) { SetPipelineDescription(std::move(value)); return *this;} /** *

The description of the pipeline.

*/ inline Pipeline& WithPipelineDescription(const char* value) { SetPipelineDescription(value); return *this;} /** *

The Amazon Resource Name (ARN) of the role that created the pipeline.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of the role that created the pipeline.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the role that created the pipeline.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of the role that created the pipeline.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the role that created the pipeline.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the role that created the pipeline.

*/ inline Pipeline& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the role that created the pipeline.

*/ inline Pipeline& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the role that created the pipeline.

*/ inline Pipeline& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The status of the pipeline.

*/ inline const PipelineStatus& GetPipelineStatus() const{ return m_pipelineStatus; } /** *

The status of the pipeline.

*/ inline bool PipelineStatusHasBeenSet() const { return m_pipelineStatusHasBeenSet; } /** *

The status of the pipeline.

*/ inline void SetPipelineStatus(const PipelineStatus& value) { m_pipelineStatusHasBeenSet = true; m_pipelineStatus = value; } /** *

The status of the pipeline.

*/ inline void SetPipelineStatus(PipelineStatus&& value) { m_pipelineStatusHasBeenSet = true; m_pipelineStatus = std::move(value); } /** *

The status of the pipeline.

*/ inline Pipeline& WithPipelineStatus(const PipelineStatus& value) { SetPipelineStatus(value); return *this;} /** *

The status of the pipeline.

*/ inline Pipeline& WithPipelineStatus(PipelineStatus&& value) { SetPipelineStatus(std::move(value)); return *this;} /** *

The creation time of the pipeline.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The creation time of the pipeline.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The creation time of the pipeline.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The creation time of the pipeline.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The creation time of the pipeline.

*/ inline Pipeline& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The creation time of the pipeline.

*/ inline Pipeline& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The time that the pipeline was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The time that the pipeline was last modified.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

The time that the pipeline was last modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

The time that the pipeline was last modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

The time that the pipeline was last modified.

*/ inline Pipeline& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The time that the pipeline was last modified.

*/ inline Pipeline& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

The time when the pipeline was last run.

*/ inline const Aws::Utils::DateTime& GetLastRunTime() const{ return m_lastRunTime; } /** *

The time when the pipeline was last run.

*/ inline bool LastRunTimeHasBeenSet() const { return m_lastRunTimeHasBeenSet; } /** *

The time when the pipeline was last run.

*/ inline void SetLastRunTime(const Aws::Utils::DateTime& value) { m_lastRunTimeHasBeenSet = true; m_lastRunTime = value; } /** *

The time when the pipeline was last run.

*/ inline void SetLastRunTime(Aws::Utils::DateTime&& value) { m_lastRunTimeHasBeenSet = true; m_lastRunTime = std::move(value); } /** *

The time when the pipeline was last run.

*/ inline Pipeline& WithLastRunTime(const Aws::Utils::DateTime& value) { SetLastRunTime(value); return *this;} /** *

The time when the pipeline was last run.

*/ inline Pipeline& WithLastRunTime(Aws::Utils::DateTime&& value) { SetLastRunTime(std::move(value)); return *this;} inline const UserContext& GetCreatedBy() const{ return m_createdBy; } inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; } inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } inline Pipeline& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;} inline Pipeline& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;} inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; } inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; } inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; } inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); } inline Pipeline& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;} inline Pipeline& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *

The parallelism configuration applied to the pipeline.

*/ inline const ParallelismConfiguration& GetParallelismConfiguration() const{ return m_parallelismConfiguration; } /** *

The parallelism configuration applied to the pipeline.

*/ inline bool ParallelismConfigurationHasBeenSet() const { return m_parallelismConfigurationHasBeenSet; } /** *

The parallelism configuration applied to the pipeline.

*/ inline void SetParallelismConfiguration(const ParallelismConfiguration& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = value; } /** *

The parallelism configuration applied to the pipeline.

*/ inline void SetParallelismConfiguration(ParallelismConfiguration&& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = std::move(value); } /** *

The parallelism configuration applied to the pipeline.

*/ inline Pipeline& WithParallelismConfiguration(const ParallelismConfiguration& value) { SetParallelismConfiguration(value); return *this;} /** *

The parallelism configuration applied to the pipeline.

*/ inline Pipeline& WithParallelismConfiguration(ParallelismConfiguration&& value) { SetParallelismConfiguration(std::move(value)); return *this;} /** *

A list of tags that apply to the pipeline.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A list of tags that apply to the pipeline.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A list of tags that apply to the pipeline.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A list of tags that apply to the pipeline.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A list of tags that apply to the pipeline.

*/ inline Pipeline& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of tags that apply to the pipeline.

*/ inline Pipeline& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of tags that apply to the pipeline.

*/ inline Pipeline& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A list of tags that apply to the pipeline.

*/ inline Pipeline& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_pipelineArn; bool m_pipelineArnHasBeenSet = false; Aws::String m_pipelineName; bool m_pipelineNameHasBeenSet = false; Aws::String m_pipelineDisplayName; bool m_pipelineDisplayNameHasBeenSet = false; Aws::String m_pipelineDescription; bool m_pipelineDescriptionHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; PipelineStatus m_pipelineStatus; bool m_pipelineStatusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; Aws::Utils::DateTime m_lastRunTime; bool m_lastRunTimeHasBeenSet = false; UserContext m_createdBy; bool m_createdByHasBeenSet = false; UserContext m_lastModifiedBy; bool m_lastModifiedByHasBeenSet = false; ParallelismConfiguration m_parallelismConfiguration; bool m_parallelismConfigurationHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws