AWS SDK for C++  1.9.16
AWS SDK for C++
TransferDomainToAnotherAwsAccountRequest.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 "TransferDomainToAnotherAwsAccount"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetDomainName() const{ return m_domainName; }
46 
51  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
52 
57  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
58 
63  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
64 
69  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
70 
75  inline TransferDomainToAnotherAwsAccountRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
76 
81  inline TransferDomainToAnotherAwsAccountRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
82 
87  inline TransferDomainToAnotherAwsAccountRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
88 
89 
94  inline const Aws::String& GetAccountId() const{ return m_accountId; }
95 
100  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
101 
106  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
107 
112  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
113 
118  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
119 
124  inline TransferDomainToAnotherAwsAccountRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
125 
130  inline TransferDomainToAnotherAwsAccountRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
131 
136  inline TransferDomainToAnotherAwsAccountRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
137 
138  private:
139 
140  Aws::String m_domainName;
141  bool m_domainNameHasBeenSet;
142 
143  Aws::String m_accountId;
144  bool m_accountIdHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace Route53Domains
149 } // namespace Aws
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:106
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:57
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::WithDomainName
TransferDomainToAnotherAwsAccountRequest & WithDomainName(const char *value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:87
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: TransferDomainToAnotherAwsAccountRequest.h:45
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:112
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::WithAccountId
TransferDomainToAnotherAwsAccountRequest & WithAccountId(const Aws::String &value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:124
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::WithAccountId
TransferDomainToAnotherAwsAccountRequest & WithAccountId(const char *value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:136
AWS_ROUTE53DOMAINS_API
#define AWS_ROUTE53DOMAINS_API
Definition: Route53Domains_EXPORTS.h:28
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::TransferDomainToAnotherAwsAccountRequest
TransferDomainToAnotherAwsAccountRequest()
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest
Definition: TransferDomainToAnotherAwsAccountRequest.h:26
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::SetAccountId
void SetAccountId(const char *value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:118
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::WithDomainName
TransferDomainToAnotherAwsAccountRequest & WithDomainName(Aws::String &&value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:81
AWSString.h
Aws::Route53Domains::Route53DomainsRequest
Definition: Route53DomainsRequest.h:17
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: TransferDomainToAnotherAwsAccountRequest.h:100
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::WithAccountId
TransferDomainToAnotherAwsAccountRequest & WithAccountId(Aws::String &&value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:130
Route53DomainsRequest.h
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::SetDomainName
void SetDomainName(const char *value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:69
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::GetAccountId
const Aws::String & GetAccountId() const
Definition: TransferDomainToAnotherAwsAccountRequest.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::WithDomainName
TransferDomainToAnotherAwsAccountRequest & WithDomainName(const Aws::String &value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:75
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Route53Domains_EXPORTS.h
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: TransferDomainToAnotherAwsAccountRequest.h:63
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: TransferDomainToAnotherAwsAccountRequest.h:34
Aws::Route53Domains::Model::TransferDomainToAnotherAwsAccountRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: TransferDomainToAnotherAwsAccountRequest.h:51