/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A set of five redundant Regional endpoints against which you can execute API
* calls to update or get the state of routing controls. You can host multiple
* control panels and routing controls on one cluster.See Also:
* AWS
* API Reference
The Amazon Resource Name (ARN) of the cluster.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline Cluster& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline Cluster& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the cluster.
*/ inline Cluster& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *Endpoints for a cluster. Specify one of these endpoints when you want to set * or retrieve a routing control state in the cluster.
To get or update the * routing control state, see the Amazon Route 53 Application Recovery Controller * Routing Control Actions.
*/ inline const Aws::VectorEndpoints for a cluster. Specify one of these endpoints when you want to set * or retrieve a routing control state in the cluster.
To get or update the * routing control state, see the Amazon Route 53 Application Recovery Controller * Routing Control Actions.
*/ inline bool ClusterEndpointsHasBeenSet() const { return m_clusterEndpointsHasBeenSet; } /** *Endpoints for a cluster. Specify one of these endpoints when you want to set * or retrieve a routing control state in the cluster.
To get or update the * routing control state, see the Amazon Route 53 Application Recovery Controller * Routing Control Actions.
*/ inline void SetClusterEndpoints(const Aws::VectorEndpoints for a cluster. Specify one of these endpoints when you want to set * or retrieve a routing control state in the cluster.
To get or update the * routing control state, see the Amazon Route 53 Application Recovery Controller * Routing Control Actions.
*/ inline void SetClusterEndpoints(Aws::VectorEndpoints for a cluster. Specify one of these endpoints when you want to set * or retrieve a routing control state in the cluster.
To get or update the * routing control state, see the Amazon Route 53 Application Recovery Controller * Routing Control Actions.
*/ inline Cluster& WithClusterEndpoints(const Aws::VectorEndpoints for a cluster. Specify one of these endpoints when you want to set * or retrieve a routing control state in the cluster.
To get or update the * routing control state, see the Amazon Route 53 Application Recovery Controller * Routing Control Actions.
*/ inline Cluster& WithClusterEndpoints(Aws::VectorEndpoints for a cluster. Specify one of these endpoints when you want to set * or retrieve a routing control state in the cluster.
To get or update the * routing control state, see the Amazon Route 53 Application Recovery Controller * Routing Control Actions.
*/ inline Cluster& AddClusterEndpoints(const ClusterEndpoint& value) { m_clusterEndpointsHasBeenSet = true; m_clusterEndpoints.push_back(value); return *this; } /** *Endpoints for a cluster. Specify one of these endpoints when you want to set * or retrieve a routing control state in the cluster.
To get or update the * routing control state, see the Amazon Route 53 Application Recovery Controller * Routing Control Actions.
*/ inline Cluster& AddClusterEndpoints(ClusterEndpoint&& value) { m_clusterEndpointsHasBeenSet = true; m_clusterEndpoints.push_back(std::move(value)); return *this; } /** *The name of the cluster.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the cluster.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the cluster.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the cluster.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the cluster.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the cluster.
*/ inline Cluster& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the cluster.
*/ inline Cluster& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the cluster.
*/ inline Cluster& WithName(const char* value) { SetName(value); return *this;} /** *Deployment status of a resource. Status can be one of the following: PENDING, * DEPLOYED, PENDING_DELETION.
*/ inline const Status& GetStatus() const{ return m_status; } /** *Deployment status of a resource. Status can be one of the following: PENDING, * DEPLOYED, PENDING_DELETION.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Deployment status of a resource. Status can be one of the following: PENDING, * DEPLOYED, PENDING_DELETION.
*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** *Deployment status of a resource. Status can be one of the following: PENDING, * DEPLOYED, PENDING_DELETION.
*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Deployment status of a resource. Status can be one of the following: PENDING, * DEPLOYED, PENDING_DELETION.
*/ inline Cluster& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *Deployment status of a resource. Status can be one of the following: PENDING, * DEPLOYED, PENDING_DELETION.
*/ inline Cluster& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::Vector