AWS SDK for C++  1.9.40
AWS SDK for C++
DeactivateKeySigningKeyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Route53
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 "DeactivateKeySigningKey"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
39 
43  inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
44 
48  inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
49 
53  inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
54 
58  inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
59 
63  inline DeactivateKeySigningKeyRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
64 
68  inline DeactivateKeySigningKeyRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
69 
73  inline DeactivateKeySigningKeyRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
74 
75 
79  inline const Aws::String& GetName() const{ return m_name; }
80 
84  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 
89  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 
94  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
95 
99  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
100 
104  inline DeactivateKeySigningKeyRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
105 
109  inline DeactivateKeySigningKeyRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 
114  inline DeactivateKeySigningKeyRequest& WithName(const char* value) { SetName(value); return *this;}
115 
116  private:
117 
118  Aws::String m_hostedZoneId;
119  bool m_hostedZoneIdHasBeenSet;
120 
121  Aws::String m_name;
122  bool m_nameHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace Route53
127 } // namespace Aws
Aws::Route53::Model::DeactivateKeySigningKeyRequest::WithName
DeactivateKeySigningKeyRequest & WithName(const char *value)
Definition: DeactivateKeySigningKeyRequest.h:114
Aws::Route53::Route53Request
Definition: Route53Request.h:17
Aws::Route53::Model::DeactivateKeySigningKeyRequest::SetName
void SetName(const Aws::String &value)
Definition: DeactivateKeySigningKeyRequest.h:89
Aws::Route53::Model::DeactivateKeySigningKeyRequest::SetName
void SetName(Aws::String &&value)
Definition: DeactivateKeySigningKeyRequest.h:94
Route53Request.h
Aws::Route53::Model::DeactivateKeySigningKeyRequest::WithHostedZoneId
DeactivateKeySigningKeyRequest & WithHostedZoneId(const char *value)
Definition: DeactivateKeySigningKeyRequest.h:73
Aws::Route53::Model::DeactivateKeySigningKeyRequest::HostedZoneIdHasBeenSet
bool HostedZoneIdHasBeenSet() const
Definition: DeactivateKeySigningKeyRequest.h:43
Aws::Route53::Model::DeactivateKeySigningKeyRequest::GetName
const Aws::String & GetName() const
Definition: DeactivateKeySigningKeyRequest.h:79
Aws::Route53::Model::DeactivateKeySigningKeyRequest::SetHostedZoneId
void SetHostedZoneId(Aws::String &&value)
Definition: DeactivateKeySigningKeyRequest.h:53
Aws::Route53::Model::DeactivateKeySigningKeyRequest::SetHostedZoneId
void SetHostedZoneId(const Aws::String &value)
Definition: DeactivateKeySigningKeyRequest.h:48
Aws::Route53::Model::DeactivateKeySigningKeyRequest::DeactivateKeySigningKeyRequest
DeactivateKeySigningKeyRequest()
Aws::Route53::Model::DeactivateKeySigningKeyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53::Model::DeactivateKeySigningKeyRequest::SetName
void SetName(const char *value)
Definition: DeactivateKeySigningKeyRequest.h:99
AWSString.h
Aws::Route53::Model::DeactivateKeySigningKeyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeactivateKeySigningKeyRequest.h:30
Aws::Route53::Model::DeactivateKeySigningKeyRequest::SetHostedZoneId
void SetHostedZoneId(const char *value)
Definition: DeactivateKeySigningKeyRequest.h:58
Aws::Route53::Model::DeactivateKeySigningKeyRequest::WithHostedZoneId
DeactivateKeySigningKeyRequest & WithHostedZoneId(const Aws::String &value)
Definition: DeactivateKeySigningKeyRequest.h:63
Aws::Route53::Model::DeactivateKeySigningKeyRequest::GetHostedZoneId
const Aws::String & GetHostedZoneId() const
Definition: DeactivateKeySigningKeyRequest.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::Route53::Model::DeactivateKeySigningKeyRequest::WithName
DeactivateKeySigningKeyRequest & WithName(const Aws::String &value)
Definition: DeactivateKeySigningKeyRequest.h:104
Aws::Route53::Model::DeactivateKeySigningKeyRequest
Definition: DeactivateKeySigningKeyRequest.h:22
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53::Model::DeactivateKeySigningKeyRequest::WithHostedZoneId
DeactivateKeySigningKeyRequest & WithHostedZoneId(Aws::String &&value)
Definition: DeactivateKeySigningKeyRequest.h:68
Aws::Route53::Model::DeactivateKeySigningKeyRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DeactivateKeySigningKeyRequest.h:84
Route53_EXPORTS.h
Aws::Route53::Model::DeactivateKeySigningKeyRequest::WithName
DeactivateKeySigningKeyRequest & WithName(Aws::String &&value)
Definition: DeactivateKeySigningKeyRequest.h:109
AWS_ROUTE53_API
#define AWS_ROUTE53_API
Definition: Route53_EXPORTS.h:28