/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace OSIS { namespace Model { /** *

The progress details of a pipeline configuration change.

See * Also:

AWS * API Reference

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

The time at which the configuration change is made on the pipeline.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The time at which the configuration change is made on the pipeline.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The time at which the configuration change is made on the pipeline.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The time at which the configuration change is made on the pipeline.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The time at which the configuration change is made on the pipeline.

*/ inline ChangeProgressStatus& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The time at which the configuration change is made on the pipeline.

*/ inline ChangeProgressStatus& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The overall status of the pipeline configuration change.

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

The overall status of the pipeline configuration change.

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

The overall status of the pipeline configuration change.

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

The overall status of the pipeline configuration change.

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

The overall status of the pipeline configuration change.

*/ inline ChangeProgressStatus& WithStatus(const ChangeProgressStatuses& value) { SetStatus(value); return *this;} /** *

The overall status of the pipeline configuration change.

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

The total number of stages required for the pipeline configuration * change.

*/ inline int GetTotalNumberOfStages() const{ return m_totalNumberOfStages; } /** *

The total number of stages required for the pipeline configuration * change.

*/ inline bool TotalNumberOfStagesHasBeenSet() const { return m_totalNumberOfStagesHasBeenSet; } /** *

The total number of stages required for the pipeline configuration * change.

*/ inline void SetTotalNumberOfStages(int value) { m_totalNumberOfStagesHasBeenSet = true; m_totalNumberOfStages = value; } /** *

The total number of stages required for the pipeline configuration * change.

*/ inline ChangeProgressStatus& WithTotalNumberOfStages(int value) { SetTotalNumberOfStages(value); return *this;} /** *

Information about the stages that the pipeline is going through to perform * the configuration change.

*/ inline const Aws::Vector& GetChangeProgressStages() const{ return m_changeProgressStages; } /** *

Information about the stages that the pipeline is going through to perform * the configuration change.

*/ inline bool ChangeProgressStagesHasBeenSet() const { return m_changeProgressStagesHasBeenSet; } /** *

Information about the stages that the pipeline is going through to perform * the configuration change.

*/ inline void SetChangeProgressStages(const Aws::Vector& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages = value; } /** *

Information about the stages that the pipeline is going through to perform * the configuration change.

*/ inline void SetChangeProgressStages(Aws::Vector&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages = std::move(value); } /** *

Information about the stages that the pipeline is going through to perform * the configuration change.

*/ inline ChangeProgressStatus& WithChangeProgressStages(const Aws::Vector& value) { SetChangeProgressStages(value); return *this;} /** *

Information about the stages that the pipeline is going through to perform * the configuration change.

*/ inline ChangeProgressStatus& WithChangeProgressStages(Aws::Vector&& value) { SetChangeProgressStages(std::move(value)); return *this;} /** *

Information about the stages that the pipeline is going through to perform * the configuration change.

*/ inline ChangeProgressStatus& AddChangeProgressStages(const ChangeProgressStage& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages.push_back(value); return *this; } /** *

Information about the stages that the pipeline is going through to perform * the configuration change.

*/ inline ChangeProgressStatus& AddChangeProgressStages(ChangeProgressStage&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages.push_back(std::move(value)); return *this; } private: Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; ChangeProgressStatuses m_status; bool m_statusHasBeenSet = false; int m_totalNumberOfStages; bool m_totalNumberOfStagesHasBeenSet = false; Aws::Vector m_changeProgressStages; bool m_changeProgressStagesHasBeenSet = false; }; } // namespace Model } // namespace OSIS } // namespace Aws