AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RedshiftPropertiesOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/ConnectionStatus.h>
10#include <aws/datazone/model/RedshiftCredentials.h>
11#include <aws/datazone/model/RedshiftLineageSyncConfigurationOutput.h>
12#include <aws/datazone/model/RedshiftStorageProperties.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone {
24namespace Model {
25
32 public:
33 AWS_DATAZONE_API RedshiftPropertiesOutput() = default;
36 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const RedshiftStorageProperties& GetStorage() const { return m_storage; }
43 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
44 template <typename StorageT = RedshiftStorageProperties>
45 void SetStorage(StorageT&& value) {
46 m_storageHasBeenSet = true;
47 m_storage = std::forward<StorageT>(value);
48 }
49 template <typename StorageT = RedshiftStorageProperties>
51 SetStorage(std::forward<StorageT>(value));
52 return *this;
53 }
55
57
60 inline const RedshiftCredentials& GetCredentials() const { return m_credentials; }
61 inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
62 template <typename CredentialsT = RedshiftCredentials>
63 void SetCredentials(CredentialsT&& value) {
64 m_credentialsHasBeenSet = true;
65 m_credentials = std::forward<CredentialsT>(value);
66 }
67 template <typename CredentialsT = RedshiftCredentials>
69 SetCredentials(std::forward<CredentialsT>(value));
70 return *this;
71 }
73
75
78 inline bool GetIsProvisionedSecret() const { return m_isProvisionedSecret; }
79 inline bool IsProvisionedSecretHasBeenSet() const { return m_isProvisionedSecretHasBeenSet; }
80 inline void SetIsProvisionedSecret(bool value) {
81 m_isProvisionedSecretHasBeenSet = true;
82 m_isProvisionedSecret = value;
83 }
86 return *this;
87 }
89
91
94 inline const Aws::String& GetJdbcIamUrl() const { return m_jdbcIamUrl; }
95 inline bool JdbcIamUrlHasBeenSet() const { return m_jdbcIamUrlHasBeenSet; }
96 template <typename JdbcIamUrlT = Aws::String>
97 void SetJdbcIamUrl(JdbcIamUrlT&& value) {
98 m_jdbcIamUrlHasBeenSet = true;
99 m_jdbcIamUrl = std::forward<JdbcIamUrlT>(value);
100 }
101 template <typename JdbcIamUrlT = Aws::String>
103 SetJdbcIamUrl(std::forward<JdbcIamUrlT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetJdbcUrl() const { return m_jdbcUrl; }
113 inline bool JdbcUrlHasBeenSet() const { return m_jdbcUrlHasBeenSet; }
114 template <typename JdbcUrlT = Aws::String>
115 void SetJdbcUrl(JdbcUrlT&& value) {
116 m_jdbcUrlHasBeenSet = true;
117 m_jdbcUrl = std::forward<JdbcUrlT>(value);
118 }
119 template <typename JdbcUrlT = Aws::String>
121 SetJdbcUrl(std::forward<JdbcUrlT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetRedshiftTempDir() const { return m_redshiftTempDir; }
131 inline bool RedshiftTempDirHasBeenSet() const { return m_redshiftTempDirHasBeenSet; }
132 template <typename RedshiftTempDirT = Aws::String>
133 void SetRedshiftTempDir(RedshiftTempDirT&& value) {
134 m_redshiftTempDirHasBeenSet = true;
135 m_redshiftTempDir = std::forward<RedshiftTempDirT>(value);
136 }
137 template <typename RedshiftTempDirT = Aws::String>
139 SetRedshiftTempDir(std::forward<RedshiftTempDirT>(value));
140 return *this;
141 }
143
145
148 inline const RedshiftLineageSyncConfigurationOutput& GetLineageSync() const { return m_lineageSync; }
149 inline bool LineageSyncHasBeenSet() const { return m_lineageSyncHasBeenSet; }
150 template <typename LineageSyncT = RedshiftLineageSyncConfigurationOutput>
151 void SetLineageSync(LineageSyncT&& value) {
152 m_lineageSyncHasBeenSet = true;
153 m_lineageSync = std::forward<LineageSyncT>(value);
154 }
155 template <typename LineageSyncT = RedshiftLineageSyncConfigurationOutput>
157 SetLineageSync(std::forward<LineageSyncT>(value));
158 return *this;
159 }
161
163
166 inline ConnectionStatus GetStatus() const { return m_status; }
167 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
168 inline void SetStatus(ConnectionStatus value) {
169 m_statusHasBeenSet = true;
170 m_status = value;
171 }
173 SetStatus(value);
174 return *this;
175 }
177
179
182 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
183 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
184 template <typename DatabaseNameT = Aws::String>
185 void SetDatabaseName(DatabaseNameT&& value) {
186 m_databaseNameHasBeenSet = true;
187 m_databaseName = std::forward<DatabaseNameT>(value);
188 }
189 template <typename DatabaseNameT = Aws::String>
191 SetDatabaseName(std::forward<DatabaseNameT>(value));
192 return *this;
193 }
195 private:
197
198 RedshiftCredentials m_credentials;
199
200 bool m_isProvisionedSecret{false};
201
202 Aws::String m_jdbcIamUrl;
203
204 Aws::String m_jdbcUrl;
205
206 Aws::String m_redshiftTempDir;
207
208 RedshiftLineageSyncConfigurationOutput m_lineageSync;
209
211
212 Aws::String m_databaseName;
213 bool m_storageHasBeenSet = false;
214 bool m_credentialsHasBeenSet = false;
215 bool m_isProvisionedSecretHasBeenSet = false;
216 bool m_jdbcIamUrlHasBeenSet = false;
217 bool m_jdbcUrlHasBeenSet = false;
218 bool m_redshiftTempDirHasBeenSet = false;
219 bool m_lineageSyncHasBeenSet = false;
220 bool m_statusHasBeenSet = false;
221 bool m_databaseNameHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace DataZone
226} // namespace Aws
AWS_DATAZONE_API RedshiftPropertiesOutput(Aws::Utils::Json::JsonView jsonValue)
RedshiftPropertiesOutput & WithJdbcIamUrl(JdbcIamUrlT &&value)
RedshiftPropertiesOutput & WithIsProvisionedSecret(bool value)
RedshiftPropertiesOutput & WithJdbcUrl(JdbcUrlT &&value)
RedshiftPropertiesOutput & WithStatus(ConnectionStatus value)
RedshiftPropertiesOutput & WithStorage(StorageT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftPropertiesOutput & WithRedshiftTempDir(RedshiftTempDirT &&value)
RedshiftPropertiesOutput & WithLineageSync(LineageSyncT &&value)
RedshiftPropertiesOutput & WithCredentials(CredentialsT &&value)
const RedshiftLineageSyncConfigurationOutput & GetLineageSync() const
const RedshiftCredentials & GetCredentials() const
AWS_DATAZONE_API RedshiftPropertiesOutput()=default
const RedshiftStorageProperties & GetStorage() const
RedshiftPropertiesOutput & WithDatabaseName(DatabaseNameT &&value)
AWS_DATAZONE_API RedshiftPropertiesOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue