AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
PhysicalTable.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/CustomSql.h>
9#include <aws/quicksight/model/RelationalTable.h>
10#include <aws/quicksight/model/S3Source.h>
11#include <aws/quicksight/model/SaaSTable.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
34 public:
35 AWS_QUICKSIGHT_API PhysicalTable() = default;
36 AWS_QUICKSIGHT_API PhysicalTable(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API PhysicalTable& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const RelationalTable& GetRelationalTable() const { return m_relationalTable; }
45 inline bool RelationalTableHasBeenSet() const { return m_relationalTableHasBeenSet; }
46 template <typename RelationalTableT = RelationalTable>
47 void SetRelationalTable(RelationalTableT&& value) {
48 m_relationalTableHasBeenSet = true;
49 m_relationalTable = std::forward<RelationalTableT>(value);
50 }
51 template <typename RelationalTableT = RelationalTable>
52 PhysicalTable& WithRelationalTable(RelationalTableT&& value) {
53 SetRelationalTable(std::forward<RelationalTableT>(value));
54 return *this;
55 }
57
59
62 inline const CustomSql& GetCustomSql() const { return m_customSql; }
63 inline bool CustomSqlHasBeenSet() const { return m_customSqlHasBeenSet; }
64 template <typename CustomSqlT = CustomSql>
65 void SetCustomSql(CustomSqlT&& value) {
66 m_customSqlHasBeenSet = true;
67 m_customSql = std::forward<CustomSqlT>(value);
68 }
69 template <typename CustomSqlT = CustomSql>
70 PhysicalTable& WithCustomSql(CustomSqlT&& value) {
71 SetCustomSql(std::forward<CustomSqlT>(value));
72 return *this;
73 }
75
77
80 inline const S3Source& GetS3Source() const { return m_s3Source; }
81 inline bool S3SourceHasBeenSet() const { return m_s3SourceHasBeenSet; }
82 template <typename S3SourceT = S3Source>
83 void SetS3Source(S3SourceT&& value) {
84 m_s3SourceHasBeenSet = true;
85 m_s3Source = std::forward<S3SourceT>(value);
86 }
87 template <typename S3SourceT = S3Source>
88 PhysicalTable& WithS3Source(S3SourceT&& value) {
89 SetS3Source(std::forward<S3SourceT>(value));
90 return *this;
91 }
93
95
98 inline const SaaSTable& GetSaaSTable() const { return m_saaSTable; }
99 inline bool SaaSTableHasBeenSet() const { return m_saaSTableHasBeenSet; }
100 template <typename SaaSTableT = SaaSTable>
101 void SetSaaSTable(SaaSTableT&& value) {
102 m_saaSTableHasBeenSet = true;
103 m_saaSTable = std::forward<SaaSTableT>(value);
104 }
105 template <typename SaaSTableT = SaaSTable>
106 PhysicalTable& WithSaaSTable(SaaSTableT&& value) {
107 SetSaaSTable(std::forward<SaaSTableT>(value));
108 return *this;
109 }
111 private:
112 RelationalTable m_relationalTable;
113
114 CustomSql m_customSql;
115
116 S3Source m_s3Source;
117
118 SaaSTable m_saaSTable;
119 bool m_relationalTableHasBeenSet = false;
120 bool m_customSqlHasBeenSet = false;
121 bool m_s3SourceHasBeenSet = false;
122 bool m_saaSTableHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace QuickSight
127} // namespace Aws
void SetRelationalTable(RelationalTableT &&value)
AWS_QUICKSIGHT_API PhysicalTable & operator=(Aws::Utils::Json::JsonView jsonValue)
const SaaSTable & GetSaaSTable() const
const CustomSql & GetCustomSql() const
PhysicalTable & WithRelationalTable(RelationalTableT &&value)
void SetCustomSql(CustomSqlT &&value)
PhysicalTable & WithCustomSql(CustomSqlT &&value)
AWS_QUICKSIGHT_API PhysicalTable()=default
void SetSaaSTable(SaaSTableT &&value)
PhysicalTable & WithSaaSTable(SaaSTableT &&value)
void SetS3Source(S3SourceT &&value)
PhysicalTable & WithS3Source(S3SourceT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const S3Source & GetS3Source() const
const RelationalTable & GetRelationalTable() const
AWS_QUICKSIGHT_API PhysicalTable(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue