/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Route53RecoveryCluster { namespace Model { /** *

A routing control state entry.

See Also:

AWS * API Reference

*/ class UpdateRoutingControlStateEntry { public: AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry(); AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry(Aws::Utils::Json::JsonView jsonValue); AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ROUTE53RECOVERYCLUSTER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) for a routing control state entry.

*/ inline const Aws::String& GetRoutingControlArn() const{ return m_routingControlArn; } /** *

The Amazon Resource Name (ARN) for a routing control state entry.

*/ inline bool RoutingControlArnHasBeenSet() const { return m_routingControlArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for a routing control state entry.

*/ inline void SetRoutingControlArn(const Aws::String& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = value; } /** *

The Amazon Resource Name (ARN) for a routing control state entry.

*/ inline void SetRoutingControlArn(Aws::String&& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for a routing control state entry.

*/ inline void SetRoutingControlArn(const char* value) { m_routingControlArnHasBeenSet = true; m_routingControlArn.assign(value); } /** *

The Amazon Resource Name (ARN) for a routing control state entry.

*/ inline UpdateRoutingControlStateEntry& WithRoutingControlArn(const Aws::String& value) { SetRoutingControlArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for a routing control state entry.

*/ inline UpdateRoutingControlStateEntry& WithRoutingControlArn(Aws::String&& value) { SetRoutingControlArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for a routing control state entry.

*/ inline UpdateRoutingControlStateEntry& WithRoutingControlArn(const char* value) { SetRoutingControlArn(value); return *this;} /** *

The routing control state in a set of routing control state entries.

*/ inline const RoutingControlState& GetRoutingControlState() const{ return m_routingControlState; } /** *

The routing control state in a set of routing control state entries.

*/ inline bool RoutingControlStateHasBeenSet() const { return m_routingControlStateHasBeenSet; } /** *

The routing control state in a set of routing control state entries.

*/ inline void SetRoutingControlState(const RoutingControlState& value) { m_routingControlStateHasBeenSet = true; m_routingControlState = value; } /** *

The routing control state in a set of routing control state entries.

*/ inline void SetRoutingControlState(RoutingControlState&& value) { m_routingControlStateHasBeenSet = true; m_routingControlState = std::move(value); } /** *

The routing control state in a set of routing control state entries.

*/ inline UpdateRoutingControlStateEntry& WithRoutingControlState(const RoutingControlState& value) { SetRoutingControlState(value); return *this;} /** *

The routing control state in a set of routing control state entries.

*/ inline UpdateRoutingControlStateEntry& WithRoutingControlState(RoutingControlState&& value) { SetRoutingControlState(std::move(value)); return *this;} private: Aws::String m_routingControlArn; bool m_routingControlArnHasBeenSet = false; RoutingControlState m_routingControlState; bool m_routingControlStateHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryCluster } // namespace Aws