/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains the response to a TestDNSAnswer
* request. See Also:
AWS
* API Reference
The Amazon Route 53 name server used to respond to the request.
*/ inline const Aws::String& GetNameserver() const{ return m_nameserver; } /** *The Amazon Route 53 name server used to respond to the request.
*/ inline void SetNameserver(const Aws::String& value) { m_nameserver = value; } /** *The Amazon Route 53 name server used to respond to the request.
*/ inline void SetNameserver(Aws::String&& value) { m_nameserver = std::move(value); } /** *The Amazon Route 53 name server used to respond to the request.
*/ inline void SetNameserver(const char* value) { m_nameserver.assign(value); } /** *The Amazon Route 53 name server used to respond to the request.
*/ inline TestDNSAnswerResult& WithNameserver(const Aws::String& value) { SetNameserver(value); return *this;} /** *The Amazon Route 53 name server used to respond to the request.
*/ inline TestDNSAnswerResult& WithNameserver(Aws::String&& value) { SetNameserver(std::move(value)); return *this;} /** *The Amazon Route 53 name server used to respond to the request.
*/ inline TestDNSAnswerResult& WithNameserver(const char* value) { SetNameserver(value); return *this;} /** *The name of the resource record set that you submitted a request for.
*/ inline const Aws::String& GetRecordName() const{ return m_recordName; } /** *The name of the resource record set that you submitted a request for.
*/ inline void SetRecordName(const Aws::String& value) { m_recordName = value; } /** *The name of the resource record set that you submitted a request for.
*/ inline void SetRecordName(Aws::String&& value) { m_recordName = std::move(value); } /** *The name of the resource record set that you submitted a request for.
*/ inline void SetRecordName(const char* value) { m_recordName.assign(value); } /** *The name of the resource record set that you submitted a request for.
*/ inline TestDNSAnswerResult& WithRecordName(const Aws::String& value) { SetRecordName(value); return *this;} /** *The name of the resource record set that you submitted a request for.
*/ inline TestDNSAnswerResult& WithRecordName(Aws::String&& value) { SetRecordName(std::move(value)); return *this;} /** *The name of the resource record set that you submitted a request for.
*/ inline TestDNSAnswerResult& WithRecordName(const char* value) { SetRecordName(value); return *this;} /** *The type of the resource record set that you submitted a request for.
*/ inline const RRType& GetRecordType() const{ return m_recordType; } /** *The type of the resource record set that you submitted a request for.
*/ inline void SetRecordType(const RRType& value) { m_recordType = value; } /** *The type of the resource record set that you submitted a request for.
*/ inline void SetRecordType(RRType&& value) { m_recordType = std::move(value); } /** *The type of the resource record set that you submitted a request for.
*/ inline TestDNSAnswerResult& WithRecordType(const RRType& value) { SetRecordType(value); return *this;} /** *The type of the resource record set that you submitted a request for.
*/ inline TestDNSAnswerResult& WithRecordType(RRType&& value) { SetRecordType(std::move(value)); return *this;} /** *A list that contains values that Amazon Route 53 returned for this resource * record set.
*/ inline const Aws::VectorA list that contains values that Amazon Route 53 returned for this resource * record set.
*/ inline void SetRecordData(const Aws::VectorA list that contains values that Amazon Route 53 returned for this resource * record set.
*/ inline void SetRecordData(Aws::VectorA list that contains values that Amazon Route 53 returned for this resource * record set.
*/ inline TestDNSAnswerResult& WithRecordData(const Aws::VectorA list that contains values that Amazon Route 53 returned for this resource * record set.
*/ inline TestDNSAnswerResult& WithRecordData(Aws::VectorA list that contains values that Amazon Route 53 returned for this resource * record set.
*/ inline TestDNSAnswerResult& AddRecordData(const Aws::String& value) { m_recordData.push_back(value); return *this; } /** *A list that contains values that Amazon Route 53 returned for this resource * record set.
*/ inline TestDNSAnswerResult& AddRecordData(Aws::String&& value) { m_recordData.push_back(std::move(value)); return *this; } /** *A list that contains values that Amazon Route 53 returned for this resource * record set.
*/ inline TestDNSAnswerResult& AddRecordData(const char* value) { m_recordData.push_back(value); return *this; } /** *A code that indicates whether the request is valid or not. The most common
* response code is NOERROR
, meaning that the request is valid. If the
* response is not valid, Amazon Route 53 returns a response code that describes
* the error. For a list of possible response codes, see DNS
* RCODES on the IANA website.
A code that indicates whether the request is valid or not. The most common
* response code is NOERROR
, meaning that the request is valid. If the
* response is not valid, Amazon Route 53 returns a response code that describes
* the error. For a list of possible response codes, see DNS
* RCODES on the IANA website.
A code that indicates whether the request is valid or not. The most common
* response code is NOERROR
, meaning that the request is valid. If the
* response is not valid, Amazon Route 53 returns a response code that describes
* the error. For a list of possible response codes, see DNS
* RCODES on the IANA website.
A code that indicates whether the request is valid or not. The most common
* response code is NOERROR
, meaning that the request is valid. If the
* response is not valid, Amazon Route 53 returns a response code that describes
* the error. For a list of possible response codes, see DNS
* RCODES on the IANA website.
A code that indicates whether the request is valid or not. The most common
* response code is NOERROR
, meaning that the request is valid. If the
* response is not valid, Amazon Route 53 returns a response code that describes
* the error. For a list of possible response codes, see DNS
* RCODES on the IANA website.
A code that indicates whether the request is valid or not. The most common
* response code is NOERROR
, meaning that the request is valid. If the
* response is not valid, Amazon Route 53 returns a response code that describes
* the error. For a list of possible response codes, see DNS
* RCODES on the IANA website.
A code that indicates whether the request is valid or not. The most common
* response code is NOERROR
, meaning that the request is valid. If the
* response is not valid, Amazon Route 53 returns a response code that describes
* the error. For a list of possible response codes, see DNS
* RCODES on the IANA website.
The protocol that Amazon Route 53 used to respond to the request, either
* UDP
or TCP
.
The protocol that Amazon Route 53 used to respond to the request, either
* UDP
or TCP
.
The protocol that Amazon Route 53 used to respond to the request, either
* UDP
or TCP
.
The protocol that Amazon Route 53 used to respond to the request, either
* UDP
or TCP
.
The protocol that Amazon Route 53 used to respond to the request, either
* UDP
or TCP
.
The protocol that Amazon Route 53 used to respond to the request, either
* UDP
or TCP
.
The protocol that Amazon Route 53 used to respond to the request, either
* UDP
or TCP
.