AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRelationalTable(const RelationalTable& value) { m_relationalTableHasBeenSet = true; m_relationalTable = value; }
52 inline void SetRelationalTable(RelationalTable&& value) { m_relationalTableHasBeenSet = true; m_relationalTable = std::move(value); }
53 inline PhysicalTable& WithRelationalTable(const RelationalTable& value) { SetRelationalTable(value); return *this;}
54 inline PhysicalTable& WithRelationalTable(RelationalTable&& value) { SetRelationalTable(std::move(value)); return *this;}
56
58
61 inline const CustomSql& GetCustomSql() const{ return m_customSql; }
62 inline bool CustomSqlHasBeenSet() const { return m_customSqlHasBeenSet; }
63 inline void SetCustomSql(const CustomSql& value) { m_customSqlHasBeenSet = true; m_customSql = value; }
64 inline void SetCustomSql(CustomSql&& value) { m_customSqlHasBeenSet = true; m_customSql = std::move(value); }
65 inline PhysicalTable& WithCustomSql(const CustomSql& value) { SetCustomSql(value); return *this;}
66 inline PhysicalTable& WithCustomSql(CustomSql&& value) { SetCustomSql(std::move(value)); return *this;}
68
70
73 inline const S3Source& GetS3Source() const{ return m_s3Source; }
74 inline bool S3SourceHasBeenSet() const { return m_s3SourceHasBeenSet; }
75 inline void SetS3Source(const S3Source& value) { m_s3SourceHasBeenSet = true; m_s3Source = value; }
76 inline void SetS3Source(S3Source&& value) { m_s3SourceHasBeenSet = true; m_s3Source = std::move(value); }
77 inline PhysicalTable& WithS3Source(const S3Source& value) { SetS3Source(value); return *this;}
78 inline PhysicalTable& WithS3Source(S3Source&& value) { SetS3Source(std::move(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
PhysicalTable & WithCustomSql(const CustomSql &value)
void SetCustomSql(const CustomSql &value)
AWS_QUICKSIGHT_API PhysicalTable & operator=(Aws::Utils::Json::JsonView jsonValue)
const CustomSql & GetCustomSql() const
PhysicalTable & WithS3Source(const S3Source &value)
void SetS3Source(const S3Source &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const S3Source & GetS3Source() const
void SetRelationalTable(RelationalTable &&value)
const RelationalTable & GetRelationalTable() const
PhysicalTable & WithRelationalTable(RelationalTable &&value)
void SetRelationalTable(const RelationalTable &value)
PhysicalTable & WithS3Source(S3Source &&value)
void SetCustomSql(CustomSql &&value)
PhysicalTable & WithCustomSql(CustomSql &&value)
PhysicalTable & WithRelationalTable(const RelationalTable &value)
AWS_QUICKSIGHT_API PhysicalTable(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue