AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateKeySigningKeyRequest.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Route53
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ROUTE53_API CreateKeySigningKeyRequest();
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 "CreateKeySigningKey"; }
31
32 AWS_ROUTE53_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetCallerReference() const{ return m_callerReference; }
40 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
41 inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
42 inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
43 inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
45 inline CreateKeySigningKeyRequest& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
46 inline CreateKeySigningKeyRequest& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
48
50
53 inline const Aws::String& GetHostedZoneId() const{ return m_hostedZoneId; }
54 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
55 inline void SetHostedZoneId(const Aws::String& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = value; }
56 inline void SetHostedZoneId(Aws::String&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::move(value); }
57 inline void SetHostedZoneId(const char* value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId.assign(value); }
58 inline CreateKeySigningKeyRequest& WithHostedZoneId(const Aws::String& value) { SetHostedZoneId(value); return *this;}
59 inline CreateKeySigningKeyRequest& WithHostedZoneId(Aws::String&& value) { SetHostedZoneId(std::move(value)); return *this;}
60 inline CreateKeySigningKeyRequest& WithHostedZoneId(const char* value) { SetHostedZoneId(value); return *this;}
62
64
83 inline const Aws::String& GetKeyManagementServiceArn() const{ return m_keyManagementServiceArn; }
84 inline bool KeyManagementServiceArnHasBeenSet() const { return m_keyManagementServiceArnHasBeenSet; }
85 inline void SetKeyManagementServiceArn(const Aws::String& value) { m_keyManagementServiceArnHasBeenSet = true; m_keyManagementServiceArn = value; }
86 inline void SetKeyManagementServiceArn(Aws::String&& value) { m_keyManagementServiceArnHasBeenSet = true; m_keyManagementServiceArn = std::move(value); }
87 inline void SetKeyManagementServiceArn(const char* value) { m_keyManagementServiceArnHasBeenSet = true; m_keyManagementServiceArn.assign(value); }
90 inline CreateKeySigningKeyRequest& WithKeyManagementServiceArn(const char* value) { SetKeyManagementServiceArn(value); return *this;}
92
94
99 inline const Aws::String& GetName() const{ return m_name; }
100 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
101 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
102 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
103 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
104 inline CreateKeySigningKeyRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
105 inline CreateKeySigningKeyRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
106 inline CreateKeySigningKeyRequest& WithName(const char* value) { SetName(value); return *this;}
108
110
114 inline const Aws::String& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
119 inline CreateKeySigningKeyRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
120 inline CreateKeySigningKeyRequest& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
121 inline CreateKeySigningKeyRequest& WithStatus(const char* value) { SetStatus(value); return *this;}
123 private:
124
125 Aws::String m_callerReference;
126 bool m_callerReferenceHasBeenSet = false;
127
128 Aws::String m_hostedZoneId;
129 bool m_hostedZoneIdHasBeenSet = false;
130
131 Aws::String m_keyManagementServiceArn;
132 bool m_keyManagementServiceArnHasBeenSet = false;
133
134 Aws::String m_name;
135 bool m_nameHasBeenSet = false;
136
137 Aws::String m_status;
138 bool m_statusHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Route53
143} // namespace Aws
CreateKeySigningKeyRequest & WithStatus(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateKeySigningKeyRequest & WithHostedZoneId(Aws::String &&value)
CreateKeySigningKeyRequest & WithHostedZoneId(const char *value)
AWS_ROUTE53_API Aws::String SerializePayload() const override
CreateKeySigningKeyRequest & WithKeyManagementServiceArn(Aws::String &&value)
CreateKeySigningKeyRequest & WithStatus(const Aws::String &value)
CreateKeySigningKeyRequest & WithStatus(const char *value)
CreateKeySigningKeyRequest & WithHostedZoneId(const Aws::String &value)
CreateKeySigningKeyRequest & WithName(const Aws::String &value)
CreateKeySigningKeyRequest & WithCallerReference(const Aws::String &value)
CreateKeySigningKeyRequest & WithCallerReference(Aws::String &&value)
CreateKeySigningKeyRequest & WithKeyManagementServiceArn(const Aws::String &value)
CreateKeySigningKeyRequest & WithName(Aws::String &&value)
CreateKeySigningKeyRequest & WithName(const char *value)
CreateKeySigningKeyRequest & WithKeyManagementServiceArn(const char *value)
CreateKeySigningKeyRequest & WithCallerReference(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String