AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCustomKeyStoreRequest.h
1
6#pragma once
7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/kms/KMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/model/CustomKeyStoreType.h>
11#include <aws/kms/model/XksProxyAuthenticationCredentialType.h>
12#include <aws/kms/model/XksProxyConnectivityType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace KMS
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateCustomKeyStore"; }
34
35 AWS_KMS_API Aws::String SerializePayload() const override;
36
38
39
41
48 inline const Aws::String& GetCustomKeyStoreName() const{ return m_customKeyStoreName; }
49 inline bool CustomKeyStoreNameHasBeenSet() const { return m_customKeyStoreNameHasBeenSet; }
50 inline void SetCustomKeyStoreName(const Aws::String& value) { m_customKeyStoreNameHasBeenSet = true; m_customKeyStoreName = value; }
51 inline void SetCustomKeyStoreName(Aws::String&& value) { m_customKeyStoreNameHasBeenSet = true; m_customKeyStoreName = std::move(value); }
52 inline void SetCustomKeyStoreName(const char* value) { m_customKeyStoreNameHasBeenSet = true; m_customKeyStoreName.assign(value); }
54 inline CreateCustomKeyStoreRequest& WithCustomKeyStoreName(Aws::String&& value) { SetCustomKeyStoreName(std::move(value)); return *this;}
55 inline CreateCustomKeyStoreRequest& WithCustomKeyStoreName(const char* value) { SetCustomKeyStoreName(value); return *this;}
57
59
68 inline const Aws::String& GetCloudHsmClusterId() const{ return m_cloudHsmClusterId; }
69 inline bool CloudHsmClusterIdHasBeenSet() const { return m_cloudHsmClusterIdHasBeenSet; }
70 inline void SetCloudHsmClusterId(const Aws::String& value) { m_cloudHsmClusterIdHasBeenSet = true; m_cloudHsmClusterId = value; }
71 inline void SetCloudHsmClusterId(Aws::String&& value) { m_cloudHsmClusterIdHasBeenSet = true; m_cloudHsmClusterId = std::move(value); }
72 inline void SetCloudHsmClusterId(const char* value) { m_cloudHsmClusterIdHasBeenSet = true; m_cloudHsmClusterId.assign(value); }
74 inline CreateCustomKeyStoreRequest& WithCloudHsmClusterId(Aws::String&& value) { SetCloudHsmClusterId(std::move(value)); return *this;}
75 inline CreateCustomKeyStoreRequest& WithCloudHsmClusterId(const char* value) { SetCloudHsmClusterId(value); return *this;}
77
79
88 inline const Aws::String& GetTrustAnchorCertificate() const{ return m_trustAnchorCertificate; }
89 inline bool TrustAnchorCertificateHasBeenSet() const { return m_trustAnchorCertificateHasBeenSet; }
90 inline void SetTrustAnchorCertificate(const Aws::String& value) { m_trustAnchorCertificateHasBeenSet = true; m_trustAnchorCertificate = value; }
91 inline void SetTrustAnchorCertificate(Aws::String&& value) { m_trustAnchorCertificateHasBeenSet = true; m_trustAnchorCertificate = std::move(value); }
92 inline void SetTrustAnchorCertificate(const char* value) { m_trustAnchorCertificateHasBeenSet = true; m_trustAnchorCertificate.assign(value); }
95 inline CreateCustomKeyStoreRequest& WithTrustAnchorCertificate(const char* value) { SetTrustAnchorCertificate(value); return *this;}
97
99
111 inline const Aws::String& GetKeyStorePassword() const{ return m_keyStorePassword; }
112 inline bool KeyStorePasswordHasBeenSet() const { return m_keyStorePasswordHasBeenSet; }
113 inline void SetKeyStorePassword(const Aws::String& value) { m_keyStorePasswordHasBeenSet = true; m_keyStorePassword = value; }
114 inline void SetKeyStorePassword(Aws::String&& value) { m_keyStorePasswordHasBeenSet = true; m_keyStorePassword = std::move(value); }
115 inline void SetKeyStorePassword(const char* value) { m_keyStorePasswordHasBeenSet = true; m_keyStorePassword.assign(value); }
117 inline CreateCustomKeyStoreRequest& WithKeyStorePassword(Aws::String&& value) { SetKeyStorePassword(std::move(value)); return *this;}
118 inline CreateCustomKeyStoreRequest& WithKeyStorePassword(const char* value) { SetKeyStorePassword(value); return *this;}
120
122
130 inline const CustomKeyStoreType& GetCustomKeyStoreType() const{ return m_customKeyStoreType; }
131 inline bool CustomKeyStoreTypeHasBeenSet() const { return m_customKeyStoreTypeHasBeenSet; }
132 inline void SetCustomKeyStoreType(const CustomKeyStoreType& value) { m_customKeyStoreTypeHasBeenSet = true; m_customKeyStoreType = value; }
133 inline void SetCustomKeyStoreType(CustomKeyStoreType&& value) { m_customKeyStoreTypeHasBeenSet = true; m_customKeyStoreType = std::move(value); }
137
139
168 inline const Aws::String& GetXksProxyUriEndpoint() const{ return m_xksProxyUriEndpoint; }
169 inline bool XksProxyUriEndpointHasBeenSet() const { return m_xksProxyUriEndpointHasBeenSet; }
170 inline void SetXksProxyUriEndpoint(const Aws::String& value) { m_xksProxyUriEndpointHasBeenSet = true; m_xksProxyUriEndpoint = value; }
171 inline void SetXksProxyUriEndpoint(Aws::String&& value) { m_xksProxyUriEndpointHasBeenSet = true; m_xksProxyUriEndpoint = std::move(value); }
172 inline void SetXksProxyUriEndpoint(const char* value) { m_xksProxyUriEndpointHasBeenSet = true; m_xksProxyUriEndpoint.assign(value); }
175 inline CreateCustomKeyStoreRequest& WithXksProxyUriEndpoint(const char* value) { SetXksProxyUriEndpoint(value); return *this;}
177
179
192 inline const Aws::String& GetXksProxyUriPath() const{ return m_xksProxyUriPath; }
193 inline bool XksProxyUriPathHasBeenSet() const { return m_xksProxyUriPathHasBeenSet; }
194 inline void SetXksProxyUriPath(const Aws::String& value) { m_xksProxyUriPathHasBeenSet = true; m_xksProxyUriPath = value; }
195 inline void SetXksProxyUriPath(Aws::String&& value) { m_xksProxyUriPathHasBeenSet = true; m_xksProxyUriPath = std::move(value); }
196 inline void SetXksProxyUriPath(const char* value) { m_xksProxyUriPathHasBeenSet = true; m_xksProxyUriPath.assign(value); }
198 inline CreateCustomKeyStoreRequest& WithXksProxyUriPath(Aws::String&& value) { SetXksProxyUriPath(std::move(value)); return *this;}
199 inline CreateCustomKeyStoreRequest& WithXksProxyUriPath(const char* value) { SetXksProxyUriPath(value); return *this;}
201
203
217 inline const Aws::String& GetXksProxyVpcEndpointServiceName() const{ return m_xksProxyVpcEndpointServiceName; }
218 inline bool XksProxyVpcEndpointServiceNameHasBeenSet() const { return m_xksProxyVpcEndpointServiceNameHasBeenSet; }
219 inline void SetXksProxyVpcEndpointServiceName(const Aws::String& value) { m_xksProxyVpcEndpointServiceNameHasBeenSet = true; m_xksProxyVpcEndpointServiceName = value; }
220 inline void SetXksProxyVpcEndpointServiceName(Aws::String&& value) { m_xksProxyVpcEndpointServiceNameHasBeenSet = true; m_xksProxyVpcEndpointServiceName = std::move(value); }
221 inline void SetXksProxyVpcEndpointServiceName(const char* value) { m_xksProxyVpcEndpointServiceNameHasBeenSet = true; m_xksProxyVpcEndpointServiceName.assign(value); }
226
228
245 inline const XksProxyAuthenticationCredentialType& GetXksProxyAuthenticationCredential() const{ return m_xksProxyAuthenticationCredential; }
246 inline bool XksProxyAuthenticationCredentialHasBeenSet() const { return m_xksProxyAuthenticationCredentialHasBeenSet; }
247 inline void SetXksProxyAuthenticationCredential(const XksProxyAuthenticationCredentialType& value) { m_xksProxyAuthenticationCredentialHasBeenSet = true; m_xksProxyAuthenticationCredential = value; }
248 inline void SetXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialType&& value) { m_xksProxyAuthenticationCredentialHasBeenSet = true; m_xksProxyAuthenticationCredential = std::move(value); }
252
254
276 inline const XksProxyConnectivityType& GetXksProxyConnectivity() const{ return m_xksProxyConnectivity; }
277 inline bool XksProxyConnectivityHasBeenSet() const { return m_xksProxyConnectivityHasBeenSet; }
278 inline void SetXksProxyConnectivity(const XksProxyConnectivityType& value) { m_xksProxyConnectivityHasBeenSet = true; m_xksProxyConnectivity = value; }
279 inline void SetXksProxyConnectivity(XksProxyConnectivityType&& value) { m_xksProxyConnectivityHasBeenSet = true; m_xksProxyConnectivity = std::move(value); }
283 private:
284
285 Aws::String m_customKeyStoreName;
286 bool m_customKeyStoreNameHasBeenSet = false;
287
288 Aws::String m_cloudHsmClusterId;
289 bool m_cloudHsmClusterIdHasBeenSet = false;
290
291 Aws::String m_trustAnchorCertificate;
292 bool m_trustAnchorCertificateHasBeenSet = false;
293
294 Aws::String m_keyStorePassword;
295 bool m_keyStorePasswordHasBeenSet = false;
296
297 CustomKeyStoreType m_customKeyStoreType;
298 bool m_customKeyStoreTypeHasBeenSet = false;
299
300 Aws::String m_xksProxyUriEndpoint;
301 bool m_xksProxyUriEndpointHasBeenSet = false;
302
303 Aws::String m_xksProxyUriPath;
304 bool m_xksProxyUriPathHasBeenSet = false;
305
306 Aws::String m_xksProxyVpcEndpointServiceName;
307 bool m_xksProxyVpcEndpointServiceNameHasBeenSet = false;
308
309 XksProxyAuthenticationCredentialType m_xksProxyAuthenticationCredential;
310 bool m_xksProxyAuthenticationCredentialHasBeenSet = false;
311
312 XksProxyConnectivityType m_xksProxyConnectivity;
313 bool m_xksProxyConnectivityHasBeenSet = false;
314 };
315
316} // namespace Model
317} // namespace KMS
318} // namespace Aws
CreateCustomKeyStoreRequest & WithXksProxyConnectivity(const XksProxyConnectivityType &value)
CreateCustomKeyStoreRequest & WithTrustAnchorCertificate(Aws::String &&value)
const XksProxyConnectivityType & GetXksProxyConnectivity() const
CreateCustomKeyStoreRequest & WithKeyStorePassword(Aws::String &&value)
CreateCustomKeyStoreRequest & WithCloudHsmClusterId(Aws::String &&value)
void SetXksProxyConnectivity(const XksProxyConnectivityType &value)
CreateCustomKeyStoreRequest & WithXksProxyUriPath(Aws::String &&value)
CreateCustomKeyStoreRequest & WithKeyStorePassword(const char *value)
void SetCustomKeyStoreType(const CustomKeyStoreType &value)
void SetXksProxyVpcEndpointServiceName(const Aws::String &value)
CreateCustomKeyStoreRequest & WithTrustAnchorCertificate(const char *value)
CreateCustomKeyStoreRequest & WithTrustAnchorCertificate(const Aws::String &value)
CreateCustomKeyStoreRequest & WithCustomKeyStoreType(const CustomKeyStoreType &value)
CreateCustomKeyStoreRequest & WithXksProxyVpcEndpointServiceName(const Aws::String &value)
CreateCustomKeyStoreRequest & WithCustomKeyStoreType(CustomKeyStoreType &&value)
CreateCustomKeyStoreRequest & WithXksProxyVpcEndpointServiceName(Aws::String &&value)
CreateCustomKeyStoreRequest & WithCustomKeyStoreName(const char *value)
CreateCustomKeyStoreRequest & WithXksProxyUriEndpoint(const char *value)
CreateCustomKeyStoreRequest & WithCustomKeyStoreName(Aws::String &&value)
CreateCustomKeyStoreRequest & WithXksProxyVpcEndpointServiceName(const char *value)
CreateCustomKeyStoreRequest & WithCustomKeyStoreName(const Aws::String &value)
CreateCustomKeyStoreRequest & WithCloudHsmClusterId(const char *value)
CreateCustomKeyStoreRequest & WithXksProxyUriPath(const char *value)
CreateCustomKeyStoreRequest & WithXksProxyUriPath(const Aws::String &value)
CreateCustomKeyStoreRequest & WithXksProxyUriEndpoint(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const CustomKeyStoreType & GetCustomKeyStoreType() const
void SetXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialType &&value)
CreateCustomKeyStoreRequest & WithKeyStorePassword(const Aws::String &value)
CreateCustomKeyStoreRequest & WithXksProxyAuthenticationCredential(const XksProxyAuthenticationCredentialType &value)
CreateCustomKeyStoreRequest & WithXksProxyUriEndpoint(Aws::String &&value)
const XksProxyAuthenticationCredentialType & GetXksProxyAuthenticationCredential() const
void SetXksProxyConnectivity(XksProxyConnectivityType &&value)
CreateCustomKeyStoreRequest & WithXksProxyConnectivity(XksProxyConnectivityType &&value)
AWS_KMS_API Aws::String SerializePayload() const override
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateCustomKeyStoreRequest & WithXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialType &&value)
void SetXksProxyAuthenticationCredential(const XksProxyAuthenticationCredentialType &value)
CreateCustomKeyStoreRequest & WithCloudHsmClusterId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String