7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace DatabaseMigrationService
49 inline void SetServerName(
const char* value) { m_serverNameHasBeenSet =
true; m_serverName.assign(value); }
59 inline int GetPort()
const{
return m_port; }
61 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
73 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
81 bool m_serverNameHasBeenSet =
false;
84 bool m_portHasBeenSet =
false;
87 bool m_databaseNameHasBeenSet =
false;
AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings()
const Aws::String & GetDatabaseName() const
void SetServerName(Aws::String &&value)
RedshiftDataProviderSettings & WithDatabaseName(const Aws::String &value)
bool DatabaseNameHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServerNameHasBeenSet() const
void SetServerName(const Aws::String &value)
RedshiftDataProviderSettings & WithServerName(Aws::String &&value)
RedshiftDataProviderSettings & WithDatabaseName(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataProviderSettings & WithPort(int value)
const Aws::String & GetServerName() const
void SetDatabaseName(const Aws::String &value)
void SetDatabaseName(Aws::String &&value)
void SetDatabaseName(const char *value)
RedshiftDataProviderSettings & WithDatabaseName(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API RedshiftDataProviderSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftDataProviderSettings & WithServerName(const Aws::String &value)
bool PortHasBeenSet() const
RedshiftDataProviderSettings & WithServerName(const char *value)
void SetServerName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue