AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
AthenaTableReference.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/CommercialRegion.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CleanRooms {
21namespace Model {
22
29 public:
30 AWS_CLEANROOMS_API AthenaTableReference() = default;
31 AWS_CLEANROOMS_API AthenaTableReference(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline CommercialRegion GetRegion() const { return m_region; }
42 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
43 inline void SetRegion(CommercialRegion value) {
44 m_regionHasBeenSet = true;
45 m_region = value;
46 }
48 SetRegion(value);
49 return *this;
50 }
52
54
57 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
58 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
59 template <typename WorkGroupT = Aws::String>
60 void SetWorkGroup(WorkGroupT&& value) {
61 m_workGroupHasBeenSet = true;
62 m_workGroup = std::forward<WorkGroupT>(value);
63 }
64 template <typename WorkGroupT = Aws::String>
65 AthenaTableReference& WithWorkGroup(WorkGroupT&& value) {
66 SetWorkGroup(std::forward<WorkGroupT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
76 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
77 template <typename OutputLocationT = Aws::String>
78 void SetOutputLocation(OutputLocationT&& value) {
79 m_outputLocationHasBeenSet = true;
80 m_outputLocation = std::forward<OutputLocationT>(value);
81 }
82 template <typename OutputLocationT = Aws::String>
83 AthenaTableReference& WithOutputLocation(OutputLocationT&& value) {
84 SetOutputLocation(std::forward<OutputLocationT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
94 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
95 template <typename DatabaseNameT = Aws::String>
96 void SetDatabaseName(DatabaseNameT&& value) {
97 m_databaseNameHasBeenSet = true;
98 m_databaseName = std::forward<DatabaseNameT>(value);
99 }
100 template <typename DatabaseNameT = Aws::String>
101 AthenaTableReference& WithDatabaseName(DatabaseNameT&& value) {
102 SetDatabaseName(std::forward<DatabaseNameT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetTableName() const { return m_tableName; }
112 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
113 template <typename TableNameT = Aws::String>
114 void SetTableName(TableNameT&& value) {
115 m_tableNameHasBeenSet = true;
116 m_tableName = std::forward<TableNameT>(value);
117 }
118 template <typename TableNameT = Aws::String>
119 AthenaTableReference& WithTableName(TableNameT&& value) {
120 SetTableName(std::forward<TableNameT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetCatalogName() const { return m_catalogName; }
130 inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; }
131 template <typename CatalogNameT = Aws::String>
132 void SetCatalogName(CatalogNameT&& value) {
133 m_catalogNameHasBeenSet = true;
134 m_catalogName = std::forward<CatalogNameT>(value);
135 }
136 template <typename CatalogNameT = Aws::String>
137 AthenaTableReference& WithCatalogName(CatalogNameT&& value) {
138 SetCatalogName(std::forward<CatalogNameT>(value));
139 return *this;
140 }
142 private:
144
145 Aws::String m_workGroup;
146
147 Aws::String m_outputLocation;
148
149 Aws::String m_databaseName;
150
151 Aws::String m_tableName;
152
153 Aws::String m_catalogName;
154 bool m_regionHasBeenSet = false;
155 bool m_workGroupHasBeenSet = false;
156 bool m_outputLocationHasBeenSet = false;
157 bool m_databaseNameHasBeenSet = false;
158 bool m_tableNameHasBeenSet = false;
159 bool m_catalogNameHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace CleanRooms
164} // namespace Aws
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API AthenaTableReference(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API AthenaTableReference()=default
AthenaTableReference & WithRegion(CommercialRegion value)
AthenaTableReference & WithTableName(TableNameT &&value)
AthenaTableReference & WithDatabaseName(DatabaseNameT &&value)
AthenaTableReference & WithWorkGroup(WorkGroupT &&value)
AthenaTableReference & WithOutputLocation(OutputLocationT &&value)
AthenaTableReference & WithCatalogName(CatalogNameT &&value)
AWS_CLEANROOMS_API AthenaTableReference & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue