AWS SDK for C++

AWS SDK for C++ Version 1.11.850

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/FileSource.h>
10#include <aws/quicksight/model/RelationalTable.h>
11#include <aws/quicksight/model/S3Source.h>
12#include <aws/quicksight/model/SaaSTable.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
35 public:
36 AWS_QUICKSIGHT_API PhysicalTable() = default;
37 AWS_QUICKSIGHT_API PhysicalTable(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API PhysicalTable& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const RelationalTable& GetRelationalTable() const { return m_relationalTable; }
46 inline bool RelationalTableHasBeenSet() const { return m_relationalTableHasBeenSet; }
47 template <typename RelationalTableT = RelationalTable>
48 void SetRelationalTable(RelationalTableT&& value) {
49 m_relationalTableHasBeenSet = true;
50 m_relationalTable = std::forward<RelationalTableT>(value);
51 }
52 template <typename RelationalTableT = RelationalTable>
53 PhysicalTable& WithRelationalTable(RelationalTableT&& value) {
54 SetRelationalTable(std::forward<RelationalTableT>(value));
55 return *this;
56 }
58
60
63 inline const CustomSql& GetCustomSql() const { return m_customSql; }
64 inline bool CustomSqlHasBeenSet() const { return m_customSqlHasBeenSet; }
65 template <typename CustomSqlT = CustomSql>
66 void SetCustomSql(CustomSqlT&& value) {
67 m_customSqlHasBeenSet = true;
68 m_customSql = std::forward<CustomSqlT>(value);
69 }
70 template <typename CustomSqlT = CustomSql>
71 PhysicalTable& WithCustomSql(CustomSqlT&& value) {
72 SetCustomSql(std::forward<CustomSqlT>(value));
73 return *this;
74 }
76
78
81 inline const S3Source& GetS3Source() const { return m_s3Source; }
82 inline bool S3SourceHasBeenSet() const { return m_s3SourceHasBeenSet; }
83 template <typename S3SourceT = S3Source>
84 void SetS3Source(S3SourceT&& value) {
85 m_s3SourceHasBeenSet = true;
86 m_s3Source = std::forward<S3SourceT>(value);
87 }
88 template <typename S3SourceT = S3Source>
89 PhysicalTable& WithS3Source(S3SourceT&& value) {
90 SetS3Source(std::forward<S3SourceT>(value));
91 return *this;
92 }
94
96
99 inline const SaaSTable& GetSaaSTable() const { return m_saaSTable; }
100 inline bool SaaSTableHasBeenSet() const { return m_saaSTableHasBeenSet; }
101 template <typename SaaSTableT = SaaSTable>
102 void SetSaaSTable(SaaSTableT&& value) {
103 m_saaSTableHasBeenSet = true;
104 m_saaSTable = std::forward<SaaSTableT>(value);
105 }
106 template <typename SaaSTableT = SaaSTable>
107 PhysicalTable& WithSaaSTable(SaaSTableT&& value) {
108 SetSaaSTable(std::forward<SaaSTableT>(value));
109 return *this;
110 }
112
114
117 inline const FileSource& GetFileSource() const { return m_fileSource; }
118 inline bool FileSourceHasBeenSet() const { return m_fileSourceHasBeenSet; }
119 template <typename FileSourceT = FileSource>
120 void SetFileSource(FileSourceT&& value) {
121 m_fileSourceHasBeenSet = true;
122 m_fileSource = std::forward<FileSourceT>(value);
123 }
124 template <typename FileSourceT = FileSource>
125 PhysicalTable& WithFileSource(FileSourceT&& value) {
126 SetFileSource(std::forward<FileSourceT>(value));
127 return *this;
128 }
130 private:
131 RelationalTable m_relationalTable;
132
133 CustomSql m_customSql;
134
135 S3Source m_s3Source;
136
137 SaaSTable m_saaSTable;
138
139 FileSource m_fileSource;
140 bool m_relationalTableHasBeenSet = false;
141 bool m_customSqlHasBeenSet = false;
142 bool m_s3SourceHasBeenSet = false;
143 bool m_saaSTableHasBeenSet = false;
144 bool m_fileSourceHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace QuickSight
149} // 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 SetFileSource(FileSourceT &&value)
PhysicalTable & WithFileSource(FileSourceT &&value)
void SetCustomSql(CustomSqlT &&value)
PhysicalTable & WithCustomSql(CustomSqlT &&value)
const FileSource & GetFileSource() const
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