AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateHsmConfigurationRequest.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateHsmConfiguration"; }
36
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
48 inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
49
54 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
55
60 inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
61
66 inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
67
72 inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
73
79
85
91
92
96 inline const Aws::String& GetDescription() const{ return m_description; }
97
101 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
102
106 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
107
111 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
112
116 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
117
121 inline CreateHsmConfigurationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
122
126 inline CreateHsmConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
127
131 inline CreateHsmConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
132
133
138 inline const Aws::String& GetHsmIpAddress() const{ return m_hsmIpAddress; }
139
144 inline bool HsmIpAddressHasBeenSet() const { return m_hsmIpAddressHasBeenSet; }
145
150 inline void SetHsmIpAddress(const Aws::String& value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress = value; }
151
156 inline void SetHsmIpAddress(Aws::String&& value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress = std::move(value); }
157
162 inline void SetHsmIpAddress(const char* value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress.assign(value); }
163
168 inline CreateHsmConfigurationRequest& WithHsmIpAddress(const Aws::String& value) { SetHsmIpAddress(value); return *this;}
169
174 inline CreateHsmConfigurationRequest& WithHsmIpAddress(Aws::String&& value) { SetHsmIpAddress(std::move(value)); return *this;}
175
180 inline CreateHsmConfigurationRequest& WithHsmIpAddress(const char* value) { SetHsmIpAddress(value); return *this;}
181
182
187 inline const Aws::String& GetHsmPartitionName() const{ return m_hsmPartitionName; }
188
193 inline bool HsmPartitionNameHasBeenSet() const { return m_hsmPartitionNameHasBeenSet; }
194
199 inline void SetHsmPartitionName(const Aws::String& value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName = value; }
200
205 inline void SetHsmPartitionName(Aws::String&& value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName = std::move(value); }
206
211 inline void SetHsmPartitionName(const char* value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName.assign(value); }
212
218
223 inline CreateHsmConfigurationRequest& WithHsmPartitionName(Aws::String&& value) { SetHsmPartitionName(std::move(value)); return *this;}
224
229 inline CreateHsmConfigurationRequest& WithHsmPartitionName(const char* value) { SetHsmPartitionName(value); return *this;}
230
231
235 inline const Aws::String& GetHsmPartitionPassword() const{ return m_hsmPartitionPassword; }
236
240 inline bool HsmPartitionPasswordHasBeenSet() const { return m_hsmPartitionPasswordHasBeenSet; }
241
245 inline void SetHsmPartitionPassword(const Aws::String& value) { m_hsmPartitionPasswordHasBeenSet = true; m_hsmPartitionPassword = value; }
246
250 inline void SetHsmPartitionPassword(Aws::String&& value) { m_hsmPartitionPasswordHasBeenSet = true; m_hsmPartitionPassword = std::move(value); }
251
255 inline void SetHsmPartitionPassword(const char* value) { m_hsmPartitionPasswordHasBeenSet = true; m_hsmPartitionPassword.assign(value); }
256
261
266
270 inline CreateHsmConfigurationRequest& WithHsmPartitionPassword(const char* value) { SetHsmPartitionPassword(value); return *this;}
271
272
277 inline const Aws::String& GetHsmServerPublicCertificate() const{ return m_hsmServerPublicCertificate; }
278
283 inline bool HsmServerPublicCertificateHasBeenSet() const { return m_hsmServerPublicCertificateHasBeenSet; }
284
289 inline void SetHsmServerPublicCertificate(const Aws::String& value) { m_hsmServerPublicCertificateHasBeenSet = true; m_hsmServerPublicCertificate = value; }
290
295 inline void SetHsmServerPublicCertificate(Aws::String&& value) { m_hsmServerPublicCertificateHasBeenSet = true; m_hsmServerPublicCertificate = std::move(value); }
296
301 inline void SetHsmServerPublicCertificate(const char* value) { m_hsmServerPublicCertificateHasBeenSet = true; m_hsmServerPublicCertificate.assign(value); }
302
308
314
320
321
325 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
326
330 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
331
335 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
336
340 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
341
345 inline CreateHsmConfigurationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
346
350 inline CreateHsmConfigurationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
351
355 inline CreateHsmConfigurationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
356
360 inline CreateHsmConfigurationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
361
362 private:
363
364 Aws::String m_hsmConfigurationIdentifier;
365 bool m_hsmConfigurationIdentifierHasBeenSet = false;
366
367 Aws::String m_description;
368 bool m_descriptionHasBeenSet = false;
369
370 Aws::String m_hsmIpAddress;
371 bool m_hsmIpAddressHasBeenSet = false;
372
373 Aws::String m_hsmPartitionName;
374 bool m_hsmPartitionNameHasBeenSet = false;
375
376 Aws::String m_hsmPartitionPassword;
377 bool m_hsmPartitionPasswordHasBeenSet = false;
378
379 Aws::String m_hsmServerPublicCertificate;
380 bool m_hsmServerPublicCertificateHasBeenSet = false;
381
382 Aws::Vector<Tag> m_tags;
383 bool m_tagsHasBeenSet = false;
384 };
385
386} // namespace Model
387} // namespace Redshift
388} // namespace Aws
#define AWS_REDSHIFT_API
CreateHsmConfigurationRequest & WithHsmIpAddress(const char *value)
CreateHsmConfigurationRequest & WithHsmIpAddress(const Aws::String &value)
CreateHsmConfigurationRequest & WithHsmPartitionPassword(const Aws::String &value)
CreateHsmConfigurationRequest & WithHsmPartitionPassword(const char *value)
CreateHsmConfigurationRequest & WithHsmConfigurationIdentifier(Aws::String &&value)
CreateHsmConfigurationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateHsmConfigurationRequest & WithHsmPartitionPassword(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
CreateHsmConfigurationRequest & WithDescription(const char *value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateHsmConfigurationRequest & WithHsmServerPublicCertificate(Aws::String &&value)
CreateHsmConfigurationRequest & AddTags(Tag &&value)
CreateHsmConfigurationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateHsmConfigurationRequest & WithHsmConfigurationIdentifier(const char *value)
CreateHsmConfigurationRequest & WithDescription(Aws::String &&value)
CreateHsmConfigurationRequest & WithHsmPartitionName(const Aws::String &value)
CreateHsmConfigurationRequest & WithHsmServerPublicCertificate(const char *value)
CreateHsmConfigurationRequest & AddTags(const Tag &value)
CreateHsmConfigurationRequest & WithDescription(const Aws::String &value)
CreateHsmConfigurationRequest & WithHsmPartitionName(Aws::String &&value)
CreateHsmConfigurationRequest & WithHsmIpAddress(Aws::String &&value)
CreateHsmConfigurationRequest & WithHsmServerPublicCertificate(const Aws::String &value)
CreateHsmConfigurationRequest & WithHsmPartitionName(const char *value)
CreateHsmConfigurationRequest & WithHsmConfigurationIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector