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

The Network Load Balancer resource that a DNS target resource points * to.

See Also:

AWS * API Reference

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

The Network Load Balancer resource Amazon Resource Name (ARN).

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Network Load Balancer resource Amazon Resource Name (ARN).

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Network Load Balancer resource Amazon Resource Name (ARN).

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Network Load Balancer resource Amazon Resource Name (ARN).

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Network Load Balancer resource Amazon Resource Name (ARN).

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Network Load Balancer resource Amazon Resource Name (ARN).

*/ inline NLBResource& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Network Load Balancer resource Amazon Resource Name (ARN).

*/ inline NLBResource& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Network Load Balancer resource Amazon Resource Name (ARN).

*/ inline NLBResource& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws