AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
27 AWS_KMS_API CreateCustomKeyStoreRequest() = default;
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 template<typename CustomKeyStoreNameT = Aws::String>
51 void SetCustomKeyStoreName(CustomKeyStoreNameT&& value) { m_customKeyStoreNameHasBeenSet = true; m_customKeyStoreName = std::forward<CustomKeyStoreNameT>(value); }
52 template<typename CustomKeyStoreNameT = Aws::String>
53 CreateCustomKeyStoreRequest& WithCustomKeyStoreName(CustomKeyStoreNameT&& value) { SetCustomKeyStoreName(std::forward<CustomKeyStoreNameT>(value)); return *this;}
55
57
66 inline const Aws::String& GetCloudHsmClusterId() const { return m_cloudHsmClusterId; }
67 inline bool CloudHsmClusterIdHasBeenSet() const { return m_cloudHsmClusterIdHasBeenSet; }
68 template<typename CloudHsmClusterIdT = Aws::String>
69 void SetCloudHsmClusterId(CloudHsmClusterIdT&& value) { m_cloudHsmClusterIdHasBeenSet = true; m_cloudHsmClusterId = std::forward<CloudHsmClusterIdT>(value); }
70 template<typename CloudHsmClusterIdT = Aws::String>
71 CreateCustomKeyStoreRequest& WithCloudHsmClusterId(CloudHsmClusterIdT&& value) { SetCloudHsmClusterId(std::forward<CloudHsmClusterIdT>(value)); return *this;}
73
75
84 inline const Aws::String& GetTrustAnchorCertificate() const { return m_trustAnchorCertificate; }
85 inline bool TrustAnchorCertificateHasBeenSet() const { return m_trustAnchorCertificateHasBeenSet; }
86 template<typename TrustAnchorCertificateT = Aws::String>
87 void SetTrustAnchorCertificate(TrustAnchorCertificateT&& value) { m_trustAnchorCertificateHasBeenSet = true; m_trustAnchorCertificate = std::forward<TrustAnchorCertificateT>(value); }
88 template<typename TrustAnchorCertificateT = Aws::String>
89 CreateCustomKeyStoreRequest& WithTrustAnchorCertificate(TrustAnchorCertificateT&& value) { SetTrustAnchorCertificate(std::forward<TrustAnchorCertificateT>(value)); return *this;}
91
93
105 inline const Aws::String& GetKeyStorePassword() const { return m_keyStorePassword; }
106 inline bool KeyStorePasswordHasBeenSet() const { return m_keyStorePasswordHasBeenSet; }
107 template<typename KeyStorePasswordT = Aws::String>
108 void SetKeyStorePassword(KeyStorePasswordT&& value) { m_keyStorePasswordHasBeenSet = true; m_keyStorePassword = std::forward<KeyStorePasswordT>(value); }
109 template<typename KeyStorePasswordT = Aws::String>
110 CreateCustomKeyStoreRequest& WithKeyStorePassword(KeyStorePasswordT&& value) { SetKeyStorePassword(std::forward<KeyStorePasswordT>(value)); return *this;}
112
114
122 inline CustomKeyStoreType GetCustomKeyStoreType() const { return m_customKeyStoreType; }
123 inline bool CustomKeyStoreTypeHasBeenSet() const { return m_customKeyStoreTypeHasBeenSet; }
124 inline void SetCustomKeyStoreType(CustomKeyStoreType value) { m_customKeyStoreTypeHasBeenSet = true; m_customKeyStoreType = value; }
127
129
158 inline const Aws::String& GetXksProxyUriEndpoint() const { return m_xksProxyUriEndpoint; }
159 inline bool XksProxyUriEndpointHasBeenSet() const { return m_xksProxyUriEndpointHasBeenSet; }
160 template<typename XksProxyUriEndpointT = Aws::String>
161 void SetXksProxyUriEndpoint(XksProxyUriEndpointT&& value) { m_xksProxyUriEndpointHasBeenSet = true; m_xksProxyUriEndpoint = std::forward<XksProxyUriEndpointT>(value); }
162 template<typename XksProxyUriEndpointT = Aws::String>
163 CreateCustomKeyStoreRequest& WithXksProxyUriEndpoint(XksProxyUriEndpointT&& value) { SetXksProxyUriEndpoint(std::forward<XksProxyUriEndpointT>(value)); return *this;}
165
167
180 inline const Aws::String& GetXksProxyUriPath() const { return m_xksProxyUriPath; }
181 inline bool XksProxyUriPathHasBeenSet() const { return m_xksProxyUriPathHasBeenSet; }
182 template<typename XksProxyUriPathT = Aws::String>
183 void SetXksProxyUriPath(XksProxyUriPathT&& value) { m_xksProxyUriPathHasBeenSet = true; m_xksProxyUriPath = std::forward<XksProxyUriPathT>(value); }
184 template<typename XksProxyUriPathT = Aws::String>
185 CreateCustomKeyStoreRequest& WithXksProxyUriPath(XksProxyUriPathT&& value) { SetXksProxyUriPath(std::forward<XksProxyUriPathT>(value)); return *this;}
187
189
203 inline const Aws::String& GetXksProxyVpcEndpointServiceName() const { return m_xksProxyVpcEndpointServiceName; }
204 inline bool XksProxyVpcEndpointServiceNameHasBeenSet() const { return m_xksProxyVpcEndpointServiceNameHasBeenSet; }
205 template<typename XksProxyVpcEndpointServiceNameT = Aws::String>
206 void SetXksProxyVpcEndpointServiceName(XksProxyVpcEndpointServiceNameT&& value) { m_xksProxyVpcEndpointServiceNameHasBeenSet = true; m_xksProxyVpcEndpointServiceName = std::forward<XksProxyVpcEndpointServiceNameT>(value); }
207 template<typename XksProxyVpcEndpointServiceNameT = Aws::String>
208 CreateCustomKeyStoreRequest& WithXksProxyVpcEndpointServiceName(XksProxyVpcEndpointServiceNameT&& value) { SetXksProxyVpcEndpointServiceName(std::forward<XksProxyVpcEndpointServiceNameT>(value)); return *this;}
210
212
229 inline const XksProxyAuthenticationCredentialType& GetXksProxyAuthenticationCredential() const { return m_xksProxyAuthenticationCredential; }
230 inline bool XksProxyAuthenticationCredentialHasBeenSet() const { return m_xksProxyAuthenticationCredentialHasBeenSet; }
231 template<typename XksProxyAuthenticationCredentialT = XksProxyAuthenticationCredentialType>
232 void SetXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialT&& value) { m_xksProxyAuthenticationCredentialHasBeenSet = true; m_xksProxyAuthenticationCredential = std::forward<XksProxyAuthenticationCredentialT>(value); }
233 template<typename XksProxyAuthenticationCredentialT = XksProxyAuthenticationCredentialType>
234 CreateCustomKeyStoreRequest& WithXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialT&& value) { SetXksProxyAuthenticationCredential(std::forward<XksProxyAuthenticationCredentialT>(value)); return *this;}
236
238
260 inline XksProxyConnectivityType GetXksProxyConnectivity() const { return m_xksProxyConnectivity; }
261 inline bool XksProxyConnectivityHasBeenSet() const { return m_xksProxyConnectivityHasBeenSet; }
262 inline void SetXksProxyConnectivity(XksProxyConnectivityType value) { m_xksProxyConnectivityHasBeenSet = true; m_xksProxyConnectivity = value; }
265 private:
266
267 Aws::String m_customKeyStoreName;
268 bool m_customKeyStoreNameHasBeenSet = false;
269
270 Aws::String m_cloudHsmClusterId;
271 bool m_cloudHsmClusterIdHasBeenSet = false;
272
273 Aws::String m_trustAnchorCertificate;
274 bool m_trustAnchorCertificateHasBeenSet = false;
275
276 Aws::String m_keyStorePassword;
277 bool m_keyStorePasswordHasBeenSet = false;
278
280 bool m_customKeyStoreTypeHasBeenSet = false;
281
282 Aws::String m_xksProxyUriEndpoint;
283 bool m_xksProxyUriEndpointHasBeenSet = false;
284
285 Aws::String m_xksProxyUriPath;
286 bool m_xksProxyUriPathHasBeenSet = false;
287
288 Aws::String m_xksProxyVpcEndpointServiceName;
289 bool m_xksProxyVpcEndpointServiceNameHasBeenSet = false;
290
291 XksProxyAuthenticationCredentialType m_xksProxyAuthenticationCredential;
292 bool m_xksProxyAuthenticationCredentialHasBeenSet = false;
293
295 bool m_xksProxyConnectivityHasBeenSet = false;
296 };
297
298} // namespace Model
299} // namespace KMS
300} // namespace Aws
CreateCustomKeyStoreRequest & WithCloudHsmClusterId(CloudHsmClusterIdT &&value)
void SetXksProxyVpcEndpointServiceName(XksProxyVpcEndpointServiceNameT &&value)
CreateCustomKeyStoreRequest & WithXksProxyVpcEndpointServiceName(XksProxyVpcEndpointServiceNameT &&value)
CreateCustomKeyStoreRequest & WithXksProxyUriEndpoint(XksProxyUriEndpointT &&value)
void SetCustomKeyStoreName(CustomKeyStoreNameT &&value)
void SetXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialT &&value)
CreateCustomKeyStoreRequest & WithCustomKeyStoreName(CustomKeyStoreNameT &&value)
CreateCustomKeyStoreRequest & WithKeyStorePassword(KeyStorePasswordT &&value)
AWS_KMS_API CreateCustomKeyStoreRequest()=default
CreateCustomKeyStoreRequest & WithXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialT &&value)
CreateCustomKeyStoreRequest & WithXksProxyConnectivity(XksProxyConnectivityType value)
virtual const char * GetServiceRequestName() const override
void SetXksProxyConnectivity(XksProxyConnectivityType value)
CreateCustomKeyStoreRequest & WithXksProxyUriPath(XksProxyUriPathT &&value)
const XksProxyAuthenticationCredentialType & GetXksProxyAuthenticationCredential() const
void SetXksProxyUriEndpoint(XksProxyUriEndpointT &&value)
AWS_KMS_API Aws::String SerializePayload() const override
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTrustAnchorCertificate(TrustAnchorCertificateT &&value)
CreateCustomKeyStoreRequest & WithCustomKeyStoreType(CustomKeyStoreType value)
CreateCustomKeyStoreRequest & WithTrustAnchorCertificate(TrustAnchorCertificateT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String