7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutmetrics/model/VpcConfiguration.h>
22namespace LookoutMetrics
50 inline void SetDBInstanceIdentifier(
const char* value) { m_dBInstanceIdentifierHasBeenSet =
true; m_dBInstanceIdentifier.assign(value); }
64 inline void SetDatabaseHost(
const char* value) { m_databaseHostHasBeenSet =
true; m_databaseHost.assign(value); }
76 inline void SetDatabasePort(
int value) { m_databasePortHasBeenSet =
true; m_databasePort = value; }
88 inline void SetSecretManagerArn(
const char* value) { m_secretManagerArnHasBeenSet =
true; m_secretManagerArn.assign(value); }
102 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
116 inline void SetTableName(
const char* value) { m_tableNameHasBeenSet =
true; m_tableName.assign(value); }
130 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
151 bool m_dBInstanceIdentifierHasBeenSet =
false;
154 bool m_databaseHostHasBeenSet =
false;
157 bool m_databasePortHasBeenSet =
false;
160 bool m_secretManagerArnHasBeenSet =
false;
163 bool m_databaseNameHasBeenSet =
false;
166 bool m_tableNameHasBeenSet =
false;
169 bool m_roleArnHasBeenSet =
false;
172 bool m_vpcConfigurationHasBeenSet =
false;
RDSSourceConfig & WithDBInstanceIdentifier(const Aws::String &value)
RDSSourceConfig & WithSecretManagerArn(const Aws::String &value)
bool VpcConfigurationHasBeenSet() const
RDSSourceConfig & WithDatabaseName(const char *value)
RDSSourceConfig & WithDatabasePort(int value)
bool RoleArnHasBeenSet() const
RDSSourceConfig & WithDatabaseHost(const Aws::String &value)
void SetDatabaseName(const Aws::String &value)
void SetTableName(Aws::String &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTableName(const Aws::String &value)
bool DatabaseNameHasBeenSet() const
RDSSourceConfig & WithDBInstanceIdentifier(const char *value)
RDSSourceConfig & WithRoleArn(const Aws::String &value)
RDSSourceConfig & WithDatabaseName(Aws::String &&value)
int GetDatabasePort() const
RDSSourceConfig & WithDBInstanceIdentifier(Aws::String &&value)
void SetDatabaseName(Aws::String &&value)
const Aws::String & GetTableName() const
AWS_LOOKOUTMETRICS_API RDSSourceConfig(Aws::Utils::Json::JsonView jsonValue)
RDSSourceConfig & WithTableName(Aws::String &&value)
void SetVpcConfiguration(VpcConfiguration &&value)
void SetRoleArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
void SetDatabaseHost(const Aws::String &value)
void SetVpcConfiguration(const VpcConfiguration &value)
void SetDBInstanceIdentifier(const char *value)
void SetTableName(const char *value)
RDSSourceConfig & WithTableName(const Aws::String &value)
void SetDatabaseName(const char *value)
bool TableNameHasBeenSet() const
RDSSourceConfig & WithRoleArn(const char *value)
RDSSourceConfig & WithRoleArn(Aws::String &&value)
const Aws::String & GetDBInstanceIdentifier() const
RDSSourceConfig & WithDatabaseName(const Aws::String &value)
AWS_LOOKOUTMETRICS_API RDSSourceConfig()
RDSSourceConfig & WithSecretManagerArn(const char *value)
bool DBInstanceIdentifierHasBeenSet() const
RDSSourceConfig & WithSecretManagerArn(Aws::String &&value)
void SetSecretManagerArn(Aws::String &&value)
const Aws::String & GetDatabaseName() const
void SetSecretManagerArn(const Aws::String &value)
RDSSourceConfig & WithDatabaseHost(Aws::String &&value)
void SetDatabaseHost(Aws::String &&value)
RDSSourceConfig & WithDatabaseHost(const char *value)
const Aws::String & GetSecretManagerArn() const
bool DatabaseHostHasBeenSet() const
void SetSecretManagerArn(const char *value)
const Aws::String & GetDatabaseHost() const
AWS_LOOKOUTMETRICS_API RDSSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(Aws::String &&value)
RDSSourceConfig & WithTableName(const char *value)
bool SecretManagerArnHasBeenSet() const
void SetDBInstanceIdentifier(const Aws::String &value)
void SetDatabaseHost(const char *value)
const VpcConfiguration & GetVpcConfiguration() const
void SetDBInstanceIdentifier(Aws::String &&value)
RDSSourceConfig & WithVpcConfiguration(VpcConfiguration &&value)
void SetRoleArn(const char *value)
bool DatabasePortHasBeenSet() const
void SetDatabasePort(int value)
RDSSourceConfig & WithVpcConfiguration(const VpcConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue