AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
JoinInstruction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/JoinKeyProperties.h>
10#include <aws/quicksight/model/JoinType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
30 public:
31 AWS_QUICKSIGHT_API JoinInstruction() = default;
32 AWS_QUICKSIGHT_API JoinInstruction(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetLeftOperand() const { return m_leftOperand; }
41 inline bool LeftOperandHasBeenSet() const { return m_leftOperandHasBeenSet; }
42 template <typename LeftOperandT = Aws::String>
43 void SetLeftOperand(LeftOperandT&& value) {
44 m_leftOperandHasBeenSet = true;
45 m_leftOperand = std::forward<LeftOperandT>(value);
46 }
47 template <typename LeftOperandT = Aws::String>
48 JoinInstruction& WithLeftOperand(LeftOperandT&& value) {
49 SetLeftOperand(std::forward<LeftOperandT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetRightOperand() const { return m_rightOperand; }
59 inline bool RightOperandHasBeenSet() const { return m_rightOperandHasBeenSet; }
60 template <typename RightOperandT = Aws::String>
61 void SetRightOperand(RightOperandT&& value) {
62 m_rightOperandHasBeenSet = true;
63 m_rightOperand = std::forward<RightOperandT>(value);
64 }
65 template <typename RightOperandT = Aws::String>
66 JoinInstruction& WithRightOperand(RightOperandT&& value) {
67 SetRightOperand(std::forward<RightOperandT>(value));
68 return *this;
69 }
71
73
76 inline const JoinKeyProperties& GetLeftJoinKeyProperties() const { return m_leftJoinKeyProperties; }
77 inline bool LeftJoinKeyPropertiesHasBeenSet() const { return m_leftJoinKeyPropertiesHasBeenSet; }
78 template <typename LeftJoinKeyPropertiesT = JoinKeyProperties>
79 void SetLeftJoinKeyProperties(LeftJoinKeyPropertiesT&& value) {
80 m_leftJoinKeyPropertiesHasBeenSet = true;
81 m_leftJoinKeyProperties = std::forward<LeftJoinKeyPropertiesT>(value);
82 }
83 template <typename LeftJoinKeyPropertiesT = JoinKeyProperties>
84 JoinInstruction& WithLeftJoinKeyProperties(LeftJoinKeyPropertiesT&& value) {
85 SetLeftJoinKeyProperties(std::forward<LeftJoinKeyPropertiesT>(value));
86 return *this;
87 }
89
91
94 inline const JoinKeyProperties& GetRightJoinKeyProperties() const { return m_rightJoinKeyProperties; }
95 inline bool RightJoinKeyPropertiesHasBeenSet() const { return m_rightJoinKeyPropertiesHasBeenSet; }
96 template <typename RightJoinKeyPropertiesT = JoinKeyProperties>
97 void SetRightJoinKeyProperties(RightJoinKeyPropertiesT&& value) {
98 m_rightJoinKeyPropertiesHasBeenSet = true;
99 m_rightJoinKeyProperties = std::forward<RightJoinKeyPropertiesT>(value);
100 }
101 template <typename RightJoinKeyPropertiesT = JoinKeyProperties>
102 JoinInstruction& WithRightJoinKeyProperties(RightJoinKeyPropertiesT&& value) {
103 SetRightJoinKeyProperties(std::forward<RightJoinKeyPropertiesT>(value));
104 return *this;
105 }
107
109
112 inline JoinType GetType() const { return m_type; }
113 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
114 inline void SetType(JoinType value) {
115 m_typeHasBeenSet = true;
116 m_type = value;
117 }
119 SetType(value);
120 return *this;
121 }
123
125
128 inline const Aws::String& GetOnClause() const { return m_onClause; }
129 inline bool OnClauseHasBeenSet() const { return m_onClauseHasBeenSet; }
130 template <typename OnClauseT = Aws::String>
131 void SetOnClause(OnClauseT&& value) {
132 m_onClauseHasBeenSet = true;
133 m_onClause = std::forward<OnClauseT>(value);
134 }
135 template <typename OnClauseT = Aws::String>
136 JoinInstruction& WithOnClause(OnClauseT&& value) {
137 SetOnClause(std::forward<OnClauseT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_leftOperand;
143
144 Aws::String m_rightOperand;
145
146 JoinKeyProperties m_leftJoinKeyProperties;
147
148 JoinKeyProperties m_rightJoinKeyProperties;
149
151
152 Aws::String m_onClause;
153 bool m_leftOperandHasBeenSet = false;
154 bool m_rightOperandHasBeenSet = false;
155 bool m_leftJoinKeyPropertiesHasBeenSet = false;
156 bool m_rightJoinKeyPropertiesHasBeenSet = false;
157 bool m_typeHasBeenSet = false;
158 bool m_onClauseHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace QuickSight
163} // namespace Aws
const JoinKeyProperties & GetRightJoinKeyProperties() const
JoinInstruction & WithRightJoinKeyProperties(RightJoinKeyPropertiesT &&value)
const Aws::String & GetRightOperand() const
AWS_QUICKSIGHT_API JoinInstruction & operator=(Aws::Utils::Json::JsonView jsonValue)
JoinInstruction & WithLeftOperand(LeftOperandT &&value)
AWS_QUICKSIGHT_API JoinInstruction(Aws::Utils::Json::JsonView jsonValue)
void SetLeftJoinKeyProperties(LeftJoinKeyPropertiesT &&value)
JoinInstruction & WithOnClause(OnClauseT &&value)
void SetLeftOperand(LeftOperandT &&value)
const Aws::String & GetOnClause() const
void SetRightJoinKeyProperties(RightJoinKeyPropertiesT &&value)
void SetRightOperand(RightOperandT &&value)
const Aws::String & GetLeftOperand() const
const JoinKeyProperties & GetLeftJoinKeyProperties() const
JoinInstruction & WithRightOperand(RightOperandT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API JoinInstruction()=default
JoinInstruction & WithType(JoinType value)
JoinInstruction & WithLeftJoinKeyProperties(LeftJoinKeyPropertiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue