AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PipelineObject.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataPipeline
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_DATAPIPELINE_API PipelineObject() = default;
39 AWS_DATAPIPELINE_API PipelineObject(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATAPIPELINE_API PipelineObject& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 PipelineObject& WithId(IdT&& value) { SetId(std::forward<IdT>(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 PipelineObject& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
67
69
72 inline const Aws::Vector<Field>& GetFields() const { return m_fields; }
73 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
74 template<typename FieldsT = Aws::Vector<Field>>
75 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields = std::forward<FieldsT>(value); }
76 template<typename FieldsT = Aws::Vector<Field>>
77 PipelineObject& WithFields(FieldsT&& value) { SetFields(std::forward<FieldsT>(value)); return *this;}
78 template<typename FieldsT = Field>
79 PipelineObject& AddFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields.emplace_back(std::forward<FieldsT>(value)); return *this; }
81 private:
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
89 Aws::Vector<Field> m_fields;
90 bool m_fieldsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DataPipeline
95} // namespace Aws
const Aws::Vector< Field > & GetFields() const
AWS_DATAPIPELINE_API PipelineObject & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAPIPELINE_API PipelineObject(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineObject & WithFields(FieldsT &&value)
const Aws::String & GetName() const
PipelineObject & WithName(NameT &&value)
PipelineObject & WithId(IdT &&value)
const Aws::String & GetId() const
AWS_DATAPIPELINE_API PipelineObject()=default
PipelineObject & AddFields(FieldsT &&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