AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLeftOperand(const Aws::String& value) { m_leftOperandHasBeenSet = true; m_leftOperand = value; }
49 inline void SetLeftOperand(Aws::String&& value) { m_leftOperandHasBeenSet = true; m_leftOperand = std::move(value); }
50 inline void SetLeftOperand(const char* value) { m_leftOperandHasBeenSet = true; m_leftOperand.assign(value); }
51 inline JoinInstruction& WithLeftOperand(const Aws::String& value) { SetLeftOperand(value); return *this;}
52 inline JoinInstruction& WithLeftOperand(Aws::String&& value) { SetLeftOperand(std::move(value)); return *this;}
53 inline JoinInstruction& WithLeftOperand(const char* value) { SetLeftOperand(value); return *this;}
55
57
60 inline const Aws::String& GetRightOperand() const{ return m_rightOperand; }
61 inline bool RightOperandHasBeenSet() const { return m_rightOperandHasBeenSet; }
62 inline void SetRightOperand(const Aws::String& value) { m_rightOperandHasBeenSet = true; m_rightOperand = value; }
63 inline void SetRightOperand(Aws::String&& value) { m_rightOperandHasBeenSet = true; m_rightOperand = std::move(value); }
64 inline void SetRightOperand(const char* value) { m_rightOperandHasBeenSet = true; m_rightOperand.assign(value); }
65 inline JoinInstruction& WithRightOperand(const Aws::String& value) { SetRightOperand(value); return *this;}
66 inline JoinInstruction& WithRightOperand(Aws::String&& value) { SetRightOperand(std::move(value)); return *this;}
67 inline JoinInstruction& WithRightOperand(const char* value) { SetRightOperand(value); return *this;}
69
71
74 inline const JoinKeyProperties& GetLeftJoinKeyProperties() const{ return m_leftJoinKeyProperties; }
75 inline bool LeftJoinKeyPropertiesHasBeenSet() const { return m_leftJoinKeyPropertiesHasBeenSet; }
76 inline void SetLeftJoinKeyProperties(const JoinKeyProperties& value) { m_leftJoinKeyPropertiesHasBeenSet = true; m_leftJoinKeyProperties = value; }
77 inline void SetLeftJoinKeyProperties(JoinKeyProperties&& value) { m_leftJoinKeyPropertiesHasBeenSet = true; m_leftJoinKeyProperties = std::move(value); }
79 inline JoinInstruction& WithLeftJoinKeyProperties(JoinKeyProperties&& value) { SetLeftJoinKeyProperties(std::move(value)); return *this;}
81
83
86 inline const JoinKeyProperties& GetRightJoinKeyProperties() const{ return m_rightJoinKeyProperties; }
87 inline bool RightJoinKeyPropertiesHasBeenSet() const { return m_rightJoinKeyPropertiesHasBeenSet; }
88 inline void SetRightJoinKeyProperties(const JoinKeyProperties& value) { m_rightJoinKeyPropertiesHasBeenSet = true; m_rightJoinKeyProperties = value; }
89 inline void SetRightJoinKeyProperties(JoinKeyProperties&& value) { m_rightJoinKeyPropertiesHasBeenSet = true; m_rightJoinKeyProperties = std::move(value); }
93
95
98 inline const JoinType& GetType() const{ return m_type; }
99 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
100 inline void SetType(const JoinType& value) { m_typeHasBeenSet = true; m_type = value; }
101 inline void SetType(JoinType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
102 inline JoinInstruction& WithType(const JoinType& value) { SetType(value); return *this;}
103 inline JoinInstruction& WithType(JoinType&& value) { SetType(std::move(value)); return *this;}
105
107
110 inline const Aws::String& GetOnClause() const{ return m_onClause; }
111 inline bool OnClauseHasBeenSet() const { return m_onClauseHasBeenSet; }
112 inline void SetOnClause(const Aws::String& value) { m_onClauseHasBeenSet = true; m_onClause = value; }
113 inline void SetOnClause(Aws::String&& value) { m_onClauseHasBeenSet = true; m_onClause = std::move(value); }
114 inline void SetOnClause(const char* value) { m_onClauseHasBeenSet = true; m_onClause.assign(value); }
115 inline JoinInstruction& WithOnClause(const Aws::String& value) { SetOnClause(value); return *this;}
116 inline JoinInstruction& WithOnClause(Aws::String&& value) { SetOnClause(std::move(value)); return *this;}
117 inline JoinInstruction& WithOnClause(const char* value) { SetOnClause(value); return *this;}
119 private:
120
121 Aws::String m_leftOperand;
122 bool m_leftOperandHasBeenSet = false;
123
124 Aws::String m_rightOperand;
125 bool m_rightOperandHasBeenSet = false;
126
127 JoinKeyProperties m_leftJoinKeyProperties;
128 bool m_leftJoinKeyPropertiesHasBeenSet = false;
129
130 JoinKeyProperties m_rightJoinKeyProperties;
131 bool m_rightJoinKeyPropertiesHasBeenSet = false;
132
133 JoinType m_type;
134 bool m_typeHasBeenSet = false;
135
136 Aws::String m_onClause;
137 bool m_onClauseHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace QuickSight
142} // namespace Aws
JoinInstruction & WithLeftOperand(const Aws::String &value)
JoinInstruction & WithLeftOperand(Aws::String &&value)
void SetRightOperand(Aws::String &&value)
void SetType(const JoinType &value)
JoinInstruction & WithRightOperand(const Aws::String &value)
JoinInstruction & WithLeftJoinKeyProperties(JoinKeyProperties &&value)
JoinInstruction & WithType(JoinType &&value)
JoinInstruction & WithRightJoinKeyProperties(JoinKeyProperties &&value)
const JoinKeyProperties & GetRightJoinKeyProperties() const
void SetRightJoinKeyProperties(const JoinKeyProperties &value)
JoinInstruction & WithOnClause(const Aws::String &value)
JoinInstruction & WithRightJoinKeyProperties(const JoinKeyProperties &value)
void SetLeftJoinKeyProperties(JoinKeyProperties &&value)
void SetLeftOperand(Aws::String &&value)
const Aws::String & GetRightOperand() const
AWS_QUICKSIGHT_API JoinInstruction & operator=(Aws::Utils::Json::JsonView jsonValue)
JoinInstruction & WithLeftJoinKeyProperties(const JoinKeyProperties &value)
AWS_QUICKSIGHT_API JoinInstruction(Aws::Utils::Json::JsonView jsonValue)
JoinInstruction & WithLeftOperand(const char *value)
JoinInstruction & WithType(const JoinType &value)
JoinInstruction & WithRightOperand(const char *value)
void SetRightOperand(const Aws::String &value)
const Aws::String & GetOnClause() const
JoinInstruction & WithRightOperand(Aws::String &&value)
void SetOnClause(const Aws::String &value)
const Aws::String & GetLeftOperand() const
const JoinKeyProperties & GetLeftJoinKeyProperties() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLeftJoinKeyProperties(const JoinKeyProperties &value)
JoinInstruction & WithOnClause(const char *value)
void SetRightJoinKeyProperties(JoinKeyProperties &&value)
JoinInstruction & WithOnClause(Aws::String &&value)
void SetLeftOperand(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue