/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Route 53 resource that a DNS target resource record points
* to.See Also:
AWS
* API Reference
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