AWS SDK for C++  1.9.16
AWS SDK for C++
EnableDomainTransferLockRequest.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 "EnableDomainTransferLock"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 
49  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 
54  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
55 
59  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
60 
64  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
65 
69  inline EnableDomainTransferLockRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
70 
74  inline EnableDomainTransferLockRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
75 
79  inline EnableDomainTransferLockRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
80 
81  private:
82 
83  Aws::String m_domainName;
84  bool m_domainNameHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace Route53Domains
89 } // namespace Aws
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: EnableDomainTransferLockRequest.h:54
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::WithDomainName
EnableDomainTransferLockRequest & WithDomainName(const char *value)
Definition: EnableDomainTransferLockRequest.h:79
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::EnableDomainTransferLockRequest
EnableDomainTransferLockRequest()
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::SetDomainName
void SetDomainName(const char *value)
Definition: EnableDomainTransferLockRequest.h:64
AWS_ROUTE53DOMAINS_API
#define AWS_ROUTE53DOMAINS_API
Definition: Route53Domains_EXPORTS.h:28
Aws::Route53Domains::Model::EnableDomainTransferLockRequest
Definition: EnableDomainTransferLockRequest.h:26
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::Route53Domains::Route53DomainsRequest
Definition: Route53DomainsRequest.h:17
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: EnableDomainTransferLockRequest.h:59
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::WithDomainName
EnableDomainTransferLockRequest & WithDomainName(const Aws::String &value)
Definition: EnableDomainTransferLockRequest.h:69
Route53DomainsRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: EnableDomainTransferLockRequest.h:34
Route53Domains_EXPORTS.h
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: EnableDomainTransferLockRequest.h:49
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::WithDomainName
EnableDomainTransferLockRequest & WithDomainName(Aws::String &&value)
Definition: EnableDomainTransferLockRequest.h:74
Aws::Route53Domains::Model::EnableDomainTransferLockRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: EnableDomainTransferLockRequest.h:44