AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RedshiftPropertiesOutput.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/RedshiftCredentials.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/RedshiftLineageSyncConfigurationOutput.h>
11#include <aws/datazone/model/ConnectionStatus.h>
12#include <aws/datazone/model/RedshiftStorageProperties.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DataZone
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_DATAZONE_API RedshiftPropertiesOutput() = default;
41 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const RedshiftCredentials& GetCredentials() const { return m_credentials; }
49 inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
50 template<typename CredentialsT = RedshiftCredentials>
51 void SetCredentials(CredentialsT&& value) { m_credentialsHasBeenSet = true; m_credentials = std::forward<CredentialsT>(value); }
52 template<typename CredentialsT = RedshiftCredentials>
53 RedshiftPropertiesOutput& WithCredentials(CredentialsT&& value) { SetCredentials(std::forward<CredentialsT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
61 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
62 template<typename DatabaseNameT = Aws::String>
63 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
64 template<typename DatabaseNameT = Aws::String>
65 RedshiftPropertiesOutput& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
67
69
72 inline bool GetIsProvisionedSecret() const { return m_isProvisionedSecret; }
73 inline bool IsProvisionedSecretHasBeenSet() const { return m_isProvisionedSecretHasBeenSet; }
74 inline void SetIsProvisionedSecret(bool value) { m_isProvisionedSecretHasBeenSet = true; m_isProvisionedSecret = value; }
75 inline RedshiftPropertiesOutput& WithIsProvisionedSecret(bool value) { SetIsProvisionedSecret(value); return *this;}
77
79
82 inline const Aws::String& GetJdbcIamUrl() const { return m_jdbcIamUrl; }
83 inline bool JdbcIamUrlHasBeenSet() const { return m_jdbcIamUrlHasBeenSet; }
84 template<typename JdbcIamUrlT = Aws::String>
85 void SetJdbcIamUrl(JdbcIamUrlT&& value) { m_jdbcIamUrlHasBeenSet = true; m_jdbcIamUrl = std::forward<JdbcIamUrlT>(value); }
86 template<typename JdbcIamUrlT = Aws::String>
87 RedshiftPropertiesOutput& WithJdbcIamUrl(JdbcIamUrlT&& value) { SetJdbcIamUrl(std::forward<JdbcIamUrlT>(value)); return *this;}
89
91
94 inline const Aws::String& GetJdbcUrl() const { return m_jdbcUrl; }
95 inline bool JdbcUrlHasBeenSet() const { return m_jdbcUrlHasBeenSet; }
96 template<typename JdbcUrlT = Aws::String>
97 void SetJdbcUrl(JdbcUrlT&& value) { m_jdbcUrlHasBeenSet = true; m_jdbcUrl = std::forward<JdbcUrlT>(value); }
98 template<typename JdbcUrlT = Aws::String>
99 RedshiftPropertiesOutput& WithJdbcUrl(JdbcUrlT&& value) { SetJdbcUrl(std::forward<JdbcUrlT>(value)); return *this;}
101
103
106 inline const RedshiftLineageSyncConfigurationOutput& GetLineageSync() const { return m_lineageSync; }
107 inline bool LineageSyncHasBeenSet() const { return m_lineageSyncHasBeenSet; }
108 template<typename LineageSyncT = RedshiftLineageSyncConfigurationOutput>
109 void SetLineageSync(LineageSyncT&& value) { m_lineageSyncHasBeenSet = true; m_lineageSync = std::forward<LineageSyncT>(value); }
110 template<typename LineageSyncT = RedshiftLineageSyncConfigurationOutput>
111 RedshiftPropertiesOutput& WithLineageSync(LineageSyncT&& value) { SetLineageSync(std::forward<LineageSyncT>(value)); return *this;}
113
115
118 inline const Aws::String& GetRedshiftTempDir() const { return m_redshiftTempDir; }
119 inline bool RedshiftTempDirHasBeenSet() const { return m_redshiftTempDirHasBeenSet; }
120 template<typename RedshiftTempDirT = Aws::String>
121 void SetRedshiftTempDir(RedshiftTempDirT&& value) { m_redshiftTempDirHasBeenSet = true; m_redshiftTempDir = std::forward<RedshiftTempDirT>(value); }
122 template<typename RedshiftTempDirT = Aws::String>
123 RedshiftPropertiesOutput& WithRedshiftTempDir(RedshiftTempDirT&& value) { SetRedshiftTempDir(std::forward<RedshiftTempDirT>(value)); return *this;}
125
127
130 inline ConnectionStatus GetStatus() const { return m_status; }
131 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
132 inline void SetStatus(ConnectionStatus value) { m_statusHasBeenSet = true; m_status = value; }
133 inline RedshiftPropertiesOutput& WithStatus(ConnectionStatus value) { SetStatus(value); return *this;}
135
137
140 inline const RedshiftStorageProperties& GetStorage() const { return m_storage; }
141 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
142 template<typename StorageT = RedshiftStorageProperties>
143 void SetStorage(StorageT&& value) { m_storageHasBeenSet = true; m_storage = std::forward<StorageT>(value); }
144 template<typename StorageT = RedshiftStorageProperties>
145 RedshiftPropertiesOutput& WithStorage(StorageT&& value) { SetStorage(std::forward<StorageT>(value)); return *this;}
147 private:
148
149 RedshiftCredentials m_credentials;
150 bool m_credentialsHasBeenSet = false;
151
152 Aws::String m_databaseName;
153 bool m_databaseNameHasBeenSet = false;
154
155 bool m_isProvisionedSecret{false};
156 bool m_isProvisionedSecretHasBeenSet = false;
157
158 Aws::String m_jdbcIamUrl;
159 bool m_jdbcIamUrlHasBeenSet = false;
160
161 Aws::String m_jdbcUrl;
162 bool m_jdbcUrlHasBeenSet = false;
163
164 RedshiftLineageSyncConfigurationOutput m_lineageSync;
165 bool m_lineageSyncHasBeenSet = false;
166
167 Aws::String m_redshiftTempDir;
168 bool m_redshiftTempDirHasBeenSet = false;
169
171 bool m_statusHasBeenSet = false;
172
173 RedshiftStorageProperties m_storage;
174 bool m_storageHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace DataZone
179} // 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