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

Represents the output of a StartPipelineExecution * action.

See Also:

AWS * API Reference

*/ class StartPipelineExecutionResult { public: AWS_CODEPIPELINE_API StartPipelineExecutionResult(); AWS_CODEPIPELINE_API StartPipelineExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_CODEPIPELINE_API StartPipelineExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique system-generated ID of the pipeline execution that was * started.

*/ inline const Aws::String& GetPipelineExecutionId() const{ return m_pipelineExecutionId; } /** *

The unique system-generated ID of the pipeline execution that was * started.

*/ inline void SetPipelineExecutionId(const Aws::String& value) { m_pipelineExecutionId = value; } /** *

The unique system-generated ID of the pipeline execution that was * started.

*/ inline void SetPipelineExecutionId(Aws::String&& value) { m_pipelineExecutionId = std::move(value); } /** *

The unique system-generated ID of the pipeline execution that was * started.

*/ inline void SetPipelineExecutionId(const char* value) { m_pipelineExecutionId.assign(value); } /** *

The unique system-generated ID of the pipeline execution that was * started.

*/ inline StartPipelineExecutionResult& WithPipelineExecutionId(const Aws::String& value) { SetPipelineExecutionId(value); return *this;} /** *

The unique system-generated ID of the pipeline execution that was * started.

*/ inline StartPipelineExecutionResult& WithPipelineExecutionId(Aws::String&& value) { SetPipelineExecutionId(std::move(value)); return *this;} /** *

The unique system-generated ID of the pipeline execution that was * started.

*/ inline StartPipelineExecutionResult& WithPipelineExecutionId(const char* value) { SetPipelineExecutionId(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 StartPipelineExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartPipelineExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartPipelineExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_pipelineExecutionId; Aws::String m_requestId; }; } // namespace Model } // namespace CodePipeline } // namespace Aws