AWS SDK for C++  1.9.104
AWS SDK for C++
DisableDomainAutoRenewRequest.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 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DisableDomainAutoRenew"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetDomainName() const{ return m_domainName; }
41 
45  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
46 
50  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
51 
55  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
56 
60  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
61 
65  inline DisableDomainAutoRenewRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
66 
70  inline DisableDomainAutoRenewRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
71 
75  inline DisableDomainAutoRenewRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
76 
77  private:
78 
79  Aws::String m_domainName;
80  bool m_domainNameHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace Route53Domains
85 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DisableDomainAutoRenewRequest.h:50
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DisableDomainAutoRenewRequest.h:45
AWS_ROUTE53DOMAINS_API
#define AWS_ROUTE53DOMAINS_API
Definition: Route53Domains_EXPORTS.h:28
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DisableDomainAutoRenewRequest.h:30
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::WithDomainName
DisableDomainAutoRenewRequest & WithDomainName(const Aws::String &value)
Definition: DisableDomainAutoRenewRequest.h:65
AWSString.h
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::DisableDomainAutoRenewRequest
DisableDomainAutoRenewRequest()
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Route53Domains::Route53DomainsRequest
Definition: Route53DomainsRequest.h:17
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest
Definition: DisableDomainAutoRenewRequest.h:22
Route53DomainsRequest.h
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::GetDomainName
const Aws::String & GetDomainName() const
Definition: DisableDomainAutoRenewRequest.h:40
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DisableDomainAutoRenewRequest.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Route53Domains_EXPORTS.h
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::WithDomainName
DisableDomainAutoRenewRequest & WithDomainName(const char *value)
Definition: DisableDomainAutoRenewRequest.h:75
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::SetDomainName
void SetDomainName(const char *value)
Definition: DisableDomainAutoRenewRequest.h:60
Aws::Route53Domains::Model::DisableDomainAutoRenewRequest::WithDomainName
DisableDomainAutoRenewRequest & WithDomainName(Aws::String &&value)
Definition: DisableDomainAutoRenewRequest.h:70