AWS SDK for C++

AWS SDK for C++ Version 1.11.741

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 private:
126
127 Aws::String m_workGroup;
128
129 Aws::String m_outputLocation;
130
131 Aws::String m_databaseName;
132
133 Aws::String m_tableName;
134 bool m_regionHasBeenSet = false;
135 bool m_workGroupHasBeenSet = false;
136 bool m_outputLocationHasBeenSet = false;
137 bool m_databaseNameHasBeenSet = false;
138 bool m_tableNameHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace CleanRooms
143} // 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)
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