/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon Relational Database Service (Amazon RDS) HTTP endpoint
* configuration.See Also:
AWS
* API Reference
Amazon Web Services Region for Amazon RDS HTTP endpoint.
*/ inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; } /** *Amazon Web Services Region for Amazon RDS HTTP endpoint.
*/ inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; } /** *Amazon Web Services Region for Amazon RDS HTTP endpoint.
*/ inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; } /** *Amazon Web Services Region for Amazon RDS HTTP endpoint.
*/ inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); } /** *Amazon Web Services Region for Amazon RDS HTTP endpoint.
*/ inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); } /** *Amazon Web Services Region for Amazon RDS HTTP endpoint.
*/ inline RdsHttpEndpointConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;} /** *Amazon Web Services Region for Amazon RDS HTTP endpoint.
*/ inline RdsHttpEndpointConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;} /** *Amazon Web Services Region for Amazon RDS HTTP endpoint.
*/ inline RdsHttpEndpointConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;} /** *Amazon RDS cluster Amazon Resource Name (ARN).
*/ inline const Aws::String& GetDbClusterIdentifier() const{ return m_dbClusterIdentifier; } /** *Amazon RDS cluster Amazon Resource Name (ARN).
*/ inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; } /** *Amazon RDS cluster Amazon Resource Name (ARN).
*/ inline void SetDbClusterIdentifier(const Aws::String& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = value; } /** *Amazon RDS cluster Amazon Resource Name (ARN).
*/ inline void SetDbClusterIdentifier(Aws::String&& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = std::move(value); } /** *Amazon RDS cluster Amazon Resource Name (ARN).
*/ inline void SetDbClusterIdentifier(const char* value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier.assign(value); } /** *Amazon RDS cluster Amazon Resource Name (ARN).
*/ inline RdsHttpEndpointConfig& WithDbClusterIdentifier(const Aws::String& value) { SetDbClusterIdentifier(value); return *this;} /** *Amazon RDS cluster Amazon Resource Name (ARN).
*/ inline RdsHttpEndpointConfig& WithDbClusterIdentifier(Aws::String&& value) { SetDbClusterIdentifier(std::move(value)); return *this;} /** *Amazon RDS cluster Amazon Resource Name (ARN).
*/ inline RdsHttpEndpointConfig& WithDbClusterIdentifier(const char* value) { SetDbClusterIdentifier(value); return *this;} /** *Logical database name.
*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *Logical database name.
*/ inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } /** *Logical database name.
*/ inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } /** *Logical database name.
*/ inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } /** *Logical database name.
*/ inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } /** *Logical database name.
*/ inline RdsHttpEndpointConfig& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *Logical database name.
*/ inline RdsHttpEndpointConfig& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *Logical database name.
*/ inline RdsHttpEndpointConfig& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} /** *Logical schema name.
*/ inline const Aws::String& GetSchema() const{ return m_schema; } /** *Logical schema name.
*/ inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; } /** *Logical schema name.
*/ inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; } /** *Logical schema name.
*/ inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); } /** *Logical schema name.
*/ inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); } /** *Logical schema name.
*/ inline RdsHttpEndpointConfig& WithSchema(const Aws::String& value) { SetSchema(value); return *this;} /** *Logical schema name.
*/ inline RdsHttpEndpointConfig& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;} /** *Logical schema name.
*/ inline RdsHttpEndpointConfig& WithSchema(const char* value) { SetSchema(value); return *this;} /** *Amazon Web Services secret store Amazon Resource Name (ARN) for database * credentials.
*/ inline const Aws::String& GetAwsSecretStoreArn() const{ return m_awsSecretStoreArn; } /** *Amazon Web Services secret store Amazon Resource Name (ARN) for database * credentials.
*/ inline bool AwsSecretStoreArnHasBeenSet() const { return m_awsSecretStoreArnHasBeenSet; } /** *Amazon Web Services secret store Amazon Resource Name (ARN) for database * credentials.
*/ inline void SetAwsSecretStoreArn(const Aws::String& value) { m_awsSecretStoreArnHasBeenSet = true; m_awsSecretStoreArn = value; } /** *Amazon Web Services secret store Amazon Resource Name (ARN) for database * credentials.
*/ inline void SetAwsSecretStoreArn(Aws::String&& value) { m_awsSecretStoreArnHasBeenSet = true; m_awsSecretStoreArn = std::move(value); } /** *Amazon Web Services secret store Amazon Resource Name (ARN) for database * credentials.
*/ inline void SetAwsSecretStoreArn(const char* value) { m_awsSecretStoreArnHasBeenSet = true; m_awsSecretStoreArn.assign(value); } /** *Amazon Web Services secret store Amazon Resource Name (ARN) for database * credentials.
*/ inline RdsHttpEndpointConfig& WithAwsSecretStoreArn(const Aws::String& value) { SetAwsSecretStoreArn(value); return *this;} /** *Amazon Web Services secret store Amazon Resource Name (ARN) for database * credentials.
*/ inline RdsHttpEndpointConfig& WithAwsSecretStoreArn(Aws::String&& value) { SetAwsSecretStoreArn(std::move(value)); return *this;} /** *Amazon Web Services secret store Amazon Resource Name (ARN) for database * credentials.
*/ inline RdsHttpEndpointConfig& WithAwsSecretStoreArn(const char* value) { SetAwsSecretStoreArn(value); return *this;} private: Aws::String m_awsRegion; bool m_awsRegionHasBeenSet = false; Aws::String m_dbClusterIdentifier; bool m_dbClusterIdentifierHasBeenSet = false; Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; Aws::String m_schema; bool m_schemaHasBeenSet = false; Aws::String m_awsSecretStoreArn; bool m_awsSecretStoreArnHasBeenSet = false; }; } // namespace Model } // namespace AppSync } // namespace Aws