AWS SDK for C++  1.8.126
AWS SDK for C++
PipelineDescription.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace DataPipeline
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
48 
53  inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
54 
59  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
60 
65  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
66 
71  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
72 
77  inline PipelineDescription& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
78 
83  inline PipelineDescription& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
84 
89  inline PipelineDescription& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
90 
91 
95  inline const Aws::String& GetName() const{ return m_name; }
96 
100  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
101 
105  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
106 
110  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
111 
115  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
116 
120  inline PipelineDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
121 
125  inline PipelineDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
126 
130  inline PipelineDescription& WithName(const char* value) { SetName(value); return *this;}
131 
132 
137  inline const Aws::Vector<Field>& GetFields() const{ return m_fields; }
138 
143  inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
144 
149  inline void SetFields(const Aws::Vector<Field>& value) { m_fieldsHasBeenSet = true; m_fields = value; }
150 
155  inline void SetFields(Aws::Vector<Field>&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); }
156 
161  inline PipelineDescription& WithFields(const Aws::Vector<Field>& value) { SetFields(value); return *this;}
162 
167  inline PipelineDescription& WithFields(Aws::Vector<Field>&& value) { SetFields(std::move(value)); return *this;}
168 
173  inline PipelineDescription& AddFields(const Field& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; }
174 
179  inline PipelineDescription& AddFields(Field&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; }
180 
181 
185  inline const Aws::String& GetDescription() const{ return m_description; }
186 
190  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
191 
195  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
196 
200  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
201 
205  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
206 
210  inline PipelineDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
211 
215  inline PipelineDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
216 
220  inline PipelineDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
221 
222 
230  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
231 
239  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
240 
248  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
249 
257  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
258 
266  inline PipelineDescription& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
267 
275  inline PipelineDescription& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
276 
284  inline PipelineDescription& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
285 
293  inline PipelineDescription& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
294 
295  private:
296 
297  Aws::String m_pipelineId;
298  bool m_pipelineIdHasBeenSet;
299 
300  Aws::String m_name;
301  bool m_nameHasBeenSet;
302 
303  Aws::Vector<Field> m_fields;
304  bool m_fieldsHasBeenSet;
305 
306  Aws::String m_description;
307  bool m_descriptionHasBeenSet;
308 
309  Aws::Vector<Tag> m_tags;
310  bool m_tagsHasBeenSet;
311  };
312 
313 } // namespace Model
314 } // namespace DataPipeline
315 } // namespace Aws
Aws::DataPipeline::Model::PipelineDescription::WithTags
PipelineDescription & WithTags(const Aws::Vector< Tag > &value)
Definition: PipelineDescription.h:266
Aws::DataPipeline::Model::PipelineDescription::WithPipelineId
PipelineDescription & WithPipelineId(Aws::String &&value)
Definition: PipelineDescription.h:83
Aws::DataPipeline::Model::PipelineDescription::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: PipelineDescription.h:230
Aws::DataPipeline::Model::PipelineDescription::WithDescription
PipelineDescription & WithDescription(const char *value)
Definition: PipelineDescription.h:220
Aws::DataPipeline::Model::PipelineDescription::PipelineDescription
PipelineDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::DataPipeline::Model::PipelineDescription::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: PipelineDescription.h:239
Aws::DataPipeline::Model::PipelineDescription::PipelineIdHasBeenSet
bool PipelineIdHasBeenSet() const
Definition: PipelineDescription.h:53
Aws::DataPipeline::Model::PipelineDescription::operator=
PipelineDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DataPipeline::Model::PipelineDescription::WithTags
PipelineDescription & WithTags(Aws::Vector< Tag > &&value)
Definition: PipelineDescription.h:275
Aws::DataPipeline::Model::PipelineDescription::SetPipelineId
void SetPipelineId(Aws::String &&value)
Definition: PipelineDescription.h:65
Aws::DataPipeline::Model::PipelineDescription::SetDescription
void SetDescription(const Aws::String &value)
Definition: PipelineDescription.h:195
Aws::DataPipeline::Model::PipelineDescription::WithPipelineId
PipelineDescription & WithPipelineId(const Aws::String &value)
Definition: PipelineDescription.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataPipeline::Model::PipelineDescription::WithName
PipelineDescription & WithName(const char *value)
Definition: PipelineDescription.h:130
Aws::DataPipeline::Model::PipelineDescription::GetFields
const Aws::Vector< Field > & GetFields() const
Definition: PipelineDescription.h:137
Aws::DataPipeline::Model::PipelineDescription::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PipelineDescription.h:190
Aws::DataPipeline::Model::PipelineDescription::WithName
PipelineDescription & WithName(const Aws::String &value)
Definition: PipelineDescription.h:120
Aws::DataPipeline::Model::PipelineDescription::PipelineDescription
PipelineDescription()
Field.h
AWSVector.h
Aws::DataPipeline::Model::PipelineDescription::SetPipelineId
void SetPipelineId(const char *value)
Definition: PipelineDescription.h:71
Aws::DataPipeline::Model::PipelineDescription::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: PipelineDescription.h:248
Aws::DataPipeline::Model::PipelineDescription::AddTags
PipelineDescription & AddTags(Tag &&value)
Definition: PipelineDescription.h:293
Aws::DataPipeline::Model::PipelineDescription::SetFields
void SetFields(Aws::Vector< Field > &&value)
Definition: PipelineDescription.h:155
Tag.h
Aws::DataPipeline::Model::PipelineDescription::SetPipelineId
void SetPipelineId(const Aws::String &value)
Definition: PipelineDescription.h:59
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::PipelineDescription::FieldsHasBeenSet
bool FieldsHasBeenSet() const
Definition: PipelineDescription.h:143
Aws::DataPipeline::Model::PipelineDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DataPipeline::Model::PipelineDescription::GetName
const Aws::String & GetName() const
Definition: PipelineDescription.h:95
Aws::DataPipeline::Model::PipelineDescription::SetDescription
void SetDescription(Aws::String &&value)
Definition: PipelineDescription.h:200
Aws::DataPipeline::Model::PipelineDescription::SetName
void SetName(const Aws::String &value)
Definition: PipelineDescription.h:105
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DataPipeline::Model::PipelineDescription::SetName
void SetName(const char *value)
Definition: PipelineDescription.h:115
Aws::DataPipeline::Model::PipelineDescription::SetName
void SetName(Aws::String &&value)
Definition: PipelineDescription.h:110
Aws::DataPipeline::Model::PipelineDescription::WithFields
PipelineDescription & WithFields(Aws::Vector< Field > &&value)
Definition: PipelineDescription.h:167
Aws::DataPipeline::Model::Field
Definition: Field.h:35
Aws::DataPipeline::Model::PipelineDescription::WithName
PipelineDescription & WithName(Aws::String &&value)
Definition: PipelineDescription.h:125
Aws
Definition: AccessManagementClient.h:15
Aws::DataPipeline::Model::PipelineDescription::WithPipelineId
PipelineDescription & WithPipelineId(const char *value)
Definition: PipelineDescription.h:89
Aws::DataPipeline::Model::PipelineDescription::AddFields
PipelineDescription & AddFields(Field &&value)
Definition: PipelineDescription.h:179
Aws::DataPipeline::Model::PipelineDescription::SetFields
void SetFields(const Aws::Vector< Field > &value)
Definition: PipelineDescription.h:149
AWS_DATAPIPELINE_API
#define AWS_DATAPIPELINE_API
Definition: DataPipeline_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataPipeline::Model::PipelineDescription::AddTags
PipelineDescription & AddTags(const Tag &value)
Definition: PipelineDescription.h:284
Aws::DataPipeline::Model::PipelineDescription::WithDescription
PipelineDescription & WithDescription(Aws::String &&value)
Definition: PipelineDescription.h:215
Aws::DataPipeline::Model::Tag
Definition: Tag.h:37
Aws::DataPipeline::Model::PipelineDescription
Definition: PipelineDescription.h:35
Aws::DataPipeline::Model::PipelineDescription::WithFields
PipelineDescription & WithFields(const Aws::Vector< Field > &value)
Definition: PipelineDescription.h:161
Aws::DataPipeline::Model::PipelineDescription::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: PipelineDescription.h:257
Aws::DataPipeline::Model::PipelineDescription::WithDescription
PipelineDescription & WithDescription(const Aws::String &value)
Definition: PipelineDescription.h:210
Aws::DataPipeline::Model::PipelineDescription::AddFields
PipelineDescription & AddFields(const Field &value)
Definition: PipelineDescription.h:173
Aws::DataPipeline::Model::PipelineDescription::SetDescription
void SetDescription(const char *value)
Definition: PipelineDescription.h:205
Aws::DataPipeline::Model::PipelineDescription::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PipelineDescription.h:100
Aws::DataPipeline::Model::PipelineDescription::GetPipelineId
const Aws::String & GetPipelineId() const
Definition: PipelineDescription.h:47
Aws::DataPipeline::Model::PipelineDescription::GetDescription
const Aws::String & GetDescription() const
Definition: PipelineDescription.h:185