AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
JoinInstruction.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/JoinKeyProperties.h>
10#include <aws/quicksight/model/JoinType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API JoinInstruction() = default;
37 AWS_QUICKSIGHT_API JoinInstruction(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLeftOperand() const { return m_leftOperand; }
47 inline bool LeftOperandHasBeenSet() const { return m_leftOperandHasBeenSet; }
48 template<typename LeftOperandT = Aws::String>
49 void SetLeftOperand(LeftOperandT&& value) { m_leftOperandHasBeenSet = true; m_leftOperand = std::forward<LeftOperandT>(value); }
50 template<typename LeftOperandT = Aws::String>
51 JoinInstruction& WithLeftOperand(LeftOperandT&& value) { SetLeftOperand(std::forward<LeftOperandT>(value)); return *this;}
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) { m_rightOperandHasBeenSet = true; m_rightOperand = std::forward<RightOperandT>(value); }
62 template<typename RightOperandT = Aws::String>
63 JoinInstruction& WithRightOperand(RightOperandT&& value) { SetRightOperand(std::forward<RightOperandT>(value)); return *this;}
65
67
70 inline const JoinKeyProperties& GetLeftJoinKeyProperties() const { return m_leftJoinKeyProperties; }
71 inline bool LeftJoinKeyPropertiesHasBeenSet() const { return m_leftJoinKeyPropertiesHasBeenSet; }
72 template<typename LeftJoinKeyPropertiesT = JoinKeyProperties>
73 void SetLeftJoinKeyProperties(LeftJoinKeyPropertiesT&& value) { m_leftJoinKeyPropertiesHasBeenSet = true; m_leftJoinKeyProperties = std::forward<LeftJoinKeyPropertiesT>(value); }
74 template<typename LeftJoinKeyPropertiesT = JoinKeyProperties>
75 JoinInstruction& WithLeftJoinKeyProperties(LeftJoinKeyPropertiesT&& value) { SetLeftJoinKeyProperties(std::forward<LeftJoinKeyPropertiesT>(value)); return *this;}
77
79
82 inline const JoinKeyProperties& GetRightJoinKeyProperties() const { return m_rightJoinKeyProperties; }
83 inline bool RightJoinKeyPropertiesHasBeenSet() const { return m_rightJoinKeyPropertiesHasBeenSet; }
84 template<typename RightJoinKeyPropertiesT = JoinKeyProperties>
85 void SetRightJoinKeyProperties(RightJoinKeyPropertiesT&& value) { m_rightJoinKeyPropertiesHasBeenSet = true; m_rightJoinKeyProperties = std::forward<RightJoinKeyPropertiesT>(value); }
86 template<typename RightJoinKeyPropertiesT = JoinKeyProperties>
87 JoinInstruction& WithRightJoinKeyProperties(RightJoinKeyPropertiesT&& value) { SetRightJoinKeyProperties(std::forward<RightJoinKeyPropertiesT>(value)); return *this;}
89
91
94 inline JoinType GetType() const { return m_type; }
95 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
96 inline void SetType(JoinType value) { m_typeHasBeenSet = true; m_type = value; }
97 inline JoinInstruction& WithType(JoinType value) { SetType(value); return *this;}
99
101
104 inline const Aws::String& GetOnClause() const { return m_onClause; }
105 inline bool OnClauseHasBeenSet() const { return m_onClauseHasBeenSet; }
106 template<typename OnClauseT = Aws::String>
107 void SetOnClause(OnClauseT&& value) { m_onClauseHasBeenSet = true; m_onClause = std::forward<OnClauseT>(value); }
108 template<typename OnClauseT = Aws::String>
109 JoinInstruction& WithOnClause(OnClauseT&& value) { SetOnClause(std::forward<OnClauseT>(value)); return *this;}
111 private:
112
113 Aws::String m_leftOperand;
114 bool m_leftOperandHasBeenSet = false;
115
116 Aws::String m_rightOperand;
117 bool m_rightOperandHasBeenSet = false;
118
119 JoinKeyProperties m_leftJoinKeyProperties;
120 bool m_leftJoinKeyPropertiesHasBeenSet = false;
121
122 JoinKeyProperties m_rightJoinKeyProperties;
123 bool m_rightJoinKeyPropertiesHasBeenSet = false;
124
126 bool m_typeHasBeenSet = false;
127
128 Aws::String m_onClause;
129 bool m_onClauseHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace QuickSight
134} // 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