/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of the routing control that you're creating.See
* Also:
AWS
* API Reference
A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline CreateRoutingControlRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline CreateRoutingControlRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *A unique, case-sensitive string of up to 64 ASCII characters. To make an * idempotent API request with an action, specify a client token in the * request.
*/ inline CreateRoutingControlRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *The Amazon Resource Name (ARN) of the cluster that includes the routing * control.
*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *The Amazon Resource Name (ARN) of the cluster that includes the routing * control.
*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the cluster that includes the routing * control.
*/ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** *The Amazon Resource Name (ARN) of the cluster that includes the routing * control.
*/ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the cluster that includes the routing * control.
*/ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** *The Amazon Resource Name (ARN) of the cluster that includes the routing * control.
*/ inline CreateRoutingControlRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the cluster that includes the routing * control.
*/ inline CreateRoutingControlRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the cluster that includes the routing * control.
*/ inline CreateRoutingControlRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the control panel that includes the routing * control.
*/ inline const Aws::String& GetControlPanelArn() const{ return m_controlPanelArn; } /** *The Amazon Resource Name (ARN) of the control panel that includes the routing * control.
*/ inline bool ControlPanelArnHasBeenSet() const { return m_controlPanelArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the control panel that includes the routing * control.
*/ inline void SetControlPanelArn(const Aws::String& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = value; } /** *The Amazon Resource Name (ARN) of the control panel that includes the routing * control.
*/ inline void SetControlPanelArn(Aws::String&& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the control panel that includes the routing * control.
*/ inline void SetControlPanelArn(const char* value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn.assign(value); } /** *The Amazon Resource Name (ARN) of the control panel that includes the routing * control.
*/ inline CreateRoutingControlRequest& WithControlPanelArn(const Aws::String& value) { SetControlPanelArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the control panel that includes the routing * control.
*/ inline CreateRoutingControlRequest& WithControlPanelArn(Aws::String&& value) { SetControlPanelArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the control panel that includes the routing * control.
*/ inline CreateRoutingControlRequest& WithControlPanelArn(const char* value) { SetControlPanelArn(value); return *this;} /** *The name of the routing control.
*/ inline const Aws::String& GetRoutingControlName() const{ return m_routingControlName; } /** *The name of the routing control.
*/ inline bool RoutingControlNameHasBeenSet() const { return m_routingControlNameHasBeenSet; } /** *The name of the routing control.
*/ inline void SetRoutingControlName(const Aws::String& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = value; } /** *The name of the routing control.
*/ inline void SetRoutingControlName(Aws::String&& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = std::move(value); } /** *The name of the routing control.
*/ inline void SetRoutingControlName(const char* value) { m_routingControlNameHasBeenSet = true; m_routingControlName.assign(value); } /** *The name of the routing control.
*/ inline CreateRoutingControlRequest& WithRoutingControlName(const Aws::String& value) { SetRoutingControlName(value); return *this;} /** *The name of the routing control.
*/ inline CreateRoutingControlRequest& WithRoutingControlName(Aws::String&& value) { SetRoutingControlName(std::move(value)); return *this;} /** *The name of the routing control.
*/ inline CreateRoutingControlRequest& WithRoutingControlName(const char* value) { SetRoutingControlName(value); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::String m_controlPanelArn; bool m_controlPanelArnHasBeenSet = false; Aws::String m_routingControlName; bool m_routingControlNameHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryControlConfig } // namespace Aws