AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
JoinOperation.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/JoinOperandProperties.h>
10#include <aws/quicksight/model/JoinOperationType.h>
11#include <aws/quicksight/model/TransformOperationSource.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
32 public:
33 AWS_QUICKSIGHT_API JoinOperation() = default;
34 AWS_QUICKSIGHT_API JoinOperation(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API JoinOperation& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetAlias() const { return m_alias; }
43 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
44 template <typename AliasT = Aws::String>
45 void SetAlias(AliasT&& value) {
46 m_aliasHasBeenSet = true;
47 m_alias = std::forward<AliasT>(value);
48 }
49 template <typename AliasT = Aws::String>
50 JoinOperation& WithAlias(AliasT&& value) {
51 SetAlias(std::forward<AliasT>(value));
52 return *this;
53 }
55
57
60 inline const TransformOperationSource& GetLeftOperand() const { return m_leftOperand; }
61 inline bool LeftOperandHasBeenSet() const { return m_leftOperandHasBeenSet; }
62 template <typename LeftOperandT = TransformOperationSource>
63 void SetLeftOperand(LeftOperandT&& value) {
64 m_leftOperandHasBeenSet = true;
65 m_leftOperand = std::forward<LeftOperandT>(value);
66 }
67 template <typename LeftOperandT = TransformOperationSource>
68 JoinOperation& WithLeftOperand(LeftOperandT&& value) {
69 SetLeftOperand(std::forward<LeftOperandT>(value));
70 return *this;
71 }
73
75
78 inline const TransformOperationSource& GetRightOperand() const { return m_rightOperand; }
79 inline bool RightOperandHasBeenSet() const { return m_rightOperandHasBeenSet; }
80 template <typename RightOperandT = TransformOperationSource>
81 void SetRightOperand(RightOperandT&& value) {
82 m_rightOperandHasBeenSet = true;
83 m_rightOperand = std::forward<RightOperandT>(value);
84 }
85 template <typename RightOperandT = TransformOperationSource>
86 JoinOperation& WithRightOperand(RightOperandT&& value) {
87 SetRightOperand(std::forward<RightOperandT>(value));
88 return *this;
89 }
91
93
97 inline JoinOperationType GetType() const { return m_type; }
98 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
99 inline void SetType(JoinOperationType value) {
100 m_typeHasBeenSet = true;
101 m_type = value;
102 }
104 SetType(value);
105 return *this;
106 }
108
110
114 inline const Aws::String& GetOnClause() const { return m_onClause; }
115 inline bool OnClauseHasBeenSet() const { return m_onClauseHasBeenSet; }
116 template <typename OnClauseT = Aws::String>
117 void SetOnClause(OnClauseT&& value) {
118 m_onClauseHasBeenSet = true;
119 m_onClause = std::forward<OnClauseT>(value);
120 }
121 template <typename OnClauseT = Aws::String>
122 JoinOperation& WithOnClause(OnClauseT&& value) {
123 SetOnClause(std::forward<OnClauseT>(value));
124 return *this;
125 }
127
129
133 inline const JoinOperandProperties& GetLeftOperandProperties() const { return m_leftOperandProperties; }
134 inline bool LeftOperandPropertiesHasBeenSet() const { return m_leftOperandPropertiesHasBeenSet; }
135 template <typename LeftOperandPropertiesT = JoinOperandProperties>
136 void SetLeftOperandProperties(LeftOperandPropertiesT&& value) {
137 m_leftOperandPropertiesHasBeenSet = true;
138 m_leftOperandProperties = std::forward<LeftOperandPropertiesT>(value);
139 }
140 template <typename LeftOperandPropertiesT = JoinOperandProperties>
141 JoinOperation& WithLeftOperandProperties(LeftOperandPropertiesT&& value) {
142 SetLeftOperandProperties(std::forward<LeftOperandPropertiesT>(value));
143 return *this;
144 }
146
148
152 inline const JoinOperandProperties& GetRightOperandProperties() const { return m_rightOperandProperties; }
153 inline bool RightOperandPropertiesHasBeenSet() const { return m_rightOperandPropertiesHasBeenSet; }
154 template <typename RightOperandPropertiesT = JoinOperandProperties>
155 void SetRightOperandProperties(RightOperandPropertiesT&& value) {
156 m_rightOperandPropertiesHasBeenSet = true;
157 m_rightOperandProperties = std::forward<RightOperandPropertiesT>(value);
158 }
159 template <typename RightOperandPropertiesT = JoinOperandProperties>
160 JoinOperation& WithRightOperandProperties(RightOperandPropertiesT&& value) {
161 SetRightOperandProperties(std::forward<RightOperandPropertiesT>(value));
162 return *this;
163 }
165 private:
166 Aws::String m_alias;
167
168 TransformOperationSource m_leftOperand;
169
170 TransformOperationSource m_rightOperand;
171
173
174 Aws::String m_onClause;
175
176 JoinOperandProperties m_leftOperandProperties;
177
178 JoinOperandProperties m_rightOperandProperties;
179 bool m_aliasHasBeenSet = false;
180 bool m_leftOperandHasBeenSet = false;
181 bool m_rightOperandHasBeenSet = false;
182 bool m_typeHasBeenSet = false;
183 bool m_onClauseHasBeenSet = false;
184 bool m_leftOperandPropertiesHasBeenSet = false;
185 bool m_rightOperandPropertiesHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace QuickSight
190} // namespace Aws
JoinOperation & WithRightOperandProperties(RightOperandPropertiesT &&value)
JoinOperationType GetType() const
JoinOperation & WithAlias(AliasT &&value)
void SetRightOperandProperties(RightOperandPropertiesT &&value)
const TransformOperationSource & GetLeftOperand() const
JoinOperation & WithOnClause(OnClauseT &&value)
JoinOperation & WithLeftOperandProperties(LeftOperandPropertiesT &&value)
AWS_QUICKSIGHT_API JoinOperation()=default
AWS_QUICKSIGHT_API JoinOperation(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const JoinOperandProperties & GetRightOperandProperties() const
const Aws::String & GetOnClause() const
void SetLeftOperand(LeftOperandT &&value)
JoinOperation & WithRightOperand(RightOperandT &&value)
const JoinOperandProperties & GetLeftOperandProperties() const
AWS_QUICKSIGHT_API JoinOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRightOperand(RightOperandT &&value)
const TransformOperationSource & GetRightOperand() const
JoinOperation & WithType(JoinOperationType value)
const Aws::String & GetAlias() const
void SetType(JoinOperationType value)
JoinOperation & WithLeftOperand(LeftOperandT &&value)
void SetOnClause(OnClauseT &&value)
void SetLeftOperandProperties(LeftOperandPropertiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue