/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Route53RecoveryCluster { namespace Model { class GetRoutingControlStateResult { public: AWS_ROUTE53RECOVERYCLUSTER_API GetRoutingControlStateResult(); AWS_ROUTE53RECOVERYCLUSTER_API GetRoutingControlStateResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RECOVERYCLUSTER_API GetRoutingControlStateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the response.

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

The Amazon Resource Name (ARN) of the response.

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

The Amazon Resource Name (ARN) of the response.

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

The Amazon Resource Name (ARN) of the response.

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

The Amazon Resource Name (ARN) of the response.

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

The Amazon Resource Name (ARN) of the response.

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

The Amazon Resource Name (ARN) of the response.

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

The state of the routing control.

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

The state of the routing control.

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

The state of the routing control.

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

The state of the routing control.

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

The state of the routing control.

*/ inline GetRoutingControlStateResult& WithRoutingControlState(RoutingControlState&& value) { SetRoutingControlState(std::move(value)); return *this;} /** *

The routing control name.

*/ inline const Aws::String& GetRoutingControlName() const{ return m_routingControlName; } /** *

The routing control name.

*/ inline void SetRoutingControlName(const Aws::String& value) { m_routingControlName = value; } /** *

The routing control name.

*/ inline void SetRoutingControlName(Aws::String&& value) { m_routingControlName = std::move(value); } /** *

The routing control name.

*/ inline void SetRoutingControlName(const char* value) { m_routingControlName.assign(value); } /** *

The routing control name.

*/ inline GetRoutingControlStateResult& WithRoutingControlName(const Aws::String& value) { SetRoutingControlName(value); return *this;} /** *

The routing control name.

*/ inline GetRoutingControlStateResult& WithRoutingControlName(Aws::String&& value) { SetRoutingControlName(std::move(value)); return *this;} /** *

The routing control name.

*/ inline GetRoutingControlStateResult& WithRoutingControlName(const char* value) { SetRoutingControlName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetRoutingControlStateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRoutingControlStateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRoutingControlStateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_routingControlArn; RoutingControlState m_routingControlState; Aws::String m_routingControlName; Aws::String m_requestId; }; } // namespace Model } // namespace Route53RecoveryCluster } // namespace Aws