/** * 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 CodePipeline { namespace Model { /** *

Represents the output of a CreatePipeline action.

See * Also:

AWS * API Reference

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

Represents the structure of actions and stages to be performed in the * pipeline.

*/ inline const PipelineDeclaration& GetPipeline() const{ return m_pipeline; } /** *

Represents the structure of actions and stages to be performed in the * pipeline.

*/ inline void SetPipeline(const PipelineDeclaration& value) { m_pipeline = value; } /** *

Represents the structure of actions and stages to be performed in the * pipeline.

*/ inline void SetPipeline(PipelineDeclaration&& value) { m_pipeline = std::move(value); } /** *

Represents the structure of actions and stages to be performed in the * pipeline.

*/ inline CreatePipelineResult& WithPipeline(const PipelineDeclaration& value) { SetPipeline(value); return *this;} /** *

Represents the structure of actions and stages to be performed in the * pipeline.

*/ inline CreatePipelineResult& WithPipeline(PipelineDeclaration&& value) { SetPipeline(std::move(value)); return *this;} /** *

Specifies the tags applied to the pipeline.

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

Specifies the tags applied to the pipeline.

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

Specifies the tags applied to the pipeline.

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

Specifies the tags applied to the pipeline.

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

Specifies the tags applied to the pipeline.

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

Specifies the tags applied to the pipeline.

*/ inline CreatePipelineResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } /** *

Specifies the tags applied to the pipeline.

*/ inline CreatePipelineResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } private: PipelineDeclaration m_pipeline; Aws::Vector m_tags; }; } // namespace Model } // namespace CodePipeline } // namespace Aws