AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCustomKeyStoreId(const Aws::String& value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId = value; }
48 inline void SetCustomKeyStoreId(Aws::String&& value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId = std::move(value); }
49 inline void SetCustomKeyStoreId(const char* value) { m_customKeyStoreIdHasBeenSet = true; m_customKeyStoreId.assign(value); }
51 inline UpdateCustomKeyStoreRequest& WithCustomKeyStoreId(Aws::String&& value) { SetCustomKeyStoreId(std::move(value)); return *this;}
52 inline UpdateCustomKeyStoreRequest& WithCustomKeyStoreId(const char* value) { SetCustomKeyStoreId(value); return *this;}
54
56
65 inline const Aws::String& GetNewCustomKeyStoreName() const{ return m_newCustomKeyStoreName; }
66 inline bool NewCustomKeyStoreNameHasBeenSet() const { return m_newCustomKeyStoreNameHasBeenSet; }
67 inline void SetNewCustomKeyStoreName(const Aws::String& value) { m_newCustomKeyStoreNameHasBeenSet = true; m_newCustomKeyStoreName = value; }
68 inline void SetNewCustomKeyStoreName(Aws::String&& value) { m_newCustomKeyStoreNameHasBeenSet = true; m_newCustomKeyStoreName = std::move(value); }
69 inline void SetNewCustomKeyStoreName(const char* value) { m_newCustomKeyStoreNameHasBeenSet = true; m_newCustomKeyStoreName.assign(value); }
72 inline UpdateCustomKeyStoreRequest& WithNewCustomKeyStoreName(const char* value) { SetNewCustomKeyStoreName(value); return *this;}
74
76
86 inline const Aws::String& GetKeyStorePassword() const{ return m_keyStorePassword; }
87 inline bool KeyStorePasswordHasBeenSet() const { return m_keyStorePasswordHasBeenSet; }
88 inline void SetKeyStorePassword(const Aws::String& value) { m_keyStorePasswordHasBeenSet = true; m_keyStorePassword = value; }
89 inline void SetKeyStorePassword(Aws::String&& value) { m_keyStorePasswordHasBeenSet = true; m_keyStorePassword = std::move(value); }
90 inline void SetKeyStorePassword(const char* value) { m_keyStorePasswordHasBeenSet = true; m_keyStorePassword.assign(value); }
92 inline UpdateCustomKeyStoreRequest& WithKeyStorePassword(Aws::String&& value) { SetKeyStorePassword(std::move(value)); return *this;}
93 inline UpdateCustomKeyStoreRequest& WithKeyStorePassword(const char* value) { SetKeyStorePassword(value); return *this;}
95
97
112 inline const Aws::String& GetCloudHsmClusterId() const{ return m_cloudHsmClusterId; }
113 inline bool CloudHsmClusterIdHasBeenSet() const { return m_cloudHsmClusterIdHasBeenSet; }
114 inline void SetCloudHsmClusterId(const Aws::String& value) { m_cloudHsmClusterIdHasBeenSet = true; m_cloudHsmClusterId = value; }
115 inline void SetCloudHsmClusterId(Aws::String&& value) { m_cloudHsmClusterIdHasBeenSet = true; m_cloudHsmClusterId = std::move(value); }
116 inline void SetCloudHsmClusterId(const char* value) { m_cloudHsmClusterIdHasBeenSet = true; m_cloudHsmClusterId.assign(value); }
118 inline UpdateCustomKeyStoreRequest& WithCloudHsmClusterId(Aws::String&& value) { SetCloudHsmClusterId(std::move(value)); return *this;}
119 inline UpdateCustomKeyStoreRequest& WithCloudHsmClusterId(const char* value) { SetCloudHsmClusterId(value); return *this;}
121
123
137 inline const Aws::String& GetXksProxyUriEndpoint() const{ return m_xksProxyUriEndpoint; }
138 inline bool XksProxyUriEndpointHasBeenSet() const { return m_xksProxyUriEndpointHasBeenSet; }
139 inline void SetXksProxyUriEndpoint(const Aws::String& value) { m_xksProxyUriEndpointHasBeenSet = true; m_xksProxyUriEndpoint = value; }
140 inline void SetXksProxyUriEndpoint(Aws::String&& value) { m_xksProxyUriEndpointHasBeenSet = true; m_xksProxyUriEndpoint = std::move(value); }
141 inline void SetXksProxyUriEndpoint(const char* value) { m_xksProxyUriEndpointHasBeenSet = true; m_xksProxyUriEndpoint.assign(value); }
144 inline UpdateCustomKeyStoreRequest& WithXksProxyUriEndpoint(const char* value) { SetXksProxyUriEndpoint(value); return *this;}
146
148
161 inline const Aws::String& GetXksProxyUriPath() const{ return m_xksProxyUriPath; }
162 inline bool XksProxyUriPathHasBeenSet() const { return m_xksProxyUriPathHasBeenSet; }
163 inline void SetXksProxyUriPath(const Aws::String& value) { m_xksProxyUriPathHasBeenSet = true; m_xksProxyUriPath = value; }
164 inline void SetXksProxyUriPath(Aws::String&& value) { m_xksProxyUriPathHasBeenSet = true; m_xksProxyUriPath = std::move(value); }
165 inline void SetXksProxyUriPath(const char* value) { m_xksProxyUriPathHasBeenSet = true; m_xksProxyUriPath.assign(value); }
167 inline UpdateCustomKeyStoreRequest& WithXksProxyUriPath(Aws::String&& value) { SetXksProxyUriPath(std::move(value)); return *this;}
168 inline UpdateCustomKeyStoreRequest& WithXksProxyUriPath(const char* value) { SetXksProxyUriPath(value); return *this;}
170
172
179 inline const Aws::String& GetXksProxyVpcEndpointServiceName() const{ return m_xksProxyVpcEndpointServiceName; }
180 inline bool XksProxyVpcEndpointServiceNameHasBeenSet() const { return m_xksProxyVpcEndpointServiceNameHasBeenSet; }
181 inline void SetXksProxyVpcEndpointServiceName(const Aws::String& value) { m_xksProxyVpcEndpointServiceNameHasBeenSet = true; m_xksProxyVpcEndpointServiceName = value; }
182 inline void SetXksProxyVpcEndpointServiceName(Aws::String&& value) { m_xksProxyVpcEndpointServiceNameHasBeenSet = true; m_xksProxyVpcEndpointServiceName = std::move(value); }
183 inline void SetXksProxyVpcEndpointServiceName(const char* value) { m_xksProxyVpcEndpointServiceNameHasBeenSet = true; m_xksProxyVpcEndpointServiceName.assign(value); }
188
190
203 inline const XksProxyAuthenticationCredentialType& GetXksProxyAuthenticationCredential() const{ return m_xksProxyAuthenticationCredential; }
204 inline bool XksProxyAuthenticationCredentialHasBeenSet() const { return m_xksProxyAuthenticationCredentialHasBeenSet; }
205 inline void SetXksProxyAuthenticationCredential(const XksProxyAuthenticationCredentialType& value) { m_xksProxyAuthenticationCredentialHasBeenSet = true; m_xksProxyAuthenticationCredential = value; }
206 inline void SetXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialType&& value) { m_xksProxyAuthenticationCredentialHasBeenSet = true; m_xksProxyAuthenticationCredential = std::move(value); }
210
212
225 inline const XksProxyConnectivityType& GetXksProxyConnectivity() const{ return m_xksProxyConnectivity; }
226 inline bool XksProxyConnectivityHasBeenSet() const { return m_xksProxyConnectivityHasBeenSet; }
227 inline void SetXksProxyConnectivity(const XksProxyConnectivityType& value) { m_xksProxyConnectivityHasBeenSet = true; m_xksProxyConnectivity = value; }
228 inline void SetXksProxyConnectivity(XksProxyConnectivityType&& value) { m_xksProxyConnectivityHasBeenSet = true; m_xksProxyConnectivity = std::move(value); }
232 private:
233
234 Aws::String m_customKeyStoreId;
235 bool m_customKeyStoreIdHasBeenSet = false;
236
237 Aws::String m_newCustomKeyStoreName;
238 bool m_newCustomKeyStoreNameHasBeenSet = false;
239
240 Aws::String m_keyStorePassword;
241 bool m_keyStorePasswordHasBeenSet = false;
242
243 Aws::String m_cloudHsmClusterId;
244 bool m_cloudHsmClusterIdHasBeenSet = false;
245
246 Aws::String m_xksProxyUriEndpoint;
247 bool m_xksProxyUriEndpointHasBeenSet = false;
248
249 Aws::String m_xksProxyUriPath;
250 bool m_xksProxyUriPathHasBeenSet = false;
251
252 Aws::String m_xksProxyVpcEndpointServiceName;
253 bool m_xksProxyVpcEndpointServiceNameHasBeenSet = false;
254
255 XksProxyAuthenticationCredentialType m_xksProxyAuthenticationCredential;
256 bool m_xksProxyAuthenticationCredentialHasBeenSet = false;
257
258 XksProxyConnectivityType m_xksProxyConnectivity;
259 bool m_xksProxyConnectivityHasBeenSet = false;
260 };
261
262} // namespace Model
263} // namespace KMS
264} // namespace Aws
UpdateCustomKeyStoreRequest & WithCloudHsmClusterId(Aws::String &&value)
UpdateCustomKeyStoreRequest & WithXksProxyAuthenticationCredential(const XksProxyAuthenticationCredentialType &value)
UpdateCustomKeyStoreRequest & WithKeyStorePassword(const Aws::String &value)
UpdateCustomKeyStoreRequest & WithNewCustomKeyStoreName(Aws::String &&value)
UpdateCustomKeyStoreRequest & WithXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialType &&value)
AWS_KMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetXksProxyAuthenticationCredential(const XksProxyAuthenticationCredentialType &value)
UpdateCustomKeyStoreRequest & WithCustomKeyStoreId(const char *value)
void SetXksProxyVpcEndpointServiceName(const Aws::String &value)
UpdateCustomKeyStoreRequest & WithNewCustomKeyStoreName(const char *value)
UpdateCustomKeyStoreRequest & WithXksProxyUriEndpoint(const Aws::String &value)
UpdateCustomKeyStoreRequest & WithKeyStorePassword(Aws::String &&value)
UpdateCustomKeyStoreRequest & WithCloudHsmClusterId(const Aws::String &value)
UpdateCustomKeyStoreRequest & WithXksProxyVpcEndpointServiceName(const char *value)
const XksProxyAuthenticationCredentialType & GetXksProxyAuthenticationCredential() const
UpdateCustomKeyStoreRequest & WithXksProxyUriPath(const char *value)
const XksProxyConnectivityType & GetXksProxyConnectivity() const
UpdateCustomKeyStoreRequest & WithXksProxyUriPath(Aws::String &&value)
UpdateCustomKeyStoreRequest & WithXksProxyConnectivity(const XksProxyConnectivityType &value)
UpdateCustomKeyStoreRequest & WithXksProxyUriEndpoint(const char *value)
void SetXksProxyConnectivity(XksProxyConnectivityType &&value)
UpdateCustomKeyStoreRequest & WithXksProxyVpcEndpointServiceName(const Aws::String &value)
UpdateCustomKeyStoreRequest & WithNewCustomKeyStoreName(const Aws::String &value)
void SetXksProxyAuthenticationCredential(XksProxyAuthenticationCredentialType &&value)
UpdateCustomKeyStoreRequest & WithXksProxyUriPath(const Aws::String &value)
UpdateCustomKeyStoreRequest & WithCloudHsmClusterId(const char *value)
UpdateCustomKeyStoreRequest & WithCustomKeyStoreId(Aws::String &&value)
void SetXksProxyConnectivity(const XksProxyConnectivityType &value)
UpdateCustomKeyStoreRequest & WithKeyStorePassword(const char *value)
UpdateCustomKeyStoreRequest & WithXksProxyUriEndpoint(Aws::String &&value)
AWS_KMS_API Aws::String SerializePayload() const override
UpdateCustomKeyStoreRequest & WithXksProxyVpcEndpointServiceName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateCustomKeyStoreRequest & WithCustomKeyStoreId(const Aws::String &value)
UpdateCustomKeyStoreRequest & WithXksProxyConnectivity(XksProxyConnectivityType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String