AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TestDNSAnswerRequest.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53/model/RRType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Route53
20{
21namespace Model
22{
23
33 {
34 public:
35 AWS_ROUTE53_API TestDNSAnswerRequest() = default;
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "TestDNSAnswer"; }
42
43 AWS_ROUTE53_API Aws::String SerializePayload() const override;
44
45 AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
46
47
49
53 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
54 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
55 template<typename HostedZoneIdT = Aws::String>
56 void SetHostedZoneId(HostedZoneIdT&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::forward<HostedZoneIdT>(value); }
57 template<typename HostedZoneIdT = Aws::String>
58 TestDNSAnswerRequest& WithHostedZoneId(HostedZoneIdT&& value) { SetHostedZoneId(std::forward<HostedZoneIdT>(value)); return *this;}
60
62
66 inline const Aws::String& GetRecordName() const { return m_recordName; }
67 inline bool RecordNameHasBeenSet() const { return m_recordNameHasBeenSet; }
68 template<typename RecordNameT = Aws::String>
69 void SetRecordName(RecordNameT&& value) { m_recordNameHasBeenSet = true; m_recordName = std::forward<RecordNameT>(value); }
70 template<typename RecordNameT = Aws::String>
71 TestDNSAnswerRequest& WithRecordName(RecordNameT&& value) { SetRecordName(std::forward<RecordNameT>(value)); return *this;}
73
75
78 inline RRType GetRecordType() const { return m_recordType; }
79 inline bool RecordTypeHasBeenSet() const { return m_recordTypeHasBeenSet; }
80 inline void SetRecordType(RRType value) { m_recordTypeHasBeenSet = true; m_recordType = value; }
81 inline TestDNSAnswerRequest& WithRecordType(RRType value) { SetRecordType(value); return *this;}
83
85
91 inline const Aws::String& GetResolverIP() const { return m_resolverIP; }
92 inline bool ResolverIPHasBeenSet() const { return m_resolverIPHasBeenSet; }
93 template<typename ResolverIPT = Aws::String>
94 void SetResolverIP(ResolverIPT&& value) { m_resolverIPHasBeenSet = true; m_resolverIP = std::forward<ResolverIPT>(value); }
95 template<typename ResolverIPT = Aws::String>
96 TestDNSAnswerRequest& WithResolverIP(ResolverIPT&& value) { SetResolverIP(std::forward<ResolverIPT>(value)); return *this;}
98
100
105 inline const Aws::String& GetEDNS0ClientSubnetIP() const { return m_eDNS0ClientSubnetIP; }
106 inline bool EDNS0ClientSubnetIPHasBeenSet() const { return m_eDNS0ClientSubnetIPHasBeenSet; }
107 template<typename EDNS0ClientSubnetIPT = Aws::String>
108 void SetEDNS0ClientSubnetIP(EDNS0ClientSubnetIPT&& value) { m_eDNS0ClientSubnetIPHasBeenSet = true; m_eDNS0ClientSubnetIP = std::forward<EDNS0ClientSubnetIPT>(value); }
109 template<typename EDNS0ClientSubnetIPT = Aws::String>
110 TestDNSAnswerRequest& WithEDNS0ClientSubnetIP(EDNS0ClientSubnetIPT&& value) { SetEDNS0ClientSubnetIP(std::forward<EDNS0ClientSubnetIPT>(value)); return *this;}
112
114
126 inline const Aws::String& GetEDNS0ClientSubnetMask() const { return m_eDNS0ClientSubnetMask; }
127 inline bool EDNS0ClientSubnetMaskHasBeenSet() const { return m_eDNS0ClientSubnetMaskHasBeenSet; }
128 template<typename EDNS0ClientSubnetMaskT = Aws::String>
129 void SetEDNS0ClientSubnetMask(EDNS0ClientSubnetMaskT&& value) { m_eDNS0ClientSubnetMaskHasBeenSet = true; m_eDNS0ClientSubnetMask = std::forward<EDNS0ClientSubnetMaskT>(value); }
130 template<typename EDNS0ClientSubnetMaskT = Aws::String>
131 TestDNSAnswerRequest& WithEDNS0ClientSubnetMask(EDNS0ClientSubnetMaskT&& value) { SetEDNS0ClientSubnetMask(std::forward<EDNS0ClientSubnetMaskT>(value)); return *this;}
133 private:
134
135 Aws::String m_hostedZoneId;
136 bool m_hostedZoneIdHasBeenSet = false;
137
138 Aws::String m_recordName;
139 bool m_recordNameHasBeenSet = false;
140
141 RRType m_recordType{RRType::NOT_SET};
142 bool m_recordTypeHasBeenSet = false;
143
144 Aws::String m_resolverIP;
145 bool m_resolverIPHasBeenSet = false;
146
147 Aws::String m_eDNS0ClientSubnetIP;
148 bool m_eDNS0ClientSubnetIPHasBeenSet = false;
149
150 Aws::String m_eDNS0ClientSubnetMask;
151 bool m_eDNS0ClientSubnetMaskHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace Route53
156} // namespace Aws
void SetEDNS0ClientSubnetIP(EDNS0ClientSubnetIPT &&value)
TestDNSAnswerRequest & WithResolverIP(ResolverIPT &&value)
virtual const char * GetServiceRequestName() const override
TestDNSAnswerRequest & WithEDNS0ClientSubnetIP(EDNS0ClientSubnetIPT &&value)
void SetEDNS0ClientSubnetMask(EDNS0ClientSubnetMaskT &&value)
const Aws::String & GetEDNS0ClientSubnetIP() const
TestDNSAnswerRequest & WithRecordType(RRType value)
TestDNSAnswerRequest & WithRecordName(RecordNameT &&value)
TestDNSAnswerRequest & WithHostedZoneId(HostedZoneIdT &&value)
const Aws::String & GetEDNS0ClientSubnetMask() const
TestDNSAnswerRequest & WithEDNS0ClientSubnetMask(EDNS0ClientSubnetMaskT &&value)
AWS_ROUTE53_API TestDNSAnswerRequest()=default
AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_ROUTE53_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String