AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
SourceTable.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/ParentDataSet.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API SourceTable() = default;
32 AWS_QUICKSIGHT_API SourceTable(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API SourceTable& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetPhysicalTableId() const { return m_physicalTableId; }
41 inline bool PhysicalTableIdHasBeenSet() const { return m_physicalTableIdHasBeenSet; }
42 template <typename PhysicalTableIdT = Aws::String>
43 void SetPhysicalTableId(PhysicalTableIdT&& value) {
44 m_physicalTableIdHasBeenSet = true;
45 m_physicalTableId = std::forward<PhysicalTableIdT>(value);
46 }
47 template <typename PhysicalTableIdT = Aws::String>
48 SourceTable& WithPhysicalTableId(PhysicalTableIdT&& value) {
49 SetPhysicalTableId(std::forward<PhysicalTableIdT>(value));
50 return *this;
51 }
53
55
59 inline const ParentDataSet& GetDataSet() const { return m_dataSet; }
60 inline bool DataSetHasBeenSet() const { return m_dataSetHasBeenSet; }
61 template <typename DataSetT = ParentDataSet>
62 void SetDataSet(DataSetT&& value) {
63 m_dataSetHasBeenSet = true;
64 m_dataSet = std::forward<DataSetT>(value);
65 }
66 template <typename DataSetT = ParentDataSet>
67 SourceTable& WithDataSet(DataSetT&& value) {
68 SetDataSet(std::forward<DataSetT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_physicalTableId;
74
75 ParentDataSet m_dataSet;
76 bool m_physicalTableIdHasBeenSet = false;
77 bool m_dataSetHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
const Aws::String & GetPhysicalTableId() const
Definition SourceTable.h:40
AWS_QUICKSIGHT_API SourceTable()=default
SourceTable & WithDataSet(DataSetT &&value)
Definition SourceTable.h:67
AWS_QUICKSIGHT_API SourceTable(Aws::Utils::Json::JsonView jsonValue)
const ParentDataSet & GetDataSet() const
Definition SourceTable.h:59
void SetDataSet(DataSetT &&value)
Definition SourceTable.h:62
SourceTable & WithPhysicalTableId(PhysicalTableIdT &&value)
Definition SourceTable.h:48
AWS_QUICKSIGHT_API SourceTable & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPhysicalTableId(PhysicalTableIdT &&value)
Definition SourceTable.h:43
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue