AWS SDK for C++  1.8.154
AWS SDK for C++
CheckDomainTransferabilityRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Route53Domains
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CheckDomainTransferability"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
54  inline const Aws::String& GetDomainName() const{ return m_domainName; }
55 
69  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
70 
84  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
85 
99  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
100 
114  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
115 
129  inline CheckDomainTransferabilityRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
130 
144  inline CheckDomainTransferabilityRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
145 
159  inline CheckDomainTransferabilityRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
160 
161 
167  inline const Aws::String& GetAuthCode() const{ return m_authCode; }
168 
174  inline bool AuthCodeHasBeenSet() const { return m_authCodeHasBeenSet; }
175 
181  inline void SetAuthCode(const Aws::String& value) { m_authCodeHasBeenSet = true; m_authCode = value; }
182 
188  inline void SetAuthCode(Aws::String&& value) { m_authCodeHasBeenSet = true; m_authCode = std::move(value); }
189 
195  inline void SetAuthCode(const char* value) { m_authCodeHasBeenSet = true; m_authCode.assign(value); }
196 
202  inline CheckDomainTransferabilityRequest& WithAuthCode(const Aws::String& value) { SetAuthCode(value); return *this;}
203 
209  inline CheckDomainTransferabilityRequest& WithAuthCode(Aws::String&& value) { SetAuthCode(std::move(value)); return *this;}
210 
216  inline CheckDomainTransferabilityRequest& WithAuthCode(const char* value) { SetAuthCode(value); return *this;}
217 
218  private:
219 
220  Aws::String m_domainName;
221  bool m_domainNameHasBeenSet;
222 
223  Aws::String m_authCode;
224  bool m_authCodeHasBeenSet;
225  };
226 
227 } // namespace Model
228 } // namespace Route53Domains
229 } // namespace Aws
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::WithAuthCode
CheckDomainTransferabilityRequest & WithAuthCode(Aws::String &&value)
Definition: CheckDomainTransferabilityRequest.h:209
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest
Definition: CheckDomainTransferabilityRequest.h:26
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::WithDomainName
CheckDomainTransferabilityRequest & WithDomainName(const char *value)
Definition: CheckDomainTransferabilityRequest.h:159
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::CheckDomainTransferabilityRequest
CheckDomainTransferabilityRequest()
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::AuthCodeHasBeenSet
bool AuthCodeHasBeenSet() const
Definition: CheckDomainTransferabilityRequest.h:174
AWS_ROUTE53DOMAINS_API
#define AWS_ROUTE53DOMAINS_API
Definition: Route53Domains_EXPORTS.h:28
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: CheckDomainTransferabilityRequest.h:54
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::WithAuthCode
CheckDomainTransferabilityRequest & WithAuthCode(const Aws::String &value)
Definition: CheckDomainTransferabilityRequest.h:202
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::WithDomainName
CheckDomainTransferabilityRequest & WithDomainName(const Aws::String &value)
Definition: CheckDomainTransferabilityRequest.h:129
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::WithAuthCode
CheckDomainTransferabilityRequest & WithAuthCode(const char *value)
Definition: CheckDomainTransferabilityRequest.h:216
AWSString.h
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::GetAuthCode
const Aws::String & GetAuthCode() const
Definition: CheckDomainTransferabilityRequest.h:167
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::SetAuthCode
void SetAuthCode(Aws::String &&value)
Definition: CheckDomainTransferabilityRequest.h:188
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Route53Domains::Route53DomainsRequest
Definition: Route53DomainsRequest.h:17
Route53DomainsRequest.h
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: CheckDomainTransferabilityRequest.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: CheckDomainTransferabilityRequest.h:84
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CheckDomainTransferabilityRequest.h:34
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::SetAuthCode
void SetAuthCode(const Aws::String &value)
Definition: CheckDomainTransferabilityRequest.h:181
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::SetDomainName
void SetDomainName(const char *value)
Definition: CheckDomainTransferabilityRequest.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Route53Domains_EXPORTS.h
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::SetAuthCode
void SetAuthCode(const char *value)
Definition: CheckDomainTransferabilityRequest.h:195
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::WithDomainName
CheckDomainTransferabilityRequest & WithDomainName(Aws::String &&value)
Definition: CheckDomainTransferabilityRequest.h:144
Aws::Route53Domains::Model::CheckDomainTransferabilityRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: CheckDomainTransferabilityRequest.h:69