AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateHsmClientCertificateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/Tag.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Redshift {
17namespace Model {
18
25 public:
26 AWS_REDSHIFT_API CreateHsmClientCertificateRequest() = 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 "CreateHsmClientCertificate"; }
33
34 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
45 inline const Aws::String& GetHsmClientCertificateIdentifier() const { return m_hsmClientCertificateIdentifier; }
46 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
47 template <typename HsmClientCertificateIdentifierT = Aws::String>
48 void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) {
49 m_hsmClientCertificateIdentifierHasBeenSet = true;
50 m_hsmClientCertificateIdentifier = std::forward<HsmClientCertificateIdentifierT>(value);
51 }
52 template <typename HsmClientCertificateIdentifierT = Aws::String>
54 SetHsmClientCertificateIdentifier(std::forward<HsmClientCertificateIdentifierT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
64 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
65 template <typename TagsT = Aws::Vector<Tag>>
66 void SetTags(TagsT&& value) {
67 m_tagsHasBeenSet = true;
68 m_tags = std::forward<TagsT>(value);
69 }
70 template <typename TagsT = Aws::Vector<Tag>>
72 SetTags(std::forward<TagsT>(value));
73 return *this;
74 }
75 template <typename TagsT = Tag>
77 m_tagsHasBeenSet = true;
78 m_tags.emplace_back(std::forward<TagsT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_hsmClientCertificateIdentifier;
84
85 Aws::Vector<Tag> m_tags;
86 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
87 bool m_tagsHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Redshift
92} // namespace Aws
AWS_REDSHIFT_API Aws::String SerializePayload() const override
CreateHsmClientCertificateRequest & AddTags(TagsT &&value)
AWS_REDSHIFT_API CreateHsmClientCertificateRequest()=default
void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateHsmClientCertificateRequest & WithTags(TagsT &&value)
CreateHsmClientCertificateRequest & WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector