AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestDNSAnswerResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/model/RRType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Route53
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ROUTE53_API TestDNSAnswerResult();
41
42
44
47 inline const Aws::String& GetNameserver() const{ return m_nameserver; }
48 inline void SetNameserver(const Aws::String& value) { m_nameserver = value; }
49 inline void SetNameserver(Aws::String&& value) { m_nameserver = std::move(value); }
50 inline void SetNameserver(const char* value) { m_nameserver.assign(value); }
51 inline TestDNSAnswerResult& WithNameserver(const Aws::String& value) { SetNameserver(value); return *this;}
52 inline TestDNSAnswerResult& WithNameserver(Aws::String&& value) { SetNameserver(std::move(value)); return *this;}
53 inline TestDNSAnswerResult& WithNameserver(const char* value) { SetNameserver(value); return *this;}
55
57
60 inline const Aws::String& GetRecordName() const{ return m_recordName; }
61 inline void SetRecordName(const Aws::String& value) { m_recordName = value; }
62 inline void SetRecordName(Aws::String&& value) { m_recordName = std::move(value); }
63 inline void SetRecordName(const char* value) { m_recordName.assign(value); }
64 inline TestDNSAnswerResult& WithRecordName(const Aws::String& value) { SetRecordName(value); return *this;}
65 inline TestDNSAnswerResult& WithRecordName(Aws::String&& value) { SetRecordName(std::move(value)); return *this;}
66 inline TestDNSAnswerResult& WithRecordName(const char* value) { SetRecordName(value); return *this;}
68
70
73 inline const RRType& GetRecordType() const{ return m_recordType; }
74 inline void SetRecordType(const RRType& value) { m_recordType = value; }
75 inline void SetRecordType(RRType&& value) { m_recordType = std::move(value); }
76 inline TestDNSAnswerResult& WithRecordType(const RRType& value) { SetRecordType(value); return *this;}
77 inline TestDNSAnswerResult& WithRecordType(RRType&& value) { SetRecordType(std::move(value)); return *this;}
79
81
85 inline const Aws::Vector<Aws::String>& GetRecordData() const{ return m_recordData; }
86 inline void SetRecordData(const Aws::Vector<Aws::String>& value) { m_recordData = value; }
87 inline void SetRecordData(Aws::Vector<Aws::String>&& value) { m_recordData = std::move(value); }
88 inline TestDNSAnswerResult& WithRecordData(const Aws::Vector<Aws::String>& value) { SetRecordData(value); return *this;}
89 inline TestDNSAnswerResult& WithRecordData(Aws::Vector<Aws::String>&& value) { SetRecordData(std::move(value)); return *this;}
90 inline TestDNSAnswerResult& AddRecordData(const Aws::String& value) { m_recordData.push_back(value); return *this; }
91 inline TestDNSAnswerResult& AddRecordData(Aws::String&& value) { m_recordData.push_back(std::move(value)); return *this; }
92 inline TestDNSAnswerResult& AddRecordData(const char* value) { m_recordData.push_back(value); return *this; }
94
96
104 inline const Aws::String& GetResponseCode() const{ return m_responseCode; }
105 inline void SetResponseCode(const Aws::String& value) { m_responseCode = value; }
106 inline void SetResponseCode(Aws::String&& value) { m_responseCode = std::move(value); }
107 inline void SetResponseCode(const char* value) { m_responseCode.assign(value); }
108 inline TestDNSAnswerResult& WithResponseCode(const Aws::String& value) { SetResponseCode(value); return *this;}
109 inline TestDNSAnswerResult& WithResponseCode(Aws::String&& value) { SetResponseCode(std::move(value)); return *this;}
110 inline TestDNSAnswerResult& WithResponseCode(const char* value) { SetResponseCode(value); return *this;}
112
114
118 inline const Aws::String& GetProtocol() const{ return m_protocol; }
119 inline void SetProtocol(const Aws::String& value) { m_protocol = value; }
120 inline void SetProtocol(Aws::String&& value) { m_protocol = std::move(value); }
121 inline void SetProtocol(const char* value) { m_protocol.assign(value); }
122 inline TestDNSAnswerResult& WithProtocol(const Aws::String& value) { SetProtocol(value); return *this;}
123 inline TestDNSAnswerResult& WithProtocol(Aws::String&& value) { SetProtocol(std::move(value)); return *this;}
124 inline TestDNSAnswerResult& WithProtocol(const char* value) { SetProtocol(value); return *this;}
126
128
129 inline const Aws::String& GetRequestId() const{ return m_requestId; }
130 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
131 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
132 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
133 inline TestDNSAnswerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
134 inline TestDNSAnswerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
135 inline TestDNSAnswerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
137 private:
138
139 Aws::String m_nameserver;
140
141 Aws::String m_recordName;
142
143 RRType m_recordType;
144
145 Aws::Vector<Aws::String> m_recordData;
146
147 Aws::String m_responseCode;
148
149 Aws::String m_protocol;
150
151 Aws::String m_requestId;
152 };
153
154} // namespace Model
155} // namespace Route53
156} // namespace Aws
void SetRecordData(const Aws::Vector< Aws::String > &value)
void SetRecordData(Aws::Vector< Aws::String > &&value)
TestDNSAnswerResult & WithRecordName(const Aws::String &value)
TestDNSAnswerResult & WithRecordType(const RRType &value)
void SetProtocol(const Aws::String &value)
TestDNSAnswerResult & WithRecordType(RRType &&value)
const Aws::Vector< Aws::String > & GetRecordData() const
void SetNameserver(const Aws::String &value)
TestDNSAnswerResult & WithRequestId(const Aws::String &value)
TestDNSAnswerResult & WithResponseCode(Aws::String &&value)
TestDNSAnswerResult & WithRecordName(const char *value)
TestDNSAnswerResult & WithResponseCode(const Aws::String &value)
void SetRequestId(const Aws::String &value)
TestDNSAnswerResult & WithRequestId(Aws::String &&value)
TestDNSAnswerResult & WithRecordData(Aws::Vector< Aws::String > &&value)
TestDNSAnswerResult & AddRecordData(const Aws::String &value)
void SetResponseCode(const Aws::String &value)
TestDNSAnswerResult & WithNameserver(const char *value)
TestDNSAnswerResult & AddRecordData(const char *value)
TestDNSAnswerResult & WithProtocol(Aws::String &&value)
TestDNSAnswerResult & WithRecordData(const Aws::Vector< Aws::String > &value)
TestDNSAnswerResult & WithNameserver(const Aws::String &value)
TestDNSAnswerResult & WithRequestId(const char *value)
TestDNSAnswerResult & WithNameserver(Aws::String &&value)
TestDNSAnswerResult & AddRecordData(Aws::String &&value)
void SetRecordName(const Aws::String &value)
TestDNSAnswerResult & WithRecordName(Aws::String &&value)
AWS_ROUTE53_API TestDNSAnswerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
TestDNSAnswerResult & WithProtocol(const char *value)
TestDNSAnswerResult & WithResponseCode(const char *value)
TestDNSAnswerResult & WithProtocol(const Aws::String &value)
AWS_ROUTE53_API TestDNSAnswerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument