AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePipelineResult.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/PipelineDeclaration.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/codepipeline/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CodePipeline
27{
28namespace Model
29{
37 {
38 public:
39 AWS_CODEPIPELINE_API CreatePipelineResult();
42
43
45
49 inline const PipelineDeclaration& GetPipeline() const{ return m_pipeline; }
50 inline void SetPipeline(const PipelineDeclaration& value) { m_pipeline = value; }
51 inline void SetPipeline(PipelineDeclaration&& value) { m_pipeline = std::move(value); }
52 inline CreatePipelineResult& WithPipeline(const PipelineDeclaration& value) { SetPipeline(value); return *this;}
53 inline CreatePipelineResult& WithPipeline(PipelineDeclaration&& value) { SetPipeline(std::move(value)); return *this;}
55
57
60 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
61 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
62 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
63 inline CreatePipelineResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
64 inline CreatePipelineResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
65 inline CreatePipelineResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
66 inline CreatePipelineResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
68
70
71 inline const Aws::String& GetRequestId() const{ return m_requestId; }
72 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
73 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
74 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
75 inline CreatePipelineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline CreatePipelineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline CreatePipelineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
81 PipelineDeclaration m_pipeline;
82
83 Aws::Vector<Tag> m_tags;
84
85 Aws::String m_requestId;
86 };
87
88} // namespace Model
89} // namespace CodePipeline
90} // namespace Aws
AWS_CODEPIPELINE_API CreatePipelineResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePipelineResult & WithTags(Aws::Vector< Tag > &&value)
CreatePipelineResult & WithRequestId(Aws::String &&value)
CreatePipelineResult & WithTags(const Aws::Vector< Tag > &value)
CreatePipelineResult & WithRequestId(const Aws::String &value)
CreatePipelineResult & AddTags(const Tag &value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_CODEPIPELINE_API CreatePipelineResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePipelineResult & AddTags(Tag &&value)
CreatePipelineResult & WithPipeline(PipelineDeclaration &&value)
CreatePipelineResult & WithPipeline(const PipelineDeclaration &value)
const PipelineDeclaration & GetPipeline() const
void SetPipeline(PipelineDeclaration &&value)
void SetPipeline(const PipelineDeclaration &value)
CreatePipelineResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue