AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline PipelineObject& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline PipelineObject& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline PipelineObject& WithId(const char* value) { SetId(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 PipelineObject& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline PipelineObject& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline PipelineObject& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const Aws::Vector<Field>& GetFields() const{ return m_fields; }
77 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
78 inline void SetFields(const Aws::Vector<Field>& value) { m_fieldsHasBeenSet = true; m_fields = value; }
79 inline void SetFields(Aws::Vector<Field>&& value) { m_fieldsHasBeenSet = true; m_fields = std::move(value); }
80 inline PipelineObject& WithFields(const Aws::Vector<Field>& value) { SetFields(value); return *this;}
81 inline PipelineObject& WithFields(Aws::Vector<Field>&& value) { SetFields(std::move(value)); return *this;}
82 inline PipelineObject& AddFields(const Field& value) { m_fieldsHasBeenSet = true; m_fields.push_back(value); return *this; }
83 inline PipelineObject& AddFields(Field&& value) { m_fieldsHasBeenSet = true; m_fields.push_back(std::move(value)); return *this; }
85 private:
86
87 Aws::String m_id;
88 bool m_idHasBeenSet = false;
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::Vector<Field> m_fields;
94 bool m_fieldsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace DataPipeline
99} // namespace Aws
const Aws::Vector< Field > & GetFields() const
PipelineObject & AddFields(Field &&value)
AWS_DATAPIPELINE_API PipelineObject & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineObject & AddFields(const Field &value)
PipelineObject & WithId(const char *value)
PipelineObject & WithFields(const Aws::Vector< Field > &value)
void SetFields(const Aws::Vector< Field > &value)
void SetName(const Aws::String &value)
AWS_DATAPIPELINE_API PipelineObject(Aws::Utils::Json::JsonView jsonValue)
PipelineObject & WithName(const Aws::String &value)
void SetId(const Aws::String &value)
AWS_DATAPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
void SetFields(Aws::Vector< Field > &&value)
PipelineObject & WithId(Aws::String &&value)
const Aws::String & GetId() const
PipelineObject & WithId(const Aws::String &value)
PipelineObject & WithFields(Aws::Vector< Field > &&value)
PipelineObject & WithName(Aws::String &&value)
PipelineObject & 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