AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Merge.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
35 class Merge
36 {
37 public:
38 AWS_GLUE_API Merge();
39 AWS_GLUE_API Merge(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUE_API Merge& operator=(Aws::Utils::Json::JsonView jsonValue);
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline Merge& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline Merge& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline Merge& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
63 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
64 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
65 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
66 inline Merge& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
67 inline Merge& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
68 inline Merge& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
69 inline Merge& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
70 inline Merge& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
72
74
78 inline const Aws::String& GetSource() const{ return m_source; }
79 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
80 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
81 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
82 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
83 inline Merge& WithSource(const Aws::String& value) { SetSource(value); return *this;}
84 inline Merge& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
85 inline Merge& WithSource(const char* value) { SetSource(value); return *this;}
87
89
93 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPrimaryKeys() const{ return m_primaryKeys; }
94 inline bool PrimaryKeysHasBeenSet() const { return m_primaryKeysHasBeenSet; }
95 inline void SetPrimaryKeys(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_primaryKeysHasBeenSet = true; m_primaryKeys = value; }
96 inline void SetPrimaryKeys(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_primaryKeysHasBeenSet = true; m_primaryKeys = std::move(value); }
97 inline Merge& WithPrimaryKeys(const Aws::Vector<Aws::Vector<Aws::String>>& value) { SetPrimaryKeys(value); return *this;}
98 inline Merge& WithPrimaryKeys(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetPrimaryKeys(std::move(value)); return *this;}
99 inline Merge& AddPrimaryKeys(const Aws::Vector<Aws::String>& value) { m_primaryKeysHasBeenSet = true; m_primaryKeys.push_back(value); return *this; }
100 inline Merge& AddPrimaryKeys(Aws::Vector<Aws::String>&& value) { m_primaryKeysHasBeenSet = true; m_primaryKeys.push_back(std::move(value)); return *this; }
102 private:
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
108 bool m_inputsHasBeenSet = false;
109
110 Aws::String m_source;
111 bool m_sourceHasBeenSet = false;
112
114 bool m_primaryKeysHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Glue
119} // namespace Aws
void SetPrimaryKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
Definition Merge.h:96
Merge & AddInputs(const char *value)
Definition Merge.h:70
bool SourceHasBeenSet() const
Definition Merge.h:79
Merge & AddInputs(Aws::String &&value)
Definition Merge.h:69
bool InputsHasBeenSet() const
Definition Merge.h:63
const Aws::Vector< Aws::Vector< Aws::String > > & GetPrimaryKeys() const
Definition Merge.h:93
Merge & WithSource(const Aws::String &value)
Definition Merge.h:83
AWS_GLUE_API Merge(Aws::Utils::Json::JsonView jsonValue)
void SetSource(Aws::String &&value)
Definition Merge.h:81
const Aws::Vector< Aws::String > & GetInputs() const
Definition Merge.h:62
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrimaryKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
Definition Merge.h:95
Merge & AddPrimaryKeys(Aws::Vector< Aws::String > &&value)
Definition Merge.h:100
Merge & WithPrimaryKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
Definition Merge.h:98
const Aws::String & GetSource() const
Definition Merge.h:78
void SetSource(const char *value)
Definition Merge.h:82
AWS_GLUE_API Merge & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
Definition Merge.h:50
Merge & WithName(const char *value)
Definition Merge.h:55
void SetName(Aws::String &&value)
Definition Merge.h:51
Merge & WithPrimaryKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
Definition Merge.h:97
void SetSource(const Aws::String &value)
Definition Merge.h:80
Merge & AddPrimaryKeys(const Aws::Vector< Aws::String > &value)
Definition Merge.h:99
Merge & WithSource(Aws::String &&value)
Definition Merge.h:84
Merge & WithName(const Aws::String &value)
Definition Merge.h:53
void SetName(const char *value)
Definition Merge.h:52
void SetInputs(const Aws::Vector< Aws::String > &value)
Definition Merge.h:64
Merge & WithSource(const char *value)
Definition Merge.h:85
void SetInputs(Aws::Vector< Aws::String > &&value)
Definition Merge.h:65
bool PrimaryKeysHasBeenSet() const
Definition Merge.h:94
const Aws::String & GetName() const
Definition Merge.h:48
Merge & AddInputs(const Aws::String &value)
Definition Merge.h:68
Merge & WithInputs(const Aws::Vector< Aws::String > &value)
Definition Merge.h:66
AWS_GLUE_API Merge()
Merge & WithName(Aws::String &&value)
Definition Merge.h:54
Merge & WithInputs(Aws::Vector< Aws::String > &&value)
Definition Merge.h:67
bool NameHasBeenSet() const
Definition Merge.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue