AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
56 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
57 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
58 inline TestDNSAnswerRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
59 inline TestDNSAnswerRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
60 inline TestDNSAnswerRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
62
64
68 inline const Aws::String& GetRecordName() const{ return m_recordName; }
69 inline bool RecordNameHasBeenSet() const { return m_recordNameHasBeenSet; }
70 inline void SetRecordName(const Aws::String& value) { m_recordNameHasBeenSet = true; m_recordName = value; }
71 inline void SetRecordName(Aws::String&& value) { m_recordNameHasBeenSet = true; m_recordName = std::move(value); }
72 inline void SetRecordName(const char* value) { m_recordNameHasBeenSet = true; m_recordName.assign(value); }
73 inline TestDNSAnswerRequest& WithRecordName(const Aws::String& value) { SetRecordName(value); return *this;}
74 inline TestDNSAnswerRequest& WithRecordName(Aws::String&& value) { SetRecordName(std::move(value)); return *this;}
75 inline TestDNSAnswerRequest& WithRecordName(const char* value) { SetRecordName(value); return *this;}
77
79
82 inline const RRType& GetRecordType() const{ return m_recordType; }
83 inline bool RecordTypeHasBeenSet() const { return m_recordTypeHasBeenSet; }
84 inline void SetRecordType(const RRType& value) { m_recordTypeHasBeenSet = true; m_recordType = value; }
85 inline void SetRecordType(RRType&& value) { m_recordTypeHasBeenSet = true; m_recordType = std::move(value); }
86 inline TestDNSAnswerRequest& WithRecordType(const RRType& value) { SetRecordType(value); return *this;}
87 inline TestDNSAnswerRequest& WithRecordType(RRType&& value) { SetRecordType(std::move(value)); return *this;}
89
91
97 inline const Aws::String& GetResolverIP() const{ return m_resolverIP; }
98 inline bool ResolverIPHasBeenSet() const { return m_resolverIPHasBeenSet; }
99 inline void SetResolverIP(const Aws::String& value) { m_resolverIPHasBeenSet = true; m_resolverIP = value; }
100 inline void SetResolverIP(Aws::String&& value) { m_resolverIPHasBeenSet = true; m_resolverIP = std::move(value); }
101 inline void SetResolverIP(const char* value) { m_resolverIPHasBeenSet = true; m_resolverIP.assign(value); }
102 inline TestDNSAnswerRequest& WithResolverIP(const Aws::String& value) { SetResolverIP(value); return *this;}
103 inline TestDNSAnswerRequest& WithResolverIP(Aws::String&& value) { SetResolverIP(std::move(value)); return *this;}
104 inline TestDNSAnswerRequest& WithResolverIP(const char* value) { SetResolverIP(value); return *this;}
106
108
113 inline const Aws::String& GetEDNS0ClientSubnetIP() const{ return m_eDNS0ClientSubnetIP; }
114 inline bool EDNS0ClientSubnetIPHasBeenSet() const { return m_eDNS0ClientSubnetIPHasBeenSet; }
115 inline void SetEDNS0ClientSubnetIP(const Aws::String& value) { m_eDNS0ClientSubnetIPHasBeenSet = true; m_eDNS0ClientSubnetIP = value; }
116 inline void SetEDNS0ClientSubnetIP(Aws::String&& value) { m_eDNS0ClientSubnetIPHasBeenSet = true; m_eDNS0ClientSubnetIP = std::move(value); }
117 inline void SetEDNS0ClientSubnetIP(const char* value) { m_eDNS0ClientSubnetIPHasBeenSet = true; m_eDNS0ClientSubnetIP.assign(value); }
119 inline TestDNSAnswerRequest& WithEDNS0ClientSubnetIP(Aws::String&& value) { SetEDNS0ClientSubnetIP(std::move(value)); return *this;}
120 inline TestDNSAnswerRequest& WithEDNS0ClientSubnetIP(const char* value) { SetEDNS0ClientSubnetIP(value); return *this;}
122
124
136 inline const Aws::String& GetEDNS0ClientSubnetMask() const{ return m_eDNS0ClientSubnetMask; }
137 inline bool EDNS0ClientSubnetMaskHasBeenSet() const { return m_eDNS0ClientSubnetMaskHasBeenSet; }
138 inline void SetEDNS0ClientSubnetMask(const Aws::String& value) { m_eDNS0ClientSubnetMaskHasBeenSet = true; m_eDNS0ClientSubnetMask = value; }
139 inline void SetEDNS0ClientSubnetMask(Aws::String&& value) { m_eDNS0ClientSubnetMaskHasBeenSet = true; m_eDNS0ClientSubnetMask = std::move(value); }
140 inline void SetEDNS0ClientSubnetMask(const char* value) { m_eDNS0ClientSubnetMaskHasBeenSet = true; m_eDNS0ClientSubnetMask.assign(value); }
142 inline TestDNSAnswerRequest& WithEDNS0ClientSubnetMask(Aws::String&& value) { SetEDNS0ClientSubnetMask(std::move(value)); return *this;}
143 inline TestDNSAnswerRequest& WithEDNS0ClientSubnetMask(const char* value) { SetEDNS0ClientSubnetMask(value); return *this;}
145 private:
146
147 Aws::String m_hostedZoneId;
148 bool m_hostedZoneIdHasBeenSet = false;
149
150 Aws::String m_recordName;
151 bool m_recordNameHasBeenSet = false;
152
153 RRType m_recordType;
154 bool m_recordTypeHasBeenSet = false;
155
156 Aws::String m_resolverIP;
157 bool m_resolverIPHasBeenSet = false;
158
159 Aws::String m_eDNS0ClientSubnetIP;
160 bool m_eDNS0ClientSubnetIPHasBeenSet = false;
161
162 Aws::String m_eDNS0ClientSubnetMask;
163 bool m_eDNS0ClientSubnetMaskHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace Route53
168} // namespace Aws
virtual const char * GetServiceRequestName() const override
TestDNSAnswerRequest & WithEDNS0ClientSubnetIP(const Aws::String &value)
TestDNSAnswerRequest & WithResolverIP(const char *value)
void SetHostedZoneId(const Aws::String &value)
const Aws::String & GetEDNS0ClientSubnetIP() const
TestDNSAnswerRequest & WithEDNS0ClientSubnetMask(const char *value)
TestDNSAnswerRequest & WithEDNS0ClientSubnetMask(Aws::String &&value)
void SetEDNS0ClientSubnetIP(const Aws::String &value)
TestDNSAnswerRequest & WithRecordName(const char *value)
TestDNSAnswerRequest & WithEDNS0ClientSubnetIP(Aws::String &&value)
void SetEDNS0ClientSubnetMask(const Aws::String &value)
void SetResolverIP(const Aws::String &value)
TestDNSAnswerRequest & WithResolverIP(const Aws::String &value)
TestDNSAnswerRequest & WithResolverIP(Aws::String &&value)
TestDNSAnswerRequest & WithHostedZoneId(Aws::String &&value)
void SetRecordName(const Aws::String &value)
const Aws::String & GetEDNS0ClientSubnetMask() const
TestDNSAnswerRequest & WithHostedZoneId(const Aws::String &value)
TestDNSAnswerRequest & WithRecordType(const RRType &value)
TestDNSAnswerRequest & WithEDNS0ClientSubnetIP(const char *value)
TestDNSAnswerRequest & WithRecordType(RRType &&value)
TestDNSAnswerRequest & WithRecordName(Aws::String &&value)
AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
TestDNSAnswerRequest & WithHostedZoneId(const char *value)
TestDNSAnswerRequest & WithEDNS0ClientSubnetMask(const Aws::String &value)
AWS_ROUTE53_API Aws::String SerializePayload() const override
TestDNSAnswerRequest & WithRecordName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String