/** * 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 Route 53 resource that a DNS target resource record points * to.

See Also:

AWS * API Reference

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

The DNS target domain name.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The DNS target domain name.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The DNS target domain name.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The DNS target domain name.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

The DNS target domain name.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

The DNS target domain name.

*/ inline R53ResourceRecord& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The DNS target domain name.

*/ inline R53ResourceRecord& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The DNS target domain name.

*/ inline R53ResourceRecord& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

The Route 53 Resource Record Set ID.

*/ inline const Aws::String& GetRecordSetId() const{ return m_recordSetId; } /** *

The Route 53 Resource Record Set ID.

*/ inline bool RecordSetIdHasBeenSet() const { return m_recordSetIdHasBeenSet; } /** *

The Route 53 Resource Record Set ID.

*/ inline void SetRecordSetId(const Aws::String& value) { m_recordSetIdHasBeenSet = true; m_recordSetId = value; } /** *

The Route 53 Resource Record Set ID.

*/ inline void SetRecordSetId(Aws::String&& value) { m_recordSetIdHasBeenSet = true; m_recordSetId = std::move(value); } /** *

The Route 53 Resource Record Set ID.

*/ inline void SetRecordSetId(const char* value) { m_recordSetIdHasBeenSet = true; m_recordSetId.assign(value); } /** *

The Route 53 Resource Record Set ID.

*/ inline R53ResourceRecord& WithRecordSetId(const Aws::String& value) { SetRecordSetId(value); return *this;} /** *

The Route 53 Resource Record Set ID.

*/ inline R53ResourceRecord& WithRecordSetId(Aws::String&& value) { SetRecordSetId(std::move(value)); return *this;} /** *

The Route 53 Resource Record Set ID.

*/ inline R53ResourceRecord& WithRecordSetId(const char* value) { SetRecordSetId(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_recordSetId; bool m_recordSetIdHasBeenSet = false; }; } // namespace Model } // namespace Route53RecoveryReadiness } // namespace Aws