AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RedshiftConnectorProfileProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Appflow {
20namespace Model {
21
29 public:
30 AWS_APPFLOW_API RedshiftConnectorProfileProperties() = default;
33 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDatabaseUrl() const { return m_databaseUrl; }
40 inline bool DatabaseUrlHasBeenSet() const { return m_databaseUrlHasBeenSet; }
41 template <typename DatabaseUrlT = Aws::String>
42 void SetDatabaseUrl(DatabaseUrlT&& value) {
43 m_databaseUrlHasBeenSet = true;
44 m_databaseUrl = std::forward<DatabaseUrlT>(value);
45 }
46 template <typename DatabaseUrlT = Aws::String>
48 SetDatabaseUrl(std::forward<DatabaseUrlT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetBucketName() const { return m_bucketName; }
58 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
59 template <typename BucketNameT = Aws::String>
60 void SetBucketName(BucketNameT&& value) {
61 m_bucketNameHasBeenSet = true;
62 m_bucketName = std::forward<BucketNameT>(value);
63 }
64 template <typename BucketNameT = Aws::String>
66 SetBucketName(std::forward<BucketNameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetBucketPrefix() const { return m_bucketPrefix; }
77 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
78 template <typename BucketPrefixT = Aws::String>
79 void SetBucketPrefix(BucketPrefixT&& value) {
80 m_bucketPrefixHasBeenSet = true;
81 m_bucketPrefix = std::forward<BucketPrefixT>(value);
82 }
83 template <typename BucketPrefixT = Aws::String>
85 SetBucketPrefix(std::forward<BucketPrefixT>(value));
86 return *this;
87 }
89
91
98 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
99 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
100 template <typename RoleArnT = Aws::String>
101 void SetRoleArn(RoleArnT&& value) {
102 m_roleArnHasBeenSet = true;
103 m_roleArn = std::forward<RoleArnT>(value);
104 }
105 template <typename RoleArnT = Aws::String>
107 SetRoleArn(std::forward<RoleArnT>(value));
108 return *this;
109 }
111
113
120 inline const Aws::String& GetDataApiRoleArn() const { return m_dataApiRoleArn; }
121 inline bool DataApiRoleArnHasBeenSet() const { return m_dataApiRoleArnHasBeenSet; }
122 template <typename DataApiRoleArnT = Aws::String>
123 void SetDataApiRoleArn(DataApiRoleArnT&& value) {
124 m_dataApiRoleArnHasBeenSet = true;
125 m_dataApiRoleArn = std::forward<DataApiRoleArnT>(value);
126 }
127 template <typename DataApiRoleArnT = Aws::String>
129 SetDataApiRoleArn(std::forward<DataApiRoleArnT>(value));
130 return *this;
131 }
133
135
139 inline bool GetIsRedshiftServerless() const { return m_isRedshiftServerless; }
140 inline bool IsRedshiftServerlessHasBeenSet() const { return m_isRedshiftServerlessHasBeenSet; }
141 inline void SetIsRedshiftServerless(bool value) {
142 m_isRedshiftServerlessHasBeenSet = true;
143 m_isRedshiftServerless = value;
144 }
147 return *this;
148 }
150
152
155 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
156 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
157 template <typename ClusterIdentifierT = Aws::String>
158 void SetClusterIdentifier(ClusterIdentifierT&& value) {
159 m_clusterIdentifierHasBeenSet = true;
160 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
161 }
162 template <typename ClusterIdentifierT = Aws::String>
164 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetWorkgroupName() const { return m_workgroupName; }
174 inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; }
175 template <typename WorkgroupNameT = Aws::String>
176 void SetWorkgroupName(WorkgroupNameT&& value) {
177 m_workgroupNameHasBeenSet = true;
178 m_workgroupName = std::forward<WorkgroupNameT>(value);
179 }
180 template <typename WorkgroupNameT = Aws::String>
182 SetWorkgroupName(std::forward<WorkgroupNameT>(value));
183 return *this;
184 }
186
188
191 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
192 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
193 template <typename DatabaseNameT = Aws::String>
194 void SetDatabaseName(DatabaseNameT&& value) {
195 m_databaseNameHasBeenSet = true;
196 m_databaseName = std::forward<DatabaseNameT>(value);
197 }
198 template <typename DatabaseNameT = Aws::String>
200 SetDatabaseName(std::forward<DatabaseNameT>(value));
201 return *this;
202 }
204 private:
205 Aws::String m_databaseUrl;
206
207 Aws::String m_bucketName;
208
209 Aws::String m_bucketPrefix;
210
211 Aws::String m_roleArn;
212
213 Aws::String m_dataApiRoleArn;
214
215 bool m_isRedshiftServerless{false};
216
217 Aws::String m_clusterIdentifier;
218
219 Aws::String m_workgroupName;
220
221 Aws::String m_databaseName;
222 bool m_databaseUrlHasBeenSet = false;
223 bool m_bucketNameHasBeenSet = false;
224 bool m_bucketPrefixHasBeenSet = false;
225 bool m_roleArnHasBeenSet = false;
226 bool m_dataApiRoleArnHasBeenSet = false;
227 bool m_isRedshiftServerlessHasBeenSet = false;
228 bool m_clusterIdentifierHasBeenSet = false;
229 bool m_workgroupNameHasBeenSet = false;
230 bool m_databaseNameHasBeenSet = false;
231};
232
233} // namespace Model
234} // namespace Appflow
235} // namespace Aws
RedshiftConnectorProfileProperties & WithDataApiRoleArn(DataApiRoleArnT &&value)
RedshiftConnectorProfileProperties & WithRoleArn(RoleArnT &&value)
RedshiftConnectorProfileProperties & WithWorkgroupName(WorkgroupNameT &&value)
RedshiftConnectorProfileProperties & WithDatabaseUrl(DatabaseUrlT &&value)
RedshiftConnectorProfileProperties & WithIsRedshiftServerless(bool value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftConnectorProfileProperties & WithBucketName(BucketNameT &&value)
RedshiftConnectorProfileProperties & WithClusterIdentifier(ClusterIdentifierT &&value)
RedshiftConnectorProfileProperties & WithDatabaseName(DatabaseNameT &&value)
AWS_APPFLOW_API RedshiftConnectorProfileProperties(Aws::Utils::Json::JsonView jsonValue)
RedshiftConnectorProfileProperties & WithBucketPrefix(BucketPrefixT &&value)
AWS_APPFLOW_API RedshiftConnectorProfileProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue