AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipelineDescription.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datapipeline/model/Field.h>
11#include <aws/datapipeline/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataPipeline
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATAPIPELINE_API PipelineDescription();
38 AWS_DATAPIPELINE_API PipelineDescription(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
49 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
50 inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
51 inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
52 inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
53 inline PipelineDescription& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
54 inline PipelineDescription& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
55 inline PipelineDescription& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline PipelineDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline PipelineDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline PipelineDescription& WithName(const char* value) { SetName(value); return *this;}
71
73
77 inline const Aws::Vector<Field>& GetFields() const{ return m_fields; }
78 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
79 inline void SetFields(const Aws::Vector<Field>& value) { m_fieldsHasBeenSet = true; m_fields = value; }
80 inline void SetFields(Aws::Vector<Field>&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); }
81 inline PipelineDescription& WithFields(const Aws::Vector<Field>& value) { SetFields(value); return *this;}
82 inline PipelineDescription& WithFields(Aws::Vector<Field>&& value) { SetFields(std::move(value)); return *this;}
83 inline PipelineDescription& AddFields(const Field& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; }
84 inline PipelineDescription& AddFields(Field&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; }
86
88
91 inline const Aws::String& GetDescription() const{ return m_description; }
92 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
93 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
94 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
95 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
96 inline PipelineDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
97 inline PipelineDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
98 inline PipelineDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
100
102
109 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
112 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
113 inline PipelineDescription& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
114 inline PipelineDescription& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
115 inline PipelineDescription& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
116 inline PipelineDescription& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
118 private:
119
120 Aws::String m_pipelineId;
121 bool m_pipelineIdHasBeenSet = false;
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
126 Aws::Vector<Field> m_fields;
127 bool m_fieldsHasBeenSet = false;
128
129 Aws::String m_description;
130 bool m_descriptionHasBeenSet = false;
131
132 Aws::Vector<Tag> m_tags;
133 bool m_tagsHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace DataPipeline
138} // namespace Aws
PipelineDescription & WithPipelineId(const char *value)
PipelineDescription & WithDescription(const char *value)
PipelineDescription & AddTags(Tag &&value)
PipelineDescription & WithDescription(const Aws::String &value)
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineDescription & AddFields(const Field &value)
PipelineDescription & WithPipelineId(const Aws::String &value)
PipelineDescription & WithName(const Aws::String &value)
PipelineDescription & WithFields(const Aws::Vector< Field > &value)
PipelineDescription & WithDescription(Aws::String &&value)
AWS_DATAPIPELINE_API PipelineDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Tag > & GetTags() const
PipelineDescription & AddFields(Field &&value)
PipelineDescription & WithTags(const Aws::Vector< Tag > &value)
PipelineDescription & AddTags(const Tag &value)
void SetFields(Aws::Vector< Field > &&value)
void SetTags(const Aws::Vector< Tag > &value)
PipelineDescription & WithTags(Aws::Vector< Tag > &&value)
PipelineDescription & WithName(Aws::String &&value)
AWS_DATAPIPELINE_API PipelineDescription(Aws::Utils::Json::JsonView jsonValue)
PipelineDescription & WithPipelineId(Aws::String &&value)
void SetFields(const Aws::Vector< Field > &value)
const Aws::Vector< Field > & GetFields() const
PipelineDescription & WithFields(Aws::Vector< Field > &&value)
PipelineDescription & WithName(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