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 SetClusterIdentifier(
const char* value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier.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); }
131 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
152 bool m_clusterIdentifierHasBeenSet =
false;
155 bool m_databaseHostHasBeenSet =
false;
158 bool m_databasePortHasBeenSet =
false;
161 bool m_secretManagerArnHasBeenSet =
false;
164 bool m_databaseNameHasBeenSet =
false;
167 bool m_tableNameHasBeenSet =
false;
170 bool m_roleArnHasBeenSet =
false;
173 bool m_vpcConfigurationHasBeenSet =
false;
bool DatabaseHostHasBeenSet() const
RedshiftSourceConfig & WithSecretManagerArn(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
void SetDatabaseHost(const char *value)
const Aws::String & GetSecretManagerArn() const
AWS_LOOKOUTMETRICS_API RedshiftSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
RedshiftSourceConfig & WithDatabaseName(const char *value)
RedshiftSourceConfig & WithSecretManagerArn(Aws::String &&value)
void SetDatabaseHost(Aws::String &&value)
int GetDatabasePort() const
bool DatabasePortHasBeenSet() const
const Aws::String & GetDatabaseHost() const
void SetClusterIdentifier(Aws::String &&value)
bool TableNameHasBeenSet() const
RedshiftSourceConfig & WithClusterIdentifier(Aws::String &&value)
const Aws::String & GetTableName() const
RedshiftSourceConfig & WithDatabaseName(const Aws::String &value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRoleArn(const char *value)
void SetSecretManagerArn(const char *value)
void SetVpcConfiguration(const VpcConfiguration &value)
void SetSecretManagerArn(const Aws::String &value)
RedshiftSourceConfig & WithTableName(Aws::String &&value)
RedshiftSourceConfig & WithVpcConfiguration(const VpcConfiguration &value)
RedshiftSourceConfig & WithTableName(const char *value)
RedshiftSourceConfig & WithDatabaseName(Aws::String &&value)
const VpcConfiguration & GetVpcConfiguration() const
void SetDatabaseHost(const Aws::String &value)
bool VpcConfigurationHasBeenSet() const
RedshiftSourceConfig & WithDatabaseHost(Aws::String &&value)
void SetDatabaseName(Aws::String &&value)
bool SecretManagerArnHasBeenSet() const
RedshiftSourceConfig & WithClusterIdentifier(const Aws::String &value)
void SetTableName(Aws::String &&value)
void SetDatabaseName(const Aws::String &value)
void SetTableName(const char *value)
AWS_LOOKOUTMETRICS_API RedshiftSourceConfig()
AWS_LOOKOUTMETRICS_API RedshiftSourceConfig(Aws::Utils::Json::JsonView jsonValue)
RedshiftSourceConfig & WithDatabaseHost(const Aws::String &value)
void SetVpcConfiguration(VpcConfiguration &&value)
RedshiftSourceConfig & WithDatabaseHost(const char *value)
RedshiftSourceConfig & WithClusterIdentifier(const char *value)
void SetTableName(const Aws::String &value)
void SetClusterIdentifier(const Aws::String &value)
const Aws::String & GetDatabaseName() const
const Aws::String & GetClusterIdentifier() const
RedshiftSourceConfig & WithRoleArn(Aws::String &&value)
RedshiftSourceConfig & WithTableName(const Aws::String &value)
bool DatabaseNameHasBeenSet() const
RedshiftSourceConfig & WithRoleArn(const char *value)
RedshiftSourceConfig & WithSecretManagerArn(const char *value)
void SetDatabasePort(int value)
void SetRoleArn(const Aws::String &value)
bool RoleArnHasBeenSet() const
void SetClusterIdentifier(const char *value)
bool ClusterIdentifierHasBeenSet() const
void SetDatabaseName(const char *value)
RedshiftSourceConfig & WithDatabasePort(int value)
RedshiftSourceConfig & WithRoleArn(const Aws::String &value)
void SetSecretManagerArn(Aws::String &&value)
RedshiftSourceConfig & WithVpcConfiguration(VpcConfiguration &&value)
const Aws::String & GetRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue