/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace OSIS { namespace Model { class GetPipelineChangeProgressResult { public: AWS_OSIS_API GetPipelineChangeProgressResult(); AWS_OSIS_API GetPipelineChangeProgressResult(const Aws::AmazonWebServiceResult& result); AWS_OSIS_API GetPipelineChangeProgressResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The current status of the change happening on the pipeline.

*/ inline const Aws::Vector& GetChangeProgressStatuses() const{ return m_changeProgressStatuses; } /** *

The current status of the change happening on the pipeline.

*/ inline void SetChangeProgressStatuses(const Aws::Vector& value) { m_changeProgressStatuses = value; } /** *

The current status of the change happening on the pipeline.

*/ inline void SetChangeProgressStatuses(Aws::Vector&& value) { m_changeProgressStatuses = std::move(value); } /** *

The current status of the change happening on the pipeline.

*/ inline GetPipelineChangeProgressResult& WithChangeProgressStatuses(const Aws::Vector& value) { SetChangeProgressStatuses(value); return *this;} /** *

The current status of the change happening on the pipeline.

*/ inline GetPipelineChangeProgressResult& WithChangeProgressStatuses(Aws::Vector&& value) { SetChangeProgressStatuses(std::move(value)); return *this;} /** *

The current status of the change happening on the pipeline.

*/ inline GetPipelineChangeProgressResult& AddChangeProgressStatuses(const ChangeProgressStatus& value) { m_changeProgressStatuses.push_back(value); return *this; } /** *

The current status of the change happening on the pipeline.

*/ inline GetPipelineChangeProgressResult& AddChangeProgressStatuses(ChangeProgressStatus&& value) { m_changeProgressStatuses.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetPipelineChangeProgressResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetPipelineChangeProgressResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetPipelineChangeProgressResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_changeProgressStatuses; Aws::String m_requestId; }; } // namespace Model } // namespace OSIS } // namespace Aws