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
48 template<
typename ClusterIdentifierT = Aws::String>
49 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
50 template<
typename ClusterIdentifierT = Aws::String>
60 template<
typename DatabaseHostT = Aws::String>
61 void SetDatabaseHost(DatabaseHostT&& value) { m_databaseHostHasBeenSet =
true; m_databaseHost = std::forward<DatabaseHostT>(value); }
62 template<
typename DatabaseHostT = Aws::String>
72 inline void SetDatabasePort(
int value) { m_databasePortHasBeenSet =
true; m_databasePort = value; }
82 template<
typename SecretManagerArnT = Aws::String>
83 void SetSecretManagerArn(SecretManagerArnT&& value) { m_secretManagerArnHasBeenSet =
true; m_secretManagerArn = std::forward<SecretManagerArnT>(value); }
84 template<
typename SecretManagerArnT = Aws::String>
94 template<
typename DatabaseNameT = Aws::String>
95 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
96 template<
typename DatabaseNameT = Aws::String>
106 template<
typename TableNameT = Aws::String>
107 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
108 template<
typename TableNameT = Aws::String>
119 template<
typename RoleArnT = Aws::String>
120 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
121 template<
typename RoleArnT = Aws::String>
132 template<
typename VpcConfigurationT = VpcConfiguration>
133 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet =
true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
134 template<
typename VpcConfigurationT = VpcConfiguration>
140 bool m_clusterIdentifierHasBeenSet =
false;
143 bool m_databaseHostHasBeenSet =
false;
145 int m_databasePort{0};
146 bool m_databasePortHasBeenSet =
false;
149 bool m_secretManagerArnHasBeenSet =
false;
152 bool m_databaseNameHasBeenSet =
false;
155 bool m_tableNameHasBeenSet =
false;
158 bool m_roleArnHasBeenSet =
false;
160 VpcConfiguration m_vpcConfiguration;
161 bool m_vpcConfigurationHasBeenSet =
false;
void SetDatabaseName(DatabaseNameT &&value)
bool DatabaseHostHasBeenSet() const
RedshiftSourceConfig & WithClusterIdentifier(ClusterIdentifierT &&value)
const Aws::String & GetSecretManagerArn() const
AWS_LOOKOUTMETRICS_API RedshiftSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetDatabasePort() const
bool DatabasePortHasBeenSet() const
const Aws::String & GetDatabaseHost() const
bool TableNameHasBeenSet() const
const Aws::String & GetTableName() const
void SetRoleArn(RoleArnT &&value)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcConfiguration(VpcConfigurationT &&value)
RedshiftSourceConfig & WithSecretManagerArn(SecretManagerArnT &&value)
void SetTableName(TableNameT &&value)
void SetSecretManagerArn(SecretManagerArnT &&value)
RedshiftSourceConfig & WithVpcConfiguration(VpcConfigurationT &&value)
RedshiftSourceConfig & WithDatabaseName(DatabaseNameT &&value)
const VpcConfiguration & GetVpcConfiguration() const
RedshiftSourceConfig & WithTableName(TableNameT &&value)
bool VpcConfigurationHasBeenSet() const
void SetDatabaseHost(DatabaseHostT &&value)
bool SecretManagerArnHasBeenSet() const
RedshiftSourceConfig & WithDatabaseHost(DatabaseHostT &&value)
AWS_LOOKOUTMETRICS_API RedshiftSourceConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatabaseName() const
const Aws::String & GetClusterIdentifier() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
bool DatabaseNameHasBeenSet() const
void SetDatabasePort(int value)
bool RoleArnHasBeenSet() const
bool ClusterIdentifierHasBeenSet() const
RedshiftSourceConfig & WithDatabasePort(int value)
RedshiftSourceConfig & WithRoleArn(RoleArnT &&value)
const Aws::String & GetRoleArn() const
AWS_LOOKOUTMETRICS_API RedshiftSourceConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue