/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An execution of a pipeline.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the pipeline that was executed.
*/ inline const Aws::String& GetPipelineArn() const{ return m_pipelineArn; } /** *The Amazon Resource Name (ARN) of the pipeline that was executed.
*/ inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the pipeline that was executed.
*/ inline void SetPipelineArn(const Aws::String& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = value; } /** *The Amazon Resource Name (ARN) of the pipeline that was executed.
*/ inline void SetPipelineArn(Aws::String&& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the pipeline that was executed.
*/ inline void SetPipelineArn(const char* value) { m_pipelineArnHasBeenSet = true; m_pipelineArn.assign(value); } /** *The Amazon Resource Name (ARN) of the pipeline that was executed.
*/ inline PipelineExecution& WithPipelineArn(const Aws::String& value) { SetPipelineArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the pipeline that was executed.
*/ inline PipelineExecution& WithPipelineArn(Aws::String&& value) { SetPipelineArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the pipeline that was executed.
*/ inline PipelineExecution& WithPipelineArn(const char* value) { SetPipelineArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the pipeline execution.
*/ inline const Aws::String& GetPipelineExecutionArn() const{ return m_pipelineExecutionArn; } /** *The Amazon Resource Name (ARN) of the pipeline execution.
*/ inline bool PipelineExecutionArnHasBeenSet() const { return m_pipelineExecutionArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the pipeline execution.
*/ inline void SetPipelineExecutionArn(const Aws::String& value) { m_pipelineExecutionArnHasBeenSet = true; m_pipelineExecutionArn = value; } /** *The Amazon Resource Name (ARN) of the pipeline execution.
*/ inline void SetPipelineExecutionArn(Aws::String&& value) { m_pipelineExecutionArnHasBeenSet = true; m_pipelineExecutionArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the pipeline execution.
*/ inline void SetPipelineExecutionArn(const char* value) { m_pipelineExecutionArnHasBeenSet = true; m_pipelineExecutionArn.assign(value); } /** *The Amazon Resource Name (ARN) of the pipeline execution.
*/ inline PipelineExecution& WithPipelineExecutionArn(const Aws::String& value) { SetPipelineExecutionArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the pipeline execution.
*/ inline PipelineExecution& WithPipelineExecutionArn(Aws::String&& value) { SetPipelineExecutionArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the pipeline execution.
*/ inline PipelineExecution& WithPipelineExecutionArn(const char* value) { SetPipelineExecutionArn(value); return *this;} /** *The display name of the pipeline execution.
*/ inline const Aws::String& GetPipelineExecutionDisplayName() const{ return m_pipelineExecutionDisplayName; } /** *The display name of the pipeline execution.
*/ inline bool PipelineExecutionDisplayNameHasBeenSet() const { return m_pipelineExecutionDisplayNameHasBeenSet; } /** *The display name of the pipeline execution.
*/ inline void SetPipelineExecutionDisplayName(const Aws::String& value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName = value; } /** *The display name of the pipeline execution.
*/ inline void SetPipelineExecutionDisplayName(Aws::String&& value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName = std::move(value); } /** *The display name of the pipeline execution.
*/ inline void SetPipelineExecutionDisplayName(const char* value) { m_pipelineExecutionDisplayNameHasBeenSet = true; m_pipelineExecutionDisplayName.assign(value); } /** *The display name of the pipeline execution.
*/ inline PipelineExecution& WithPipelineExecutionDisplayName(const Aws::String& value) { SetPipelineExecutionDisplayName(value); return *this;} /** *The display name of the pipeline execution.
*/ inline PipelineExecution& WithPipelineExecutionDisplayName(Aws::String&& value) { SetPipelineExecutionDisplayName(std::move(value)); return *this;} /** *The display name of the pipeline execution.
*/ inline PipelineExecution& WithPipelineExecutionDisplayName(const char* value) { SetPipelineExecutionDisplayName(value); return *this;} /** *The status of the pipeline status.
*/ inline const PipelineExecutionStatus& GetPipelineExecutionStatus() const{ return m_pipelineExecutionStatus; } /** *The status of the pipeline status.
*/ inline bool PipelineExecutionStatusHasBeenSet() const { return m_pipelineExecutionStatusHasBeenSet; } /** *The status of the pipeline status.
*/ inline void SetPipelineExecutionStatus(const PipelineExecutionStatus& value) { m_pipelineExecutionStatusHasBeenSet = true; m_pipelineExecutionStatus = value; } /** *The status of the pipeline status.
*/ inline void SetPipelineExecutionStatus(PipelineExecutionStatus&& value) { m_pipelineExecutionStatusHasBeenSet = true; m_pipelineExecutionStatus = std::move(value); } /** *The status of the pipeline status.
*/ inline PipelineExecution& WithPipelineExecutionStatus(const PipelineExecutionStatus& value) { SetPipelineExecutionStatus(value); return *this;} /** *The status of the pipeline status.
*/ inline PipelineExecution& WithPipelineExecutionStatus(PipelineExecutionStatus&& value) { SetPipelineExecutionStatus(std::move(value)); return *this;} /** *The description of the pipeline execution.
*/ inline const Aws::String& GetPipelineExecutionDescription() const{ return m_pipelineExecutionDescription; } /** *The description of the pipeline execution.
*/ inline bool PipelineExecutionDescriptionHasBeenSet() const { return m_pipelineExecutionDescriptionHasBeenSet; } /** *The description of the pipeline execution.
*/ inline void SetPipelineExecutionDescription(const Aws::String& value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription = value; } /** *The description of the pipeline execution.
*/ inline void SetPipelineExecutionDescription(Aws::String&& value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription = std::move(value); } /** *The description of the pipeline execution.
*/ inline void SetPipelineExecutionDescription(const char* value) { m_pipelineExecutionDescriptionHasBeenSet = true; m_pipelineExecutionDescription.assign(value); } /** *The description of the pipeline execution.
*/ inline PipelineExecution& WithPipelineExecutionDescription(const Aws::String& value) { SetPipelineExecutionDescription(value); return *this;} /** *The description of the pipeline execution.
*/ inline PipelineExecution& WithPipelineExecutionDescription(Aws::String&& value) { SetPipelineExecutionDescription(std::move(value)); return *this;} /** *The description of the pipeline execution.
*/ inline PipelineExecution& WithPipelineExecutionDescription(const char* value) { SetPipelineExecutionDescription(value); return *this;} inline const PipelineExperimentConfig& GetPipelineExperimentConfig() const{ return m_pipelineExperimentConfig; } inline bool PipelineExperimentConfigHasBeenSet() const { return m_pipelineExperimentConfigHasBeenSet; } inline void SetPipelineExperimentConfig(const PipelineExperimentConfig& value) { m_pipelineExperimentConfigHasBeenSet = true; m_pipelineExperimentConfig = value; } inline void SetPipelineExperimentConfig(PipelineExperimentConfig&& value) { m_pipelineExperimentConfigHasBeenSet = true; m_pipelineExperimentConfig = std::move(value); } inline PipelineExecution& WithPipelineExperimentConfig(const PipelineExperimentConfig& value) { SetPipelineExperimentConfig(value); return *this;} inline PipelineExecution& WithPipelineExperimentConfig(PipelineExperimentConfig&& value) { SetPipelineExperimentConfig(std::move(value)); return *this;} /** *If the execution failed, a message describing why.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *If the execution failed, a message describing why.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *If the execution failed, a message describing why.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *If the execution failed, a message describing why.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *If the execution failed, a message describing why.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *If the execution failed, a message describing why.
*/ inline PipelineExecution& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *If the execution failed, a message describing why.
*/ inline PipelineExecution& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *If the execution failed, a message describing why.
*/ inline PipelineExecution& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *The creation time of the pipeline execution.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The creation time of the pipeline execution.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The creation time of the pipeline execution.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The creation time of the pipeline execution.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The creation time of the pipeline execution.
*/ inline PipelineExecution& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The creation time of the pipeline execution.
*/ inline PipelineExecution& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The time that the pipeline execution was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The time that the pipeline execution was last modified.
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The time that the pipeline execution was last modified.
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The time that the pipeline execution was last modified.
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The time that the pipeline execution was last modified.
*/ inline PipelineExecution& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The time that the pipeline execution was last modified.
*/ inline PipelineExecution& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(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 PipelineExecution& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;} inline PipelineExecution& 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 PipelineExecution& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;} inline PipelineExecution& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *The parallelism configuration applied to the pipeline execution.
*/ inline const ParallelismConfiguration& GetParallelismConfiguration() const{ return m_parallelismConfiguration; } /** *The parallelism configuration applied to the pipeline execution.
*/ inline bool ParallelismConfigurationHasBeenSet() const { return m_parallelismConfigurationHasBeenSet; } /** *The parallelism configuration applied to the pipeline execution.
*/ inline void SetParallelismConfiguration(const ParallelismConfiguration& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = value; } /** *The parallelism configuration applied to the pipeline execution.
*/ inline void SetParallelismConfiguration(ParallelismConfiguration&& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = std::move(value); } /** *The parallelism configuration applied to the pipeline execution.
*/ inline PipelineExecution& WithParallelismConfiguration(const ParallelismConfiguration& value) { SetParallelismConfiguration(value); return *this;} /** *The parallelism configuration applied to the pipeline execution.
*/ inline PipelineExecution& WithParallelismConfiguration(ParallelismConfiguration&& value) { SetParallelismConfiguration(std::move(value)); return *this;} /** *Contains a list of pipeline parameters. This list can be empty.
*/ inline const Aws::VectorContains a list of pipeline parameters. This list can be empty.
*/ inline bool PipelineParametersHasBeenSet() const { return m_pipelineParametersHasBeenSet; } /** *Contains a list of pipeline parameters. This list can be empty.
*/ inline void SetPipelineParameters(const Aws::VectorContains a list of pipeline parameters. This list can be empty.
*/ inline void SetPipelineParameters(Aws::VectorContains a list of pipeline parameters. This list can be empty.
*/ inline PipelineExecution& WithPipelineParameters(const Aws::VectorContains a list of pipeline parameters. This list can be empty.
*/ inline PipelineExecution& WithPipelineParameters(Aws::VectorContains a list of pipeline parameters. This list can be empty.
*/ inline PipelineExecution& AddPipelineParameters(const Parameter& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(value); return *this; } /** *Contains a list of pipeline parameters. This list can be empty.
*/ inline PipelineExecution& AddPipelineParameters(Parameter&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(std::move(value)); return *this; } /** *The selective execution configuration applied to the pipeline run.
*/ inline const SelectiveExecutionConfig& GetSelectiveExecutionConfig() const{ return m_selectiveExecutionConfig; } /** *The selective execution configuration applied to the pipeline run.
*/ inline bool SelectiveExecutionConfigHasBeenSet() const { return m_selectiveExecutionConfigHasBeenSet; } /** *The selective execution configuration applied to the pipeline run.
*/ inline void SetSelectiveExecutionConfig(const SelectiveExecutionConfig& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = value; } /** *The selective execution configuration applied to the pipeline run.
*/ inline void SetSelectiveExecutionConfig(SelectiveExecutionConfig&& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = std::move(value); } /** *The selective execution configuration applied to the pipeline run.
*/ inline PipelineExecution& WithSelectiveExecutionConfig(const SelectiveExecutionConfig& value) { SetSelectiveExecutionConfig(value); return *this;} /** *The selective execution configuration applied to the pipeline run.
*/ inline PipelineExecution& WithSelectiveExecutionConfig(SelectiveExecutionConfig&& value) { SetSelectiveExecutionConfig(std::move(value)); return *this;} private: Aws::String m_pipelineArn; bool m_pipelineArnHasBeenSet = false; Aws::String m_pipelineExecutionArn; bool m_pipelineExecutionArnHasBeenSet = false; Aws::String m_pipelineExecutionDisplayName; bool m_pipelineExecutionDisplayNameHasBeenSet = false; PipelineExecutionStatus m_pipelineExecutionStatus; bool m_pipelineExecutionStatusHasBeenSet = false; Aws::String m_pipelineExecutionDescription; bool m_pipelineExecutionDescriptionHasBeenSet = false; PipelineExperimentConfig m_pipelineExperimentConfig; bool m_pipelineExperimentConfigHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; UserContext m_createdBy; bool m_createdByHasBeenSet = false; UserContext m_lastModifiedBy; bool m_lastModifiedByHasBeenSet = false; ParallelismConfiguration m_parallelismConfiguration; bool m_parallelismConfigurationHasBeenSet = false; Aws::Vector