AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
48 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
49 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
50 inline IBMDb2Settings& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
51 inline IBMDb2Settings& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
52 inline IBMDb2Settings& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
54
56
59 inline const Aws::String& GetPassword() const{ return m_password; }
60 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
61 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
62 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
63 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
64 inline IBMDb2Settings& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
65 inline IBMDb2Settings& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
66 inline IBMDb2Settings& WithPassword(const char* value) { SetPassword(value); return *this;}
68
70
73 inline int GetPort() const{ return m_port; }
74 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
75 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
76 inline IBMDb2Settings& WithPort(int value) { SetPort(value); return *this;}
78
80
83 inline const Aws::String& GetServerName() const{ return m_serverName; }
84 inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; }
85 inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; }
86 inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); }
87 inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); }
88 inline IBMDb2Settings& WithServerName(const Aws::String& value) { SetServerName(value); return *this;}
89 inline IBMDb2Settings& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
90 inline IBMDb2Settings& WithServerName(const char* value) { SetServerName(value); return *this;}
92
94
98 inline bool GetSetDataCaptureChanges() const{ return m_setDataCaptureChanges; }
99 inline bool SetDataCaptureChangesHasBeenSet() const { return m_setDataCaptureChangesHasBeenSet; }
100 inline void SetSetDataCaptureChanges(bool value) { m_setDataCaptureChangesHasBeenSet = true; m_setDataCaptureChanges = value; }
101 inline IBMDb2Settings& WithSetDataCaptureChanges(bool value) { SetSetDataCaptureChanges(value); return *this;}
103
105
109 inline const Aws::String& GetCurrentLsn() const{ return m_currentLsn; }
110 inline bool CurrentLsnHasBeenSet() const { return m_currentLsnHasBeenSet; }
111 inline void SetCurrentLsn(const Aws::String& value) { m_currentLsnHasBeenSet = true; m_currentLsn = value; }
112 inline void SetCurrentLsn(Aws::String&& value) { m_currentLsnHasBeenSet = true; m_currentLsn = std::move(value); }
113 inline void SetCurrentLsn(const char* value) { m_currentLsnHasBeenSet = true; m_currentLsn.assign(value); }
114 inline IBMDb2Settings& WithCurrentLsn(const Aws::String& value) { SetCurrentLsn(value); return *this;}
115 inline IBMDb2Settings& WithCurrentLsn(Aws::String&& value) { SetCurrentLsn(std::move(value)); return *this;}
116 inline IBMDb2Settings& WithCurrentLsn(const char* value) { SetCurrentLsn(value); return *this;}
118
120
124 inline int GetMaxKBytesPerRead() const{ return m_maxKBytesPerRead; }
125 inline bool MaxKBytesPerReadHasBeenSet() const { return m_maxKBytesPerReadHasBeenSet; }
126 inline void SetMaxKBytesPerRead(int value) { m_maxKBytesPerReadHasBeenSet = true; m_maxKBytesPerRead = value; }
127 inline IBMDb2Settings& WithMaxKBytesPerRead(int value) { SetMaxKBytesPerRead(value); return *this;}
129
131
134 inline const Aws::String& GetUsername() const{ return m_username; }
135 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
136 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
137 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
138 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
139 inline IBMDb2Settings& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
140 inline IBMDb2Settings& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
141 inline IBMDb2Settings& WithUsername(const char* value) { SetUsername(value); return *this;}
143
145
163 inline const Aws::String& GetSecretsManagerAccessRoleArn() const{ return m_secretsManagerAccessRoleArn; }
164 inline bool SecretsManagerAccessRoleArnHasBeenSet() const { return m_secretsManagerAccessRoleArnHasBeenSet; }
165 inline void SetSecretsManagerAccessRoleArn(const Aws::String& value) { m_secretsManagerAccessRoleArnHasBeenSet = true; m_secretsManagerAccessRoleArn = value; }
166 inline void SetSecretsManagerAccessRoleArn(Aws::String&& value) { m_secretsManagerAccessRoleArnHasBeenSet = true; m_secretsManagerAccessRoleArn = std::move(value); }
167 inline void SetSecretsManagerAccessRoleArn(const char* value) { m_secretsManagerAccessRoleArnHasBeenSet = true; m_secretsManagerAccessRoleArn.assign(value); }
170 inline IBMDb2Settings& WithSecretsManagerAccessRoleArn(const char* value) { SetSecretsManagerAccessRoleArn(value); return *this;}
172
174
179 inline const Aws::String& GetSecretsManagerSecretId() const{ return m_secretsManagerSecretId; }
180 inline bool SecretsManagerSecretIdHasBeenSet() const { return m_secretsManagerSecretIdHasBeenSet; }
181 inline void SetSecretsManagerSecretId(const Aws::String& value) { m_secretsManagerSecretIdHasBeenSet = true; m_secretsManagerSecretId = value; }
182 inline void SetSecretsManagerSecretId(Aws::String&& value) { m_secretsManagerSecretIdHasBeenSet = true; m_secretsManagerSecretId = std::move(value); }
183 inline void SetSecretsManagerSecretId(const char* value) { m_secretsManagerSecretIdHasBeenSet = true; m_secretsManagerSecretId.assign(value); }
185 inline IBMDb2Settings& WithSecretsManagerSecretId(Aws::String&& value) { SetSecretsManagerSecretId(std::move(value)); return *this;}
186 inline IBMDb2Settings& WithSecretsManagerSecretId(const char* value) { SetSecretsManagerSecretId(value); return *this;}
188
190
194 inline int GetLoadTimeout() const{ return m_loadTimeout; }
195 inline bool LoadTimeoutHasBeenSet() const { return m_loadTimeoutHasBeenSet; }
196 inline void SetLoadTimeout(int value) { m_loadTimeoutHasBeenSet = true; m_loadTimeout = value; }
197 inline IBMDb2Settings& WithLoadTimeout(int value) { SetLoadTimeout(value); return *this;}
199
201
206 inline int GetWriteBufferSize() const{ return m_writeBufferSize; }
207 inline bool WriteBufferSizeHasBeenSet() const { return m_writeBufferSizeHasBeenSet; }
208 inline void SetWriteBufferSize(int value) { m_writeBufferSizeHasBeenSet = true; m_writeBufferSize = value; }
209 inline IBMDb2Settings& WithWriteBufferSize(int value) { SetWriteBufferSize(value); return *this;}
211
213
217 inline int GetMaxFileSize() const{ return m_maxFileSize; }
218 inline bool MaxFileSizeHasBeenSet() const { return m_maxFileSizeHasBeenSet; }
219 inline void SetMaxFileSize(int value) { m_maxFileSizeHasBeenSet = true; m_maxFileSize = value; }
220 inline IBMDb2Settings& WithMaxFileSize(int value) { SetMaxFileSize(value); return *this;}
222
224
229 inline bool GetKeepCsvFiles() const{ return m_keepCsvFiles; }
230 inline bool KeepCsvFilesHasBeenSet() const { return m_keepCsvFilesHasBeenSet; }
231 inline void SetKeepCsvFiles(bool value) { m_keepCsvFilesHasBeenSet = true; m_keepCsvFiles = value; }
232 inline IBMDb2Settings& WithKeepCsvFiles(bool value) { SetKeepCsvFiles(value); return *this;}
234 private:
235
236 Aws::String m_databaseName;
237 bool m_databaseNameHasBeenSet = false;
238
239 Aws::String m_password;
240 bool m_passwordHasBeenSet = false;
241
242 int m_port;
243 bool m_portHasBeenSet = false;
244
245 Aws::String m_serverName;
246 bool m_serverNameHasBeenSet = false;
247
248 bool m_setDataCaptureChanges;
249 bool m_setDataCaptureChangesHasBeenSet = false;
250
251 Aws::String m_currentLsn;
252 bool m_currentLsnHasBeenSet = false;
253
254 int m_maxKBytesPerRead;
255 bool m_maxKBytesPerReadHasBeenSet = false;
256
257 Aws::String m_username;
258 bool m_usernameHasBeenSet = false;
259
260 Aws::String m_secretsManagerAccessRoleArn;
261 bool m_secretsManagerAccessRoleArnHasBeenSet = false;
262
263 Aws::String m_secretsManagerSecretId;
264 bool m_secretsManagerSecretIdHasBeenSet = false;
265
266 int m_loadTimeout;
267 bool m_loadTimeoutHasBeenSet = false;
268
269 int m_writeBufferSize;
270 bool m_writeBufferSizeHasBeenSet = false;
271
272 int m_maxFileSize;
273 bool m_maxFileSizeHasBeenSet = false;
274
275 bool m_keepCsvFiles;
276 bool m_keepCsvFilesHasBeenSet = false;
277 };
278
279} // namespace Model
280} // namespace DatabaseMigrationService
281} // namespace Aws
IBMDb2Settings & WithSecretsManagerSecretId(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings(Aws::Utils::Json::JsonView jsonValue)
IBMDb2Settings & WithPassword(const Aws::String &value)
IBMDb2Settings & WithUsername(const char *value)
IBMDb2Settings & WithPassword(Aws::String &&value)
IBMDb2Settings & WithSecretsManagerAccessRoleArn(const char *value)
IBMDb2Settings & WithUsername(const Aws::String &value)
IBMDb2Settings & WithSecretsManagerAccessRoleArn(Aws::String &&value)
IBMDb2Settings & WithCurrentLsn(const Aws::String &value)
void SetSecretsManagerSecretId(const Aws::String &value)
IBMDb2Settings & WithCurrentLsn(Aws::String &&value)
IBMDb2Settings & WithUsername(Aws::String &&value)
void SetSecretsManagerAccessRoleArn(const Aws::String &value)
IBMDb2Settings & WithSecretsManagerSecretId(const Aws::String &value)
IBMDb2Settings & WithDatabaseName(const char *value)
IBMDb2Settings & WithSecretsManagerAccessRoleArn(const Aws::String &value)
IBMDb2Settings & WithSecretsManagerSecretId(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
IBMDb2Settings & WithCurrentLsn(const char *value)
IBMDb2Settings & WithDatabaseName(const Aws::String &value)
IBMDb2Settings & WithPassword(const char *value)
IBMDb2Settings & WithServerName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API IBMDb2Settings()
IBMDb2Settings & WithServerName(const char *value)
IBMDb2Settings & WithServerName(Aws::String &&value)
IBMDb2Settings & WithDatabaseName(Aws::String &&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