AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PipelineDescription.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/DataPipeline_EXPORTS.h>
10#include <aws/datapipeline/model/Field.h>
11#include <aws/datapipeline/model/Tag.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataPipeline {
23namespace Model {
24
31 public:
32 AWS_DATAPIPELINE_API PipelineDescription() = default;
33 AWS_DATAPIPELINE_API PipelineDescription(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetPipelineId() const { return m_pipelineId; }
43 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
44 template <typename PipelineIdT = Aws::String>
45 void SetPipelineId(PipelineIdT&& value) {
46 m_pipelineIdHasBeenSet = true;
47 m_pipelineId = std::forward<PipelineIdT>(value);
48 }
49 template <typename PipelineIdT = Aws::String>
50 PipelineDescription& WithPipelineId(PipelineIdT&& value) {
51 SetPipelineId(std::forward<PipelineIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
68 PipelineDescription& WithName(NameT&& value) {
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::Vector<Field>& GetFields() const { return m_fields; }
80 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
81 template <typename FieldsT = Aws::Vector<Field>>
82 void SetFields(FieldsT&& value) {
83 m_fieldsHasBeenSet = true;
84 m_fields = std::forward<FieldsT>(value);
85 }
86 template <typename FieldsT = Aws::Vector<Field>>
87 PipelineDescription& WithFields(FieldsT&& value) {
88 SetFields(std::forward<FieldsT>(value));
89 return *this;
90 }
91 template <typename FieldsT = Field>
92 PipelineDescription& AddFields(FieldsT&& value) {
93 m_fieldsHasBeenSet = true;
94 m_fields.emplace_back(std::forward<FieldsT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetDescription() const { return m_description; }
104 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
105 template <typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) {
107 m_descriptionHasBeenSet = true;
108 m_description = std::forward<DescriptionT>(value);
109 }
110 template <typename DescriptionT = Aws::String>
111 PipelineDescription& WithDescription(DescriptionT&& value) {
112 SetDescription(std::forward<DescriptionT>(value));
113 return *this;
114 }
116
118
125 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
126 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
127 template <typename TagsT = Aws::Vector<Tag>>
128 void SetTags(TagsT&& value) {
129 m_tagsHasBeenSet = true;
130 m_tags = std::forward<TagsT>(value);
131 }
132 template <typename TagsT = Aws::Vector<Tag>>
134 SetTags(std::forward<TagsT>(value));
135 return *this;
136 }
137 template <typename TagsT = Tag>
138 PipelineDescription& AddTags(TagsT&& value) {
139 m_tagsHasBeenSet = true;
140 m_tags.emplace_back(std::forward<TagsT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_pipelineId;
146
147 Aws::String m_name;
148
149 Aws::Vector<Field> m_fields;
150
151 Aws::String m_description;
152
153 Aws::Vector<Tag> m_tags;
154 bool m_pipelineIdHasBeenSet = false;
155 bool m_nameHasBeenSet = false;
156 bool m_fieldsHasBeenSet = false;
157 bool m_descriptionHasBeenSet = false;
158 bool m_tagsHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace DataPipeline
163} // namespace Aws
PipelineDescription & WithFields(FieldsT &&value)
AWS_DATAPIPELINE_API PipelineDescription()=default
PipelineDescription & WithDescription(DescriptionT &&value)
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineDescription & WithTags(TagsT &&value)
AWS_DATAPIPELINE_API PipelineDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Tag > & GetTags() const
PipelineDescription & WithName(NameT &&value)
PipelineDescription & WithPipelineId(PipelineIdT &&value)
PipelineDescription & AddFields(FieldsT &&value)
AWS_DATAPIPELINE_API PipelineDescription(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Field > & GetFields() const
PipelineDescription & AddTags(TagsT &&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