/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a set of RDS DB instances, Aurora DB clusters, or both that a
* proxy can connect to. Currently, each target group is associated with exactly
* one RDS DB instance or Aurora DB cluster. This data type is used as a
* response element in the DescribeDBProxyTargetGroups
* action.See Also:
AWS
* API Reference
The identifier for the RDS proxy associated with this target group.
*/ inline const Aws::String& GetDBProxyName() const{ return m_dBProxyName; } /** *The identifier for the RDS proxy associated with this target group.
*/ inline bool DBProxyNameHasBeenSet() const { return m_dBProxyNameHasBeenSet; } /** *The identifier for the RDS proxy associated with this target group.
*/ inline void SetDBProxyName(const Aws::String& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = value; } /** *The identifier for the RDS proxy associated with this target group.
*/ inline void SetDBProxyName(Aws::String&& value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName = std::move(value); } /** *The identifier for the RDS proxy associated with this target group.
*/ inline void SetDBProxyName(const char* value) { m_dBProxyNameHasBeenSet = true; m_dBProxyName.assign(value); } /** *The identifier for the RDS proxy associated with this target group.
*/ inline DBProxyTargetGroup& WithDBProxyName(const Aws::String& value) { SetDBProxyName(value); return *this;} /** *The identifier for the RDS proxy associated with this target group.
*/ inline DBProxyTargetGroup& WithDBProxyName(Aws::String&& value) { SetDBProxyName(std::move(value)); return *this;} /** *The identifier for the RDS proxy associated with this target group.
*/ inline DBProxyTargetGroup& WithDBProxyName(const char* value) { SetDBProxyName(value); return *this;} /** *The identifier for the target group. This name must be unique for all target * groups owned by your AWS account in the specified AWS Region.
*/ inline const Aws::String& GetTargetGroupName() const{ return m_targetGroupName; } /** *The identifier for the target group. This name must be unique for all target * groups owned by your AWS account in the specified AWS Region.
*/ inline bool TargetGroupNameHasBeenSet() const { return m_targetGroupNameHasBeenSet; } /** *The identifier for the target group. This name must be unique for all target * groups owned by your AWS account in the specified AWS Region.
*/ inline void SetTargetGroupName(const Aws::String& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = value; } /** *The identifier for the target group. This name must be unique for all target * groups owned by your AWS account in the specified AWS Region.
*/ inline void SetTargetGroupName(Aws::String&& value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName = std::move(value); } /** *The identifier for the target group. This name must be unique for all target * groups owned by your AWS account in the specified AWS Region.
*/ inline void SetTargetGroupName(const char* value) { m_targetGroupNameHasBeenSet = true; m_targetGroupName.assign(value); } /** *The identifier for the target group. This name must be unique for all target * groups owned by your AWS account in the specified AWS Region.
*/ inline DBProxyTargetGroup& WithTargetGroupName(const Aws::String& value) { SetTargetGroupName(value); return *this;} /** *The identifier for the target group. This name must be unique for all target * groups owned by your AWS account in the specified AWS Region.
*/ inline DBProxyTargetGroup& WithTargetGroupName(Aws::String&& value) { SetTargetGroupName(std::move(value)); return *this;} /** *The identifier for the target group. This name must be unique for all target * groups owned by your AWS account in the specified AWS Region.
*/ inline DBProxyTargetGroup& WithTargetGroupName(const char* value) { SetTargetGroupName(value); return *this;} /** *The Amazon Resource Name (ARN) representing the target group.
*/ inline const Aws::String& GetTargetGroupArn() const{ return m_targetGroupArn; } /** *The Amazon Resource Name (ARN) representing the target group.
*/ inline bool TargetGroupArnHasBeenSet() const { return m_targetGroupArnHasBeenSet; } /** *The Amazon Resource Name (ARN) representing the target group.
*/ inline void SetTargetGroupArn(const Aws::String& value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn = value; } /** *The Amazon Resource Name (ARN) representing the target group.
*/ inline void SetTargetGroupArn(Aws::String&& value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn = std::move(value); } /** *The Amazon Resource Name (ARN) representing the target group.
*/ inline void SetTargetGroupArn(const char* value) { m_targetGroupArnHasBeenSet = true; m_targetGroupArn.assign(value); } /** *The Amazon Resource Name (ARN) representing the target group.
*/ inline DBProxyTargetGroup& WithTargetGroupArn(const Aws::String& value) { SetTargetGroupArn(value); return *this;} /** *The Amazon Resource Name (ARN) representing the target group.
*/ inline DBProxyTargetGroup& WithTargetGroupArn(Aws::String&& value) { SetTargetGroupArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) representing the target group.
*/ inline DBProxyTargetGroup& WithTargetGroupArn(const char* value) { SetTargetGroupArn(value); return *this;} /** *Whether this target group is the first one used for connection requests by
* the associated proxy. Because each proxy is currently associated with a single
* target group, currently this setting is always true.
Whether this target group is the first one used for connection requests by
* the associated proxy. Because each proxy is currently associated with a single
* target group, currently this setting is always true.
Whether this target group is the first one used for connection requests by
* the associated proxy. Because each proxy is currently associated with a single
* target group, currently this setting is always true.
Whether this target group is the first one used for connection requests by
* the associated proxy. Because each proxy is currently associated with a single
* target group, currently this setting is always true.
The current status of this target group. A status of available
* means the target group is correctly associated with a database. Other values
* indicate that you must wait for the target group to be ready, or take some
* action to resolve an issue.
The current status of this target group. A status of available
* means the target group is correctly associated with a database. Other values
* indicate that you must wait for the target group to be ready, or take some
* action to resolve an issue.
The current status of this target group. A status of available
* means the target group is correctly associated with a database. Other values
* indicate that you must wait for the target group to be ready, or take some
* action to resolve an issue.
The current status of this target group. A status of available
* means the target group is correctly associated with a database. Other values
* indicate that you must wait for the target group to be ready, or take some
* action to resolve an issue.
The current status of this target group. A status of available
* means the target group is correctly associated with a database. Other values
* indicate that you must wait for the target group to be ready, or take some
* action to resolve an issue.
The current status of this target group. A status of available
* means the target group is correctly associated with a database. Other values
* indicate that you must wait for the target group to be ready, or take some
* action to resolve an issue.
The current status of this target group. A status of available
* means the target group is correctly associated with a database. Other values
* indicate that you must wait for the target group to be ready, or take some
* action to resolve an issue.
The current status of this target group. A status of available
* means the target group is correctly associated with a database. Other values
* indicate that you must wait for the target group to be ready, or take some
* action to resolve an issue.
The settings that determine the size and behavior of the connection pool for * the target group.
*/ inline const ConnectionPoolConfigurationInfo& GetConnectionPoolConfig() const{ return m_connectionPoolConfig; } /** *The settings that determine the size and behavior of the connection pool for * the target group.
*/ inline bool ConnectionPoolConfigHasBeenSet() const { return m_connectionPoolConfigHasBeenSet; } /** *The settings that determine the size and behavior of the connection pool for * the target group.
*/ inline void SetConnectionPoolConfig(const ConnectionPoolConfigurationInfo& value) { m_connectionPoolConfigHasBeenSet = true; m_connectionPoolConfig = value; } /** *The settings that determine the size and behavior of the connection pool for * the target group.
*/ inline void SetConnectionPoolConfig(ConnectionPoolConfigurationInfo&& value) { m_connectionPoolConfigHasBeenSet = true; m_connectionPoolConfig = std::move(value); } /** *The settings that determine the size and behavior of the connection pool for * the target group.
*/ inline DBProxyTargetGroup& WithConnectionPoolConfig(const ConnectionPoolConfigurationInfo& value) { SetConnectionPoolConfig(value); return *this;} /** *The settings that determine the size and behavior of the connection pool for * the target group.
*/ inline DBProxyTargetGroup& WithConnectionPoolConfig(ConnectionPoolConfigurationInfo&& value) { SetConnectionPoolConfig(std::move(value)); return *this;} /** *The date and time when the target group was first created.
*/ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } /** *The date and time when the target group was first created.
*/ inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; } /** *The date and time when the target group was first created.
*/ inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; } /** *The date and time when the target group was first created.
*/ inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); } /** *The date and time when the target group was first created.
*/ inline DBProxyTargetGroup& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} /** *The date and time when the target group was first created.
*/ inline DBProxyTargetGroup& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;} /** *The date and time when the target group was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedDate() const{ return m_updatedDate; } /** *The date and time when the target group was last updated.
*/ inline bool UpdatedDateHasBeenSet() const { return m_updatedDateHasBeenSet; } /** *The date and time when the target group was last updated.
*/ inline void SetUpdatedDate(const Aws::Utils::DateTime& value) { m_updatedDateHasBeenSet = true; m_updatedDate = value; } /** *The date and time when the target group was last updated.
*/ inline void SetUpdatedDate(Aws::Utils::DateTime&& value) { m_updatedDateHasBeenSet = true; m_updatedDate = std::move(value); } /** *The date and time when the target group was last updated.
*/ inline DBProxyTargetGroup& WithUpdatedDate(const Aws::Utils::DateTime& value) { SetUpdatedDate(value); return *this;} /** *The date and time when the target group was last updated.
*/ inline DBProxyTargetGroup& WithUpdatedDate(Aws::Utils::DateTime&& value) { SetUpdatedDate(std::move(value)); return *this;} private: Aws::String m_dBProxyName; bool m_dBProxyNameHasBeenSet; Aws::String m_targetGroupName; bool m_targetGroupNameHasBeenSet; Aws::String m_targetGroupArn; bool m_targetGroupArnHasBeenSet; bool m_isDefault; bool m_isDefaultHasBeenSet; Aws::String m_status; bool m_statusHasBeenSet; ConnectionPoolConfigurationInfo m_connectionPoolConfig; bool m_connectionPoolConfigHasBeenSet; Aws::Utils::DateTime m_createdDate; bool m_createdDateHasBeenSet; Aws::Utils::DateTime m_updatedDate; bool m_updatedDateHasBeenSet; }; } // namespace Model } // namespace RDS } // namespace Aws