AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename PipelineIdT = Aws::String>
51 void SetPipelineId(PipelineIdT&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::forward<PipelineIdT>(value); }
52 template<typename PipelineIdT = Aws::String>
53 PipelineDescription& WithPipelineId(PipelineIdT&& value) { SetPipelineId(std::forward<PipelineIdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
64 template<typename NameT = Aws::String>
65 PipelineDescription& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
73 inline const Aws::Vector<Field>& GetFields() const { return m_fields; }
74 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
75 template<typename FieldsT = Aws::Vector<Field>>
76 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields = std::forward<FieldsT>(value); }
77 template<typename FieldsT = Aws::Vector<Field>>
78 PipelineDescription& WithFields(FieldsT&& value) { SetFields(std::forward<FieldsT>(value)); return *this;}
79 template<typename FieldsT = Field>
80 PipelineDescription& AddFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields.emplace_back(std::forward<FieldsT>(value)); return *this; }
82
84
87 inline const Aws::String& GetDescription() const { return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 template<typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
91 template<typename DescriptionT = Aws::String>
92 PipelineDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
94
96
103 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
104 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
105 template<typename TagsT = Aws::Vector<Tag>>
106 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
107 template<typename TagsT = Aws::Vector<Tag>>
108 PipelineDescription& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
109 template<typename TagsT = Tag>
110 PipelineDescription& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
112 private:
113
114 Aws::String m_pipelineId;
115 bool m_pipelineIdHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::Vector<Field> m_fields;
121 bool m_fieldsHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 Aws::Vector<Tag> m_tags;
127 bool m_tagsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace DataPipeline
132} // 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