AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 Merge& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetInputs() const { return m_inputs; }
61 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
62 template<typename InputsT = Aws::Vector<Aws::String>>
63 void SetInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs = std::forward<InputsT>(value); }
64 template<typename InputsT = Aws::Vector<Aws::String>>
65 Merge& WithInputs(InputsT&& value) { SetInputs(std::forward<InputsT>(value)); return *this;}
66 template<typename InputsT = Aws::String>
67 Merge& AddInputs(InputsT&& value) { m_inputsHasBeenSet = true; m_inputs.emplace_back(std::forward<InputsT>(value)); return *this; }
69
71
75 inline const Aws::String& GetSource() const { return m_source; }
76 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
77 template<typename SourceT = Aws::String>
78 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
79 template<typename SourceT = Aws::String>
80 Merge& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
82
84
88 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetPrimaryKeys() const { return m_primaryKeys; }
89 inline bool PrimaryKeysHasBeenSet() const { return m_primaryKeysHasBeenSet; }
90 template<typename PrimaryKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
91 void SetPrimaryKeys(PrimaryKeysT&& value) { m_primaryKeysHasBeenSet = true; m_primaryKeys = std::forward<PrimaryKeysT>(value); }
92 template<typename PrimaryKeysT = Aws::Vector<Aws::Vector<Aws::String>>>
93 Merge& WithPrimaryKeys(PrimaryKeysT&& value) { SetPrimaryKeys(std::forward<PrimaryKeysT>(value)); return *this;}
94 template<typename PrimaryKeysT = Aws::Vector<Aws::String>>
95 Merge& AddPrimaryKeys(PrimaryKeysT&& value) { m_primaryKeysHasBeenSet = true; m_primaryKeys.emplace_back(std::forward<PrimaryKeysT>(value)); return *this; }
97 private:
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
103 bool m_inputsHasBeenSet = false;
104
105 Aws::String m_source;
106 bool m_sourceHasBeenSet = false;
107
109 bool m_primaryKeysHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Glue
114} // namespace Aws
bool SourceHasBeenSet() const
Definition Merge.h:76
bool InputsHasBeenSet() const
Definition Merge.h:61
const Aws::Vector< Aws::Vector< Aws::String > > & GetPrimaryKeys() const
Definition Merge.h:88
AWS_GLUE_API Merge(Aws::Utils::Json::JsonView jsonValue)
void SetInputs(InputsT &&value)
Definition Merge.h:63
const Aws::Vector< Aws::String > & GetInputs() const
Definition Merge.h:60
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetSource() const
Definition Merge.h:75
AWS_GLUE_API Merge & operator=(Aws::Utils::Json::JsonView jsonValue)
Merge & WithSource(SourceT &&value)
Definition Merge.h:80
Merge & WithPrimaryKeys(PrimaryKeysT &&value)
Definition Merge.h:93
AWS_GLUE_API Merge()=default
Merge & AddInputs(InputsT &&value)
Definition Merge.h:67
void SetSource(SourceT &&value)
Definition Merge.h:78
Merge & AddPrimaryKeys(PrimaryKeysT &&value)
Definition Merge.h:95
void SetPrimaryKeys(PrimaryKeysT &&value)
Definition Merge.h:91
Merge & WithName(NameT &&value)
Definition Merge.h:53
void SetName(NameT &&value)
Definition Merge.h:51
bool PrimaryKeysHasBeenSet() const
Definition Merge.h:89
const Aws::String & GetName() const
Definition Merge.h:48
Merge & WithInputs(InputsT &&value)
Definition Merge.h:65
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