AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CallerReferenceT = Aws::String>
42 void SetCallerReference(CallerReferenceT&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::forward<CallerReferenceT>(value); }
43 template<typename CallerReferenceT = Aws::String>
44 CreateKeySigningKeyRequest& WithCallerReference(CallerReferenceT&& value) { SetCallerReference(std::forward<CallerReferenceT>(value)); return *this;}
46
48
51 inline const Aws::String& GetHostedZoneId() const { return m_hostedZoneId; }
52 inline bool HostedZoneIdHasBeenSet() const { return m_hostedZoneIdHasBeenSet; }
53 template<typename HostedZoneIdT = Aws::String>
54 void SetHostedZoneId(HostedZoneIdT&& value) { m_hostedZoneIdHasBeenSet = true; m_hostedZoneId = std::forward<HostedZoneIdT>(value); }
55 template<typename HostedZoneIdT = Aws::String>
56 CreateKeySigningKeyRequest& WithHostedZoneId(HostedZoneIdT&& value) { SetHostedZoneId(std::forward<HostedZoneIdT>(value)); return *this;}
58
60
79 inline const Aws::String& GetKeyManagementServiceArn() const { return m_keyManagementServiceArn; }
80 inline bool KeyManagementServiceArnHasBeenSet() const { return m_keyManagementServiceArnHasBeenSet; }
81 template<typename KeyManagementServiceArnT = Aws::String>
82 void SetKeyManagementServiceArn(KeyManagementServiceArnT&& value) { m_keyManagementServiceArnHasBeenSet = true; m_keyManagementServiceArn = std::forward<KeyManagementServiceArnT>(value); }
83 template<typename KeyManagementServiceArnT = Aws::String>
84 CreateKeySigningKeyRequest& WithKeyManagementServiceArn(KeyManagementServiceArnT&& value) { SetKeyManagementServiceArn(std::forward<KeyManagementServiceArnT>(value)); return *this;}
86
88
93 inline const Aws::String& GetName() const { return m_name; }
94 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 template<typename NameT = Aws::String>
96 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
97 template<typename NameT = Aws::String>
98 CreateKeySigningKeyRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
100
102
106 inline const Aws::String& GetStatus() const { return m_status; }
107 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 template<typename StatusT = Aws::String>
109 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
110 template<typename StatusT = Aws::String>
111 CreateKeySigningKeyRequest& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
113 private:
114
115 Aws::String m_callerReference;
116 bool m_callerReferenceHasBeenSet = false;
117
118 Aws::String m_hostedZoneId;
119 bool m_hostedZoneIdHasBeenSet = false;
120
121 Aws::String m_keyManagementServiceArn;
122 bool m_keyManagementServiceArnHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_status;
128 bool m_statusHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Route53
133} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateKeySigningKeyRequest & WithKeyManagementServiceArn(KeyManagementServiceArnT &&value)
CreateKeySigningKeyRequest & WithHostedZoneId(HostedZoneIdT &&value)
AWS_ROUTE53_API Aws::String SerializePayload() const override
CreateKeySigningKeyRequest & WithCallerReference(CallerReferenceT &&value)
void SetKeyManagementServiceArn(KeyManagementServiceArnT &&value)
CreateKeySigningKeyRequest & WithStatus(StatusT &&value)
CreateKeySigningKeyRequest & WithName(NameT &&value)
AWS_ROUTE53_API CreateKeySigningKeyRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String