AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PhysicalTable.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/RelationalTable.h>
9#include <aws/quicksight/model/CustomSql.h>
10#include <aws/quicksight/model/S3Source.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
37 {
38 public:
39 AWS_QUICKSIGHT_API PhysicalTable() = default;
40 AWS_QUICKSIGHT_API PhysicalTable(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API PhysicalTable& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const RelationalTable& GetRelationalTable() const { return m_relationalTable; }
50 inline bool RelationalTableHasBeenSet() const { return m_relationalTableHasBeenSet; }
51 template<typename RelationalTableT = RelationalTable>
52 void SetRelationalTable(RelationalTableT&& value) { m_relationalTableHasBeenSet = true; m_relationalTable = std::forward<RelationalTableT>(value); }
53 template<typename RelationalTableT = RelationalTable>
54 PhysicalTable& WithRelationalTable(RelationalTableT&& value) { SetRelationalTable(std::forward<RelationalTableT>(value)); return *this;}
56
58
61 inline const CustomSql& GetCustomSql() const { return m_customSql; }
62 inline bool CustomSqlHasBeenSet() const { return m_customSqlHasBeenSet; }
63 template<typename CustomSqlT = CustomSql>
64 void SetCustomSql(CustomSqlT&& value) { m_customSqlHasBeenSet = true; m_customSql = std::forward<CustomSqlT>(value); }
65 template<typename CustomSqlT = CustomSql>
66 PhysicalTable& WithCustomSql(CustomSqlT&& value) { SetCustomSql(std::forward<CustomSqlT>(value)); return *this;}
68
70
73 inline const S3Source& GetS3Source() const { return m_s3Source; }
74 inline bool S3SourceHasBeenSet() const { return m_s3SourceHasBeenSet; }
75 template<typename S3SourceT = S3Source>
76 void SetS3Source(S3SourceT&& value) { m_s3SourceHasBeenSet = true; m_s3Source = std::forward<S3SourceT>(value); }
77 template<typename S3SourceT = S3Source>
78 PhysicalTable& WithS3Source(S3SourceT&& value) { SetS3Source(std::forward<S3SourceT>(value)); return *this;}
80 private:
81
82 RelationalTable m_relationalTable;
83 bool m_relationalTableHasBeenSet = false;
84
85 CustomSql m_customSql;
86 bool m_customSqlHasBeenSet = false;
87
88 S3Source m_s3Source;
89 bool m_s3SourceHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
void SetRelationalTable(RelationalTableT &&value)
AWS_QUICKSIGHT_API PhysicalTable & operator=(Aws::Utils::Json::JsonView jsonValue)
const CustomSql & GetCustomSql() const
PhysicalTable & WithRelationalTable(RelationalTableT &&value)
void SetCustomSql(CustomSqlT &&value)
PhysicalTable & WithCustomSql(CustomSqlT &&value)
AWS_QUICKSIGHT_API PhysicalTable()=default
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