7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/SafeguardPolicy.h>
10#include <aws/dms/model/TlogAccessMode.h>
11#include <aws/dms/model/SqlServerAuthenticationMethod.h>
24namespace DatabaseMigrationService
48 inline int GetPort()
const {
return m_port; }
50 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
61 inline void SetBcpPacketSize(
int value) { m_bcpPacketSizeHasBeenSet =
true; m_bcpPacketSize = value; }
71 template<
typename DatabaseNameT = Aws::String>
72 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
73 template<
typename DatabaseNameT = Aws::String>
85 template<
typename ControlTablesFileGroupT = Aws::String>
86 void SetControlTablesFileGroup(ControlTablesFileGroupT&& value) { m_controlTablesFileGroupHasBeenSet =
true; m_controlTablesFileGroup = std::forward<ControlTablesFileGroupT>(value); }
87 template<
typename ControlTablesFileGroupT = Aws::String>
97 template<
typename PasswordT = Aws::String>
98 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
99 template<
typename PasswordT = Aws::String>
127 inline void SetReadBackupOnly(
bool value) { m_readBackupOnlyHasBeenSet =
true; m_readBackupOnly = value; }
165 template<
typename ServerNameT = Aws::String>
166 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet =
true; m_serverName = std::forward<ServerNameT>(value); }
167 template<
typename ServerNameT = Aws::String>
177 template<
typename UsernameT = Aws::String>
178 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
179 template<
typename UsernameT = Aws::String>
191 inline void SetUseBcpFullLoad(
bool value) { m_useBcpFullLoadHasBeenSet =
true; m_useBcpFullLoad = value; }
227 template<
typename SecretsManagerAccessRoleArnT = Aws::String>
228 void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT&& value) { m_secretsManagerAccessRoleArnHasBeenSet =
true; m_secretsManagerAccessRoleArn = std::forward<SecretsManagerAccessRoleArnT>(value); }
229 template<
typename SecretsManagerAccessRoleArnT = Aws::String>
241 template<
typename SecretsManagerSecretIdT = Aws::String>
242 void SetSecretsManagerSecretId(SecretsManagerSecretIdT&& value) { m_secretsManagerSecretIdHasBeenSet =
true; m_secretsManagerSecretId = std::forward<SecretsManagerSecretIdT>(value); }
243 template<
typename SecretsManagerSecretIdT = Aws::String>
256 inline void SetTrimSpaceInChar(
bool value) { m_trimSpaceInCharHasBeenSet =
true; m_trimSpaceInChar = value; }
276 inline void SetForceLobLookup(
bool value) { m_forceLobLookupHasBeenSet =
true; m_forceLobLookup = value; }
292 bool m_portHasBeenSet =
false;
294 int m_bcpPacketSize{0};
295 bool m_bcpPacketSizeHasBeenSet =
false;
298 bool m_databaseNameHasBeenSet =
false;
301 bool m_controlTablesFileGroupHasBeenSet =
false;
304 bool m_passwordHasBeenSet =
false;
306 bool m_querySingleAlwaysOnNode{
false};
307 bool m_querySingleAlwaysOnNodeHasBeenSet =
false;
309 bool m_readBackupOnly{
false};
310 bool m_readBackupOnlyHasBeenSet =
false;
313 bool m_safeguardPolicyHasBeenSet =
false;
316 bool m_serverNameHasBeenSet =
false;
319 bool m_usernameHasBeenSet =
false;
321 bool m_useBcpFullLoad{
false};
322 bool m_useBcpFullLoadHasBeenSet =
false;
324 bool m_useThirdPartyBackupDevice{
false};
325 bool m_useThirdPartyBackupDeviceHasBeenSet =
false;
328 bool m_secretsManagerAccessRoleArnHasBeenSet =
false;
331 bool m_secretsManagerSecretIdHasBeenSet =
false;
333 bool m_trimSpaceInChar{
false};
334 bool m_trimSpaceInCharHasBeenSet =
false;
337 bool m_tlogAccessModeHasBeenSet =
false;
339 bool m_forceLobLookup{
false};
340 bool m_forceLobLookupHasBeenSet =
false;
343 bool m_authenticationMethodHasBeenSet =
false;
bool TrimSpaceInCharHasBeenSet() const
bool ReadBackupOnlyHasBeenSet() const
void SetServerName(ServerNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API MicrosoftSQLServerSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API MicrosoftSQLServerSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MicrosoftSQLServerSettings & WithPassword(PasswordT &&value)
bool GetReadBackupOnly() const
MicrosoftSQLServerSettings & WithSafeguardPolicy(SafeguardPolicy value)
MicrosoftSQLServerSettings & WithPort(int value)
void SetBcpPacketSize(int value)
MicrosoftSQLServerSettings & WithControlTablesFileGroup(ControlTablesFileGroupT &&value)
MicrosoftSQLServerSettings & WithSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
AWS_DATABASEMIGRATIONSERVICE_API MicrosoftSQLServerSettings()=default
bool ForceLobLookupHasBeenSet() const
bool SecretsManagerAccessRoleArnHasBeenSet() const
MicrosoftSQLServerSettings & WithUsername(UsernameT &&value)
bool GetQuerySingleAlwaysOnNode() const
const Aws::String & GetControlTablesFileGroup() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool UseBcpFullLoadHasBeenSet() const
const Aws::String & GetSecretsManagerSecretId() const
void SetTlogAccessMode(TlogAccessMode value)
bool BcpPacketSizeHasBeenSet() const
const Aws::String & GetDatabaseName() const
void SetControlTablesFileGroup(ControlTablesFileGroupT &&value)
void SetDatabaseName(DatabaseNameT &&value)
MicrosoftSQLServerSettings & WithDatabaseName(DatabaseNameT &&value)
bool PortHasBeenSet() const
MicrosoftSQLServerSettings & WithTrimSpaceInChar(bool value)
TlogAccessMode GetTlogAccessMode() const
const Aws::String & GetUsername() const
bool ServerNameHasBeenSet() const
const Aws::String & GetServerName() const
MicrosoftSQLServerSettings & WithUseThirdPartyBackupDevice(bool value)
MicrosoftSQLServerSettings & WithSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
bool SafeguardPolicyHasBeenSet() const
void SetPassword(PasswordT &&value)
void SetSecretsManagerAccessRoleArn(SecretsManagerAccessRoleArnT &&value)
bool PasswordHasBeenSet() const
MicrosoftSQLServerSettings & WithForceLobLookup(bool value)
MicrosoftSQLServerSettings & WithBcpPacketSize(int value)
void SetQuerySingleAlwaysOnNode(bool value)
bool UsernameHasBeenSet() const
void SetUseBcpFullLoad(bool value)
bool GetTrimSpaceInChar() const
bool QuerySingleAlwaysOnNodeHasBeenSet() const
void SetSafeguardPolicy(SafeguardPolicy value)
MicrosoftSQLServerSettings & WithServerName(ServerNameT &&value)
void SetUsername(UsernameT &&value)
SafeguardPolicy GetSafeguardPolicy() const
void SetAuthenticationMethod(SqlServerAuthenticationMethod value)
const Aws::String & GetPassword() const
bool UseThirdPartyBackupDeviceHasBeenSet() const
bool DatabaseNameHasBeenSet() const
MicrosoftSQLServerSettings & WithUseBcpFullLoad(bool value)
void SetReadBackupOnly(bool value)
bool AuthenticationMethodHasBeenSet() const
void SetForceLobLookup(bool value)
int GetBcpPacketSize() const
MicrosoftSQLServerSettings & WithReadBackupOnly(bool value)
bool GetUseBcpFullLoad() const
bool TlogAccessModeHasBeenSet() const
const Aws::String & GetSecretsManagerAccessRoleArn() const
bool ControlTablesFileGroupHasBeenSet() const
MicrosoftSQLServerSettings & WithTlogAccessMode(TlogAccessMode value)
MicrosoftSQLServerSettings & WithQuerySingleAlwaysOnNode(bool value)
void SetTrimSpaceInChar(bool value)
void SetUseThirdPartyBackupDevice(bool value)
MicrosoftSQLServerSettings & WithAuthenticationMethod(SqlServerAuthenticationMethod value)
bool GetForceLobLookup() const
bool GetUseThirdPartyBackupDevice() const
void SetSecretsManagerSecretId(SecretsManagerSecretIdT &&value)
SqlServerAuthenticationMethod GetAuthenticationMethod() const
bool SecretsManagerSecretIdHasBeenSet() const
SqlServerAuthenticationMethod
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue