AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DataLakeAccessPropertiesOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/Glue_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue {
20namespace Model {
21
29 public:
30 AWS_GLUE_API DataLakeAccessPropertiesOutput() = default;
34
36
40 inline bool GetDataLakeAccess() const { return m_dataLakeAccess; }
41 inline bool DataLakeAccessHasBeenSet() const { return m_dataLakeAccessHasBeenSet; }
42 inline void SetDataLakeAccess(bool value) {
43 m_dataLakeAccessHasBeenSet = true;
44 m_dataLakeAccess = value;
45 }
47 SetDataLakeAccess(value);
48 return *this;
49 }
51
53
57 inline const Aws::String& GetDataTransferRole() const { return m_dataTransferRole; }
58 inline bool DataTransferRoleHasBeenSet() const { return m_dataTransferRoleHasBeenSet; }
59 template <typename DataTransferRoleT = Aws::String>
60 void SetDataTransferRole(DataTransferRoleT&& value) {
61 m_dataTransferRoleHasBeenSet = true;
62 m_dataTransferRole = std::forward<DataTransferRoleT>(value);
63 }
64 template <typename DataTransferRoleT = Aws::String>
66 SetDataTransferRole(std::forward<DataTransferRoleT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
77 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
78 template <typename KmsKeyT = Aws::String>
79 void SetKmsKey(KmsKeyT&& value) {
80 m_kmsKeyHasBeenSet = true;
81 m_kmsKey = std::forward<KmsKeyT>(value);
82 }
83 template <typename KmsKeyT = Aws::String>
85 SetKmsKey(std::forward<KmsKeyT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetManagedWorkgroupName() const { return m_managedWorkgroupName; }
96 inline bool ManagedWorkgroupNameHasBeenSet() const { return m_managedWorkgroupNameHasBeenSet; }
97 template <typename ManagedWorkgroupNameT = Aws::String>
98 void SetManagedWorkgroupName(ManagedWorkgroupNameT&& value) {
99 m_managedWorkgroupNameHasBeenSet = true;
100 m_managedWorkgroupName = std::forward<ManagedWorkgroupNameT>(value);
101 }
102 template <typename ManagedWorkgroupNameT = Aws::String>
104 SetManagedWorkgroupName(std::forward<ManagedWorkgroupNameT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetManagedWorkgroupStatus() const { return m_managedWorkgroupStatus; }
114 inline bool ManagedWorkgroupStatusHasBeenSet() const { return m_managedWorkgroupStatusHasBeenSet; }
115 template <typename ManagedWorkgroupStatusT = Aws::String>
116 void SetManagedWorkgroupStatus(ManagedWorkgroupStatusT&& value) {
117 m_managedWorkgroupStatusHasBeenSet = true;
118 m_managedWorkgroupStatus = std::forward<ManagedWorkgroupStatusT>(value);
119 }
120 template <typename ManagedWorkgroupStatusT = Aws::String>
122 SetManagedWorkgroupStatus(std::forward<ManagedWorkgroupStatusT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetRedshiftDatabaseName() const { return m_redshiftDatabaseName; }
132 inline bool RedshiftDatabaseNameHasBeenSet() const { return m_redshiftDatabaseNameHasBeenSet; }
133 template <typename RedshiftDatabaseNameT = Aws::String>
134 void SetRedshiftDatabaseName(RedshiftDatabaseNameT&& value) {
135 m_redshiftDatabaseNameHasBeenSet = true;
136 m_redshiftDatabaseName = std::forward<RedshiftDatabaseNameT>(value);
137 }
138 template <typename RedshiftDatabaseNameT = Aws::String>
140 SetRedshiftDatabaseName(std::forward<RedshiftDatabaseNameT>(value));
141 return *this;
142 }
144
146
150 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
151 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
152 template <typename StatusMessageT = Aws::String>
153 void SetStatusMessage(StatusMessageT&& value) {
154 m_statusMessageHasBeenSet = true;
155 m_statusMessage = std::forward<StatusMessageT>(value);
156 }
157 template <typename StatusMessageT = Aws::String>
159 SetStatusMessage(std::forward<StatusMessageT>(value));
160 return *this;
161 }
163
165
169 inline const Aws::String& GetCatalogType() const { return m_catalogType; }
170 inline bool CatalogTypeHasBeenSet() const { return m_catalogTypeHasBeenSet; }
171 template <typename CatalogTypeT = Aws::String>
172 void SetCatalogType(CatalogTypeT&& value) {
173 m_catalogTypeHasBeenSet = true;
174 m_catalogType = std::forward<CatalogTypeT>(value);
175 }
176 template <typename CatalogTypeT = Aws::String>
178 SetCatalogType(std::forward<CatalogTypeT>(value));
179 return *this;
180 }
182 private:
183 bool m_dataLakeAccess{false};
184
185 Aws::String m_dataTransferRole;
186
187 Aws::String m_kmsKey;
188
189 Aws::String m_managedWorkgroupName;
190
191 Aws::String m_managedWorkgroupStatus;
192
193 Aws::String m_redshiftDatabaseName;
194
195 Aws::String m_statusMessage;
196
197 Aws::String m_catalogType;
198 bool m_dataLakeAccessHasBeenSet = false;
199 bool m_dataTransferRoleHasBeenSet = false;
200 bool m_kmsKeyHasBeenSet = false;
201 bool m_managedWorkgroupNameHasBeenSet = false;
202 bool m_managedWorkgroupStatusHasBeenSet = false;
203 bool m_redshiftDatabaseNameHasBeenSet = false;
204 bool m_statusMessageHasBeenSet = false;
205 bool m_catalogTypeHasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace Glue
210} // namespace Aws
DataLakeAccessPropertiesOutput & WithDataLakeAccess(bool value)
DataLakeAccessPropertiesOutput & WithRedshiftDatabaseName(RedshiftDatabaseNameT &&value)
DataLakeAccessPropertiesOutput & WithManagedWorkgroupName(ManagedWorkgroupNameT &&value)
DataLakeAccessPropertiesOutput & WithKmsKey(KmsKeyT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
DataLakeAccessPropertiesOutput & WithStatusMessage(StatusMessageT &&value)
DataLakeAccessPropertiesOutput & WithManagedWorkgroupStatus(ManagedWorkgroupStatusT &&value)
DataLakeAccessPropertiesOutput & WithCatalogType(CatalogTypeT &&value)
AWS_GLUE_API DataLakeAccessPropertiesOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
DataLakeAccessPropertiesOutput & WithDataTransferRole(DataTransferRoleT &&value)
void SetManagedWorkgroupStatus(ManagedWorkgroupStatusT &&value)
AWS_GLUE_API DataLakeAccessPropertiesOutput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue