AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreatePipelineRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datapipeline/DataPipelineRequest.h>
10#include <aws/datapipeline/DataPipeline_EXPORTS.h>
11#include <aws/datapipeline/model/Tag.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataPipeline {
17namespace Model {
18
25 public:
26 AWS_DATAPIPELINE_API CreatePipelineRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreatePipeline"; }
33
34 AWS_DATAPIPELINE_API Aws::String SerializePayload() const override;
35
36 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template <typename NameT = Aws::String>
47 void SetName(NameT&& value) {
48 m_nameHasBeenSet = true;
49 m_name = std::forward<NameT>(value);
50 }
51 template <typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
54 return *this;
55 }
57
59
72 inline const Aws::String& GetUniqueId() const { return m_uniqueId; }
73 inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
74 template <typename UniqueIdT = Aws::String>
75 void SetUniqueId(UniqueIdT&& value) {
76 m_uniqueIdHasBeenSet = true;
77 m_uniqueId = std::forward<UniqueIdT>(value);
78 }
79 template <typename UniqueIdT = Aws::String>
80 CreatePipelineRequest& WithUniqueId(UniqueIdT&& value) {
81 SetUniqueId(std::forward<UniqueIdT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
98 CreatePipelineRequest& WithDescription(DescriptionT&& value) {
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103
105
112 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
113 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
114 template <typename TagsT = Aws::Vector<Tag>>
115 void SetTags(TagsT&& value) {
116 m_tagsHasBeenSet = true;
117 m_tags = std::forward<TagsT>(value);
118 }
119 template <typename TagsT = Aws::Vector<Tag>>
121 SetTags(std::forward<TagsT>(value));
122 return *this;
123 }
124 template <typename TagsT = Tag>
126 m_tagsHasBeenSet = true;
127 m_tags.emplace_back(std::forward<TagsT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_name;
133
134 Aws::String m_uniqueId;
135
136 Aws::String m_description;
137
138 Aws::Vector<Tag> m_tags;
139 bool m_nameHasBeenSet = false;
140 bool m_uniqueIdHasBeenSet = false;
141 bool m_descriptionHasBeenSet = false;
142 bool m_tagsHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace DataPipeline
147} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreatePipelineRequest & WithDescription(DescriptionT &&value)
AWS_DATAPIPELINE_API CreatePipelineRequest()=default
CreatePipelineRequest & WithName(NameT &&value)
CreatePipelineRequest & AddTags(TagsT &&value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePipelineRequest & WithTags(TagsT &&value)
CreatePipelineRequest & WithUniqueId(UniqueIdT &&value)
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector