AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IBMDb2Settings.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings() = default;
36 AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
46 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
47 template<typename DatabaseNameT = Aws::String>
48 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
49 template<typename DatabaseNameT = Aws::String>
50 IBMDb2Settings& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetPassword() const { return m_password; }
58 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
59 template<typename PasswordT = Aws::String>
60 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet = true; m_password = std::forward<PasswordT>(value); }
61 template<typename PasswordT = Aws::String>
62 IBMDb2Settings& WithPassword(PasswordT&& value) { SetPassword(std::forward<PasswordT>(value)); return *this;}
64
66
69 inline int GetPort() const { return m_port; }
70 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
71 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
72 inline IBMDb2Settings& WithPort(int value) { SetPort(value); return *this;}
74
76
79 inline const Aws::String& GetServerName() const { return m_serverName; }
80 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
81 template<typename ServerNameT = Aws::String>
82 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet = true; m_serverName = std::forward<ServerNameT>(value); }
83 template<typename ServerNameT = Aws::String>
84 IBMDb2Settings& WithServerName(ServerNameT&& value) { SetServerName(std::forward<ServerNameT>(value)); return *this;}
86
88
92 inline bool GetSetDataCaptureChanges() const { return m_setDataCaptureChanges; }
93 inline bool SetDataCaptureChangesHasBeenSet() const { return m_setDataCaptureChangesHasBeenSet; }
94 inline void SetSetDataCaptureChanges(bool value) { m_setDataCaptureChangesHasBeenSet = true; m_setDataCaptureChanges = value; }
95 inline IBMDb2Settings& WithSetDataCaptureChanges(bool value) { SetSetDataCaptureChanges(value); return *this;}
97
99
103 inline const Aws::String& GetCurrentLsn() const { return m_currentLsn; }
104 inline bool CurrentLsnHasBeenSet() const { return m_currentLsnHasBeenSet; }
105 template<typename CurrentLsnT = Aws::String>
106 void SetCurrentLsn(CurrentLsnT&& value) { m_currentLsnHasBeenSet = true; m_currentLsn = std::forward<CurrentLsnT>(value); }
107 template<typename CurrentLsnT = Aws::String>
108 IBMDb2Settings& WithCurrentLsn(CurrentLsnT&& value) { SetCurrentLsn(std::forward<CurrentLsnT>(value)); return *this;}
110
112
116 inline int GetMaxKBytesPerRead() const { return m_maxKBytesPerRead; }
117 inline bool MaxKBytesPerReadHasBeenSet() const { return m_maxKBytesPerReadHasBeenSet; }
118 inline void SetMaxKBytesPerRead(int value) { m_maxKBytesPerReadHasBeenSet = true; m_maxKBytesPerRead = value; }
119 inline IBMDb2Settings& WithMaxKBytesPerRead(int value) { SetMaxKBytesPerRead(value); return *this;}
121
123
126 inline const Aws::String& GetUsername() const { return m_username; }
127 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
128 template<typename UsernameT = Aws::String>
129 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
130 template<typename UsernameT = Aws::String>
131 IBMDb2Settings& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
133
135
153 inline const Aws::String& GetSecretsManagerAccessRoleArn() const { return m_secretsManagerAccessRoleArn; }
154 inline bool SecretsManagerAccessRoleArnHasBeenSet() const { return m_secretsManagerAccessRoleArnHasBeenSet; }
155 template<typename SecretsManagerAccessRoleArnT = Aws::String>
156 void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT&& value) { m_secretsManagerAccessRoleArnHasBeenSet = true; m_secretsManagerAccessRoleArn = std::forward<SecretsManagerAccessRoleArnT>(value); }
157 template<typename SecretsManagerAccessRoleArnT = Aws::String>
158 IBMDb2Settings& WithSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT&& value) { SetSecretsManagerAccessRoleArn(std::forward<SecretsManagerAccessRoleArnT>(value)); return *this;}
160
162
167 inline const Aws::String& GetSecretsManagerSecretId() const { return m_secretsManagerSecretId; }
168 inline bool SecretsManagerSecretIdHasBeenSet() const { return m_secretsManagerSecretIdHasBeenSet; }
169 template<typename SecretsManagerSecretIdT = Aws::String>
170 void SetSecretsManagerSecretId(SecretsManagerSecretIdT&& value) { m_secretsManagerSecretIdHasBeenSet = true; m_secretsManagerSecretId = std::forward<SecretsManagerSecretIdT>(value); }
171 template<typename SecretsManagerSecretIdT = Aws::String>
172 IBMDb2Settings& WithSecretsManagerSecretId(SecretsManagerSecretIdT&& value) { SetSecretsManagerSecretId(std::forward<SecretsManagerSecretIdT>(value)); return *this;}
174
176
180 inline int GetLoadTimeout() const { return m_loadTimeout; }
181 inline bool LoadTimeoutHasBeenSet() const { return m_loadTimeoutHasBeenSet; }
182 inline void SetLoadTimeout(int value) { m_loadTimeoutHasBeenSet = true; m_loadTimeout = value; }
183 inline IBMDb2Settings& WithLoadTimeout(int value) { SetLoadTimeout(value); return *this;}
185
187
192 inline int GetWriteBufferSize() const { return m_writeBufferSize; }
193 inline bool WriteBufferSizeHasBeenSet() const { return m_writeBufferSizeHasBeenSet; }
194 inline void SetWriteBufferSize(int value) { m_writeBufferSizeHasBeenSet = true; m_writeBufferSize = value; }
195 inline IBMDb2Settings& WithWriteBufferSize(int value) { SetWriteBufferSize(value); return *this;}
197
199
203 inline int GetMaxFileSize() const { return m_maxFileSize; }
204 inline bool MaxFileSizeHasBeenSet() const { return m_maxFileSizeHasBeenSet; }
205 inline void SetMaxFileSize(int value) { m_maxFileSizeHasBeenSet = true; m_maxFileSize = value; }
206 inline IBMDb2Settings& WithMaxFileSize(int value) { SetMaxFileSize(value); return *this;}
208
210
215 inline bool GetKeepCsvFiles() const { return m_keepCsvFiles; }
216 inline bool KeepCsvFilesHasBeenSet() const { return m_keepCsvFilesHasBeenSet; }
217 inline void SetKeepCsvFiles(bool value) { m_keepCsvFilesHasBeenSet = true; m_keepCsvFiles = value; }
218 inline IBMDb2Settings& WithKeepCsvFiles(bool value) { SetKeepCsvFiles(value); return *this;}
220 private:
221
222 Aws::String m_databaseName;
223 bool m_databaseNameHasBeenSet = false;
224
225 Aws::String m_password;
226 bool m_passwordHasBeenSet = false;
227
228 int m_port{0};
229 bool m_portHasBeenSet = false;
230
231 Aws::String m_serverName;
232 bool m_serverNameHasBeenSet = false;
233
234 bool m_setDataCaptureChanges{false};
235 bool m_setDataCaptureChangesHasBeenSet = false;
236
237 Aws::String m_currentLsn;
238 bool m_currentLsnHasBeenSet = false;
239
240 int m_maxKBytesPerRead{0};
241 bool m_maxKBytesPerReadHasBeenSet = false;
242
243 Aws::String m_username;
244 bool m_usernameHasBeenSet = false;
245
246 Aws::String m_secretsManagerAccessRoleArn;
247 bool m_secretsManagerAccessRoleArnHasBeenSet = false;
248
249 Aws::String m_secretsManagerSecretId;
250 bool m_secretsManagerSecretIdHasBeenSet = false;
251
252 int m_loadTimeout{0};
253 bool m_loadTimeoutHasBeenSet = false;
254
255 int m_writeBufferSize{0};
256 bool m_writeBufferSizeHasBeenSet = false;
257
258 int m_maxFileSize{0};
259 bool m_maxFileSizeHasBeenSet = false;
260
261 bool m_keepCsvFiles{false};
262 bool m_keepCsvFilesHasBeenSet = false;
263 };
264
265} // namespace Model
266} // namespace DatabaseMigrationService
267} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings(Aws::Utils::Json::JsonView jsonValue)
IBMDb2Settings & WithCurrentLsn(CurrentLsnT &&value)
IBMDb2Settings & WithDatabaseName(DatabaseNameT &&value)
IBMDb2Settings & WithSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings()=default
IBMDb2Settings & WithUsername(UsernameT &&value)
void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
void SetSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
IBMDb2Settings & WithSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
IBMDb2Settings & WithPassword(PasswordT &&value)
IBMDb2Settings & WithServerName(ServerNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue