AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateHsmClientCertificateRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Redshift
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_REDSHIFT_API CreateHsmClientCertificateRequest() = default;
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 "CreateHsmClientCertificate"; }
36
37 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
49 inline const Aws::String& GetHsmClientCertificateIdentifier() const { return m_hsmClientCertificateIdentifier; }
50 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
51 template<typename HsmClientCertificateIdentifierT = Aws::String>
52 void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::forward<HsmClientCertificateIdentifierT>(value); }
53 template<typename HsmClientCertificateIdentifierT = Aws::String>
54 CreateHsmClientCertificateRequest& WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) { SetHsmClientCertificateIdentifier(std::forward<HsmClientCertificateIdentifierT>(value)); return *this;}
56
58
61 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
62 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
63 template<typename TagsT = Aws::Vector<Tag>>
64 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
65 template<typename TagsT = Aws::Vector<Tag>>
66 CreateHsmClientCertificateRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
67 template<typename TagsT = Tag>
68 CreateHsmClientCertificateRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
70 private:
71
72 Aws::String m_hsmClientCertificateIdentifier;
73 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
74
75 Aws::Vector<Tag> m_tags;
76 bool m_tagsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Redshift
81} // 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