AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JoinColumn.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
33 {
34 public:
35 AWS_GLUE_API JoinColumn();
36 AWS_GLUE_API JoinColumn(Aws::Utils::Json::JsonView jsonValue);
39
40
42
45 inline const Aws::String& GetFrom() const{ return m_from; }
46 inline bool FromHasBeenSet() const { return m_fromHasBeenSet; }
47 inline void SetFrom(const Aws::String& value) { m_fromHasBeenSet = true; m_from = value; }
48 inline void SetFrom(Aws::String&& value) { m_fromHasBeenSet = true; m_from = std::move(value); }
49 inline void SetFrom(const char* value) { m_fromHasBeenSet = true; m_from.assign(value); }
50 inline JoinColumn& WithFrom(const Aws::String& value) { SetFrom(value); return *this;}
51 inline JoinColumn& WithFrom(Aws::String&& value) { SetFrom(std::move(value)); return *this;}
52 inline JoinColumn& WithFrom(const char* value) { SetFrom(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetKeys() const{ return m_keys; }
60 inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; }
61 inline void SetKeys(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_keysHasBeenSet = true; m_keys = value; }
62 inline void SetKeys(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_keysHasBeenSet = true; m_keys = std::move(value); }
63 inline JoinColumn& WithKeys(const Aws::Vector<Aws::Vector<Aws::String>>& value) { SetKeys(value); return *this;}
64 inline JoinColumn& WithKeys(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetKeys(std::move(value)); return *this;}
65 inline JoinColumn& AddKeys(const Aws::Vector<Aws::String>& value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; }
66 inline JoinColumn& AddKeys(Aws::Vector<Aws::String>&& value) { m_keysHasBeenSet = true; m_keys.push_back(std::move(value)); return *this; }
68 private:
69
70 Aws::String m_from;
71 bool m_fromHasBeenSet = false;
72
74 bool m_keysHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
JoinColumn & WithFrom(const char *value)
Definition JoinColumn.h:52
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API JoinColumn(Aws::Utils::Json::JsonView jsonValue)
JoinColumn & WithFrom(Aws::String &&value)
Definition JoinColumn.h:51
JoinColumn & AddKeys(const Aws::Vector< Aws::String > &value)
Definition JoinColumn.h:65
JoinColumn & AddKeys(Aws::Vector< Aws::String > &&value)
Definition JoinColumn.h:66
JoinColumn & WithKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
Definition JoinColumn.h:63
AWS_GLUE_API JoinColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFrom(const char *value)
Definition JoinColumn.h:49
void SetKeys(const Aws::Vector< Aws::Vector< Aws::String > > &value)
Definition JoinColumn.h:61
JoinColumn & WithKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
Definition JoinColumn.h:64
const Aws::Vector< Aws::Vector< Aws::String > > & GetKeys() const
Definition JoinColumn.h:59
void SetKeys(Aws::Vector< Aws::Vector< Aws::String > > &&value)
Definition JoinColumn.h:62
void SetFrom(Aws::String &&value)
Definition JoinColumn.h:48
JoinColumn & WithFrom(const Aws::String &value)
Definition JoinColumn.h:50
void SetFrom(const Aws::String &value)
Definition JoinColumn.h:47
const Aws::String & GetFrom() const
Definition JoinColumn.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue