AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Join.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 <aws/glue/model/JoinType.h>
11#include <aws/glue/model/JoinColumn.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 Glue
25{
26namespace Model
27{
28
36 class Join
37 {
38 public:
39 AWS_GLUE_API Join();
40 AWS_GLUE_API Join(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLUE_API Join& operator=(Aws::Utils::Json::JsonView jsonValue);
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline Join& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline Join& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline Join& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetInputs() const{ return m_inputs; }
64 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
65 inline void SetInputs(const Aws::Vector<Aws::String>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
66 inline void SetInputs(Aws::Vector<Aws::String>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
67 inline Join& WithInputs(const Aws::Vector<Aws::String>& value) { SetInputs(value); return *this;}
68 inline Join& WithInputs(Aws::Vector<Aws::String>&& value) { SetInputs(std::move(value)); return *this;}
69 inline Join& AddInputs(const Aws::String& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
70 inline Join& AddInputs(Aws::String&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
71 inline Join& AddInputs(const char* value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
73
75
78 inline const JoinType& GetJoinType() const{ return m_joinType; }
79 inline bool JoinTypeHasBeenSet() const { return m_joinTypeHasBeenSet; }
80 inline void SetJoinType(const JoinType& value) { m_joinTypeHasBeenSet = true; m_joinType = value; }
81 inline void SetJoinType(JoinType&& value) { m_joinTypeHasBeenSet = true; m_joinType = std::move(value); }
82 inline Join& WithJoinType(const JoinType& value) { SetJoinType(value); return *this;}
83 inline Join& WithJoinType(JoinType&& value) { SetJoinType(std::move(value)); return *this;}
85
87
90 inline const Aws::Vector<JoinColumn>& GetColumns() const{ return m_columns; }
91 inline bool ColumnsHasBeenSet() const { return m_columnsHasBeenSet; }
92 inline void SetColumns(const Aws::Vector<JoinColumn>& value) { m_columnsHasBeenSet = true; m_columns = value; }
93 inline void SetColumns(Aws::Vector<JoinColumn>&& value) { m_columnsHasBeenSet = true; m_columns = std::move(value); }
94 inline Join& WithColumns(const Aws::Vector<JoinColumn>& value) { SetColumns(value); return *this;}
95 inline Join& WithColumns(Aws::Vector<JoinColumn>&& value) { SetColumns(std::move(value)); return *this;}
96 inline Join& AddColumns(const JoinColumn& value) { m_columnsHasBeenSet = true; m_columns.push_back(value); return *this; }
97 inline Join& AddColumns(JoinColumn&& value) { m_columnsHasBeenSet = true; m_columns.push_back(std::move(value)); return *this; }
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
105 bool m_inputsHasBeenSet = false;
106
107 JoinType m_joinType;
108 bool m_joinTypeHasBeenSet = false;
109
110 Aws::Vector<JoinColumn> m_columns;
111 bool m_columnsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Glue
116} // namespace Aws
Join & WithInputs(const Aws::Vector< Aws::String > &value)
Definition Join.h:67
Join & AddColumns(JoinColumn &&value)
Definition Join.h:97
bool ColumnsHasBeenSet() const
Definition Join.h:91
Join & WithJoinType(JoinType &&value)
Definition Join.h:83
void SetInputs(const Aws::Vector< Aws::String > &value)
Definition Join.h:65
void SetName(const Aws::String &value)
Definition Join.h:51
bool NameHasBeenSet() const
Definition Join.h:50
void SetName(const char *value)
Definition Join.h:53
Join & WithColumns(const Aws::Vector< JoinColumn > &value)
Definition Join.h:94
AWS_GLUE_API Join()
Join & WithColumns(Aws::Vector< JoinColumn > &&value)
Definition Join.h:95
void SetInputs(Aws::Vector< Aws::String > &&value)
Definition Join.h:66
Join & AddInputs(const Aws::String &value)
Definition Join.h:69
const Aws::Vector< JoinColumn > & GetColumns() const
Definition Join.h:90
Join & AddInputs(Aws::String &&value)
Definition Join.h:70
Join & WithName(Aws::String &&value)
Definition Join.h:55
Join & AddColumns(const JoinColumn &value)
Definition Join.h:96
void SetJoinType(JoinType &&value)
Definition Join.h:81
void SetName(Aws::String &&value)
Definition Join.h:52
Join & AddInputs(const char *value)
Definition Join.h:71
void SetColumns(Aws::Vector< JoinColumn > &&value)
Definition Join.h:93
const Aws::String & GetName() const
Definition Join.h:49
bool InputsHasBeenSet() const
Definition Join.h:64
void SetJoinType(const JoinType &value)
Definition Join.h:80
const Aws::Vector< Aws::String > & GetInputs() const
Definition Join.h:63
void SetColumns(const Aws::Vector< JoinColumn > &value)
Definition Join.h:92
Join & WithName(const Aws::String &value)
Definition Join.h:54
AWS_GLUE_API Join(Aws::Utils::Json::JsonView jsonValue)
const JoinType & GetJoinType() const
Definition Join.h:78
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Join & WithName(const char *value)
Definition Join.h:56
bool JoinTypeHasBeenSet() const
Definition Join.h:79
Join & WithJoinType(const JoinType &value)
Definition Join.h:82
Join & WithInputs(Aws::Vector< Aws::String > &&value)
Definition Join.h:68
AWS_GLUE_API Join & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue