AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateCustomKeyStoreRequest.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/XksProxyAuthenticationCredentialType.h>
11#include <aws/kms/model/XksProxyConnectivityType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace KMS
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_KMS_API UpdateCustomKeyStoreRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateCustomKeyStore"; }
33
34 AWS_KMS_API Aws::String SerializePayload() const override;
35
37
38
40
45 inline const Aws::String& GetCustomKeyStoreId() const { return m_customKeyStoreId; }
46 inline bool CustomKeyStoreIdHasBeenSet() const { return m_customKeyStoreIdHasBeenSet; }
47 template<typename CustomKeyStoreIdT = Aws::String>
48 void SetCustomKeyStoreId(CustomKeyStoreIdT&& value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId = std::forward<CustomKeyStoreIdT>(value); }
49 template<typename CustomKeyStoreIdT = Aws::String>
50 UpdateCustomKeyStoreRequest& WithCustomKeyStoreId(CustomKeyStoreIdT&& value) { SetCustomKeyStoreId(std::forward<CustomKeyStoreIdT>(value)); return *this;}
52
54
63 inline const Aws::String& GetNewCustomKeyStoreName() const { return m_newCustomKeyStoreName; }
64 inline bool NewCustomKeyStoreNameHasBeenSet() const { return m_newCustomKeyStoreNameHasBeenSet; }
65 template<typename NewCustomKeyStoreNameT = Aws::String>
66 void SetNewCustomKeyStoreName(NewCustomKeyStoreNameT&& value) { m_newCustomKeyStoreNameHasBeenSet = true; m_newCustomKeyStoreName = std::forward<NewCustomKeyStoreNameT>(value); }
67 template<typename NewCustomKeyStoreNameT = Aws::String>
68 UpdateCustomKeyStoreRequest& WithNewCustomKeyStoreName(NewCustomKeyStoreNameT&& value) { SetNewCustomKeyStoreName(std::forward<NewCustomKeyStoreNameT>(value)); return *this;}
70
72
82 inline const Aws::String& GetKeyStorePassword() const { return m_keyStorePassword; }
83 inline bool KeyStorePasswordHasBeenSet() const { return m_keyStorePasswordHasBeenSet; }
84 template<typename KeyStorePasswordT = Aws::String>
85 void SetKeyStorePassword(KeyStorePasswordT&& value) { m_keyStorePasswordHasBeenSet = true; m_keyStorePassword = std::forward<KeyStorePasswordT>(value); }
86 template<typename KeyStorePasswordT = Aws::String>
87 UpdateCustomKeyStoreRequest& WithKeyStorePassword(KeyStorePasswordT&& value) { SetKeyStorePassword(std::forward<KeyStorePasswordT>(value)); return *this;}
89
91
106 inline const Aws::String& GetCloudHsmClusterId() const { return m_cloudHsmClusterId; }
107 inline bool CloudHsmClusterIdHasBeenSet() const { return m_cloudHsmClusterIdHasBeenSet; }
108 template<typename CloudHsmClusterIdT = Aws::String>
109 void SetCloudHsmClusterId(CloudHsmClusterIdT&& value) { m_cloudHsmClusterIdHasBeenSet = true; m_cloudHsmClusterId = std::forward<CloudHsmClusterIdT>(value); }
110 template<typename CloudHsmClusterIdT = Aws::String>
111 UpdateCustomKeyStoreRequest& WithCloudHsmClusterId(CloudHsmClusterIdT&& value) { SetCloudHsmClusterId(std::forward<CloudHsmClusterIdT>(value)); return *this;}
113
115
129 inline const Aws::String& GetXksProxyUriEndpoint() const { return m_xksProxyUriEndpoint; }
130 inline bool XksProxyUriEndpointHasBeenSet() const { return m_xksProxyUriEndpointHasBeenSet; }
131 template<typename XksProxyUriEndpointT = Aws::String>
132 void SetXksProxyUriEndpoint(XksProxyUriEndpointT&& value) { m_xksProxyUriEndpointHasBeenSet = true; m_xksProxyUriEndpoint = std::forward<XksProxyUriEndpointT>(value); }
133 template<typename XksProxyUriEndpointT = Aws::String>
134 UpdateCustomKeyStoreRequest& WithXksProxyUriEndpoint(XksProxyUriEndpointT&& value) { SetXksProxyUriEndpoint(std::forward<XksProxyUriEndpointT>(value)); return *this;}
136
138
151 inline const Aws::String& GetXksProxyUriPath() const { return m_xksProxyUriPath; }
152 inline bool XksProxyUriPathHasBeenSet() const { return m_xksProxyUriPathHasBeenSet; }
153 template<typename XksProxyUriPathT = Aws::String>
154 void SetXksProxyUriPath(XksProxyUriPathT&& value) { m_xksProxyUriPathHasBeenSet = true; m_xksProxyUriPath = std::forward<XksProxyUriPathT>(value); }
155 template<typename XksProxyUriPathT = Aws::String>
156 UpdateCustomKeyStoreRequest& WithXksProxyUriPath(XksProxyUriPathT&& value) { SetXksProxyUriPath(std::forward<XksProxyUriPathT>(value)); return *this;}
158
160
167 inline const Aws::String& GetXksProxyVpcEndpointServiceName() const { return m_xksProxyVpcEndpointServiceName; }
168 inline bool XksProxyVpcEndpointServiceNameHasBeenSet() const { return m_xksProxyVpcEndpointServiceNameHasBeenSet; }
169 template<typename XksProxyVpcEndpointServiceNameT = Aws::String>
170 void SetXksProxyVpcEndpointServiceName(XksProxyVpcEndpointServiceNameT&& value) { m_xksProxyVpcEndpointServiceNameHasBeenSet = true; m_xksProxyVpcEndpointServiceName = std::forward<XksProxyVpcEndpointServiceNameT>(value); }
171 template<typename XksProxyVpcEndpointServiceNameT = Aws::String>
172 UpdateCustomKeyStoreRequest& WithXksProxyVpcEndpointServiceName(XksProxyVpcEndpointServiceNameT&& value) { SetXksProxyVpcEndpointServiceName(std::forward<XksProxyVpcEndpointServiceNameT>(value)); return *this;}
174
176
189 inline const XksProxyAuthenticationCredentialType& GetXksProxyAuthenticationCredential() const { return m_xksProxyAuthenticationCredential; }
190 inline bool XksProxyAuthenticationCredentialHasBeenSet() const { return m_xksProxyAuthenticationCredentialHasBeenSet; }
191 template<typename XksProxyAuthenticationCredentialT = XksProxyAuthenticationCredentialType>
192 void SetXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialT&& value) { m_xksProxyAuthenticationCredentialHasBeenSet = true; m_xksProxyAuthenticationCredential = std::forward<XksProxyAuthenticationCredentialT>(value); }
193 template<typename XksProxyAuthenticationCredentialT = XksProxyAuthenticationCredentialType>
194 UpdateCustomKeyStoreRequest& WithXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialT&& value) { SetXksProxyAuthenticationCredential(std::forward<XksProxyAuthenticationCredentialT>(value)); return *this;}
196
198
211 inline XksProxyConnectivityType GetXksProxyConnectivity() const { return m_xksProxyConnectivity; }
212 inline bool XksProxyConnectivityHasBeenSet() const { return m_xksProxyConnectivityHasBeenSet; }
213 inline void SetXksProxyConnectivity(XksProxyConnectivityType value) { m_xksProxyConnectivityHasBeenSet = true; m_xksProxyConnectivity = value; }
216 private:
217
218 Aws::String m_customKeyStoreId;
219 bool m_customKeyStoreIdHasBeenSet = false;
220
221 Aws::String m_newCustomKeyStoreName;
222 bool m_newCustomKeyStoreNameHasBeenSet = false;
223
224 Aws::String m_keyStorePassword;
225 bool m_keyStorePasswordHasBeenSet = false;
226
227 Aws::String m_cloudHsmClusterId;
228 bool m_cloudHsmClusterIdHasBeenSet = false;
229
230 Aws::String m_xksProxyUriEndpoint;
231 bool m_xksProxyUriEndpointHasBeenSet = false;
232
233 Aws::String m_xksProxyUriPath;
234 bool m_xksProxyUriPathHasBeenSet = false;
235
236 Aws::String m_xksProxyVpcEndpointServiceName;
237 bool m_xksProxyVpcEndpointServiceNameHasBeenSet = false;
238
239 XksProxyAuthenticationCredentialType m_xksProxyAuthenticationCredential;
240 bool m_xksProxyAuthenticationCredentialHasBeenSet = false;
241
243 bool m_xksProxyConnectivityHasBeenSet = false;
244 };
245
246} // namespace Model
247} // namespace KMS
248} // namespace Aws
void SetXksProxyUriEndpoint(XksProxyUriEndpointT &&value)
void SetNewCustomKeyStoreName(NewCustomKeyStoreNameT &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateCustomKeyStoreRequest & WithXksProxyUriEndpoint(XksProxyUriEndpointT &&value)
UpdateCustomKeyStoreRequest & WithXksProxyUriPath(XksProxyUriPathT &&value)
const XksProxyAuthenticationCredentialType & GetXksProxyAuthenticationCredential() const
UpdateCustomKeyStoreRequest & WithNewCustomKeyStoreName(NewCustomKeyStoreNameT &&value)
UpdateCustomKeyStoreRequest & WithXksProxyConnectivity(XksProxyConnectivityType value)
UpdateCustomKeyStoreRequest & WithKeyStorePassword(KeyStorePasswordT &&value)
AWS_KMS_API UpdateCustomKeyStoreRequest()=default
void SetXksProxyConnectivity(XksProxyConnectivityType value)
void SetXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialT &&value)
UpdateCustomKeyStoreRequest & WithCloudHsmClusterId(CloudHsmClusterIdT &&value)
UpdateCustomKeyStoreRequest & WithCustomKeyStoreId(CustomKeyStoreIdT &&value)
AWS_KMS_API Aws::String SerializePayload() const override
void SetXksProxyVpcEndpointServiceName(XksProxyVpcEndpointServiceNameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateCustomKeyStoreRequest & WithXksProxyVpcEndpointServiceName(XksProxyVpcEndpointServiceNameT &&value)
UpdateCustomKeyStoreRequest & WithXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String