AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateTrustStoreRequest.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/elasticloadbalancingv2/ElasticLoadBalancingv2Request.h>
10#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
11#include <aws/elasticloadbalancingv2/model/Tag.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ElasticLoadBalancingv2 {
17namespace Model {
18
22 public:
23 AWS_ELASTICLOADBALANCINGV2_API CreateTrustStoreRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateTrustStore"; }
30
31 AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetCaCertificatesBundleS3Bucket() const { return m_caCertificatesBundleS3Bucket; }
61 inline bool CaCertificatesBundleS3BucketHasBeenSet() const { return m_caCertificatesBundleS3BucketHasBeenSet; }
62 template <typename CaCertificatesBundleS3BucketT = Aws::String>
63 void SetCaCertificatesBundleS3Bucket(CaCertificatesBundleS3BucketT&& value) {
64 m_caCertificatesBundleS3BucketHasBeenSet = true;
65 m_caCertificatesBundleS3Bucket = std::forward<CaCertificatesBundleS3BucketT>(value);
66 }
67 template <typename CaCertificatesBundleS3BucketT = Aws::String>
68 CreateTrustStoreRequest& WithCaCertificatesBundleS3Bucket(CaCertificatesBundleS3BucketT&& value) {
69 SetCaCertificatesBundleS3Bucket(std::forward<CaCertificatesBundleS3BucketT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetCaCertificatesBundleS3Key() const { return m_caCertificatesBundleS3Key; }
79 inline bool CaCertificatesBundleS3KeyHasBeenSet() const { return m_caCertificatesBundleS3KeyHasBeenSet; }
80 template <typename CaCertificatesBundleS3KeyT = Aws::String>
81 void SetCaCertificatesBundleS3Key(CaCertificatesBundleS3KeyT&& value) {
82 m_caCertificatesBundleS3KeyHasBeenSet = true;
83 m_caCertificatesBundleS3Key = std::forward<CaCertificatesBundleS3KeyT>(value);
84 }
85 template <typename CaCertificatesBundleS3KeyT = Aws::String>
86 CreateTrustStoreRequest& WithCaCertificatesBundleS3Key(CaCertificatesBundleS3KeyT&& value) {
87 SetCaCertificatesBundleS3Key(std::forward<CaCertificatesBundleS3KeyT>(value));
88 return *this;
89 }
91
93
97 inline const Aws::String& GetCaCertificatesBundleS3ObjectVersion() const { return m_caCertificatesBundleS3ObjectVersion; }
98 inline bool CaCertificatesBundleS3ObjectVersionHasBeenSet() const { return m_caCertificatesBundleS3ObjectVersionHasBeenSet; }
99 template <typename CaCertificatesBundleS3ObjectVersionT = Aws::String>
100 void SetCaCertificatesBundleS3ObjectVersion(CaCertificatesBundleS3ObjectVersionT&& value) {
101 m_caCertificatesBundleS3ObjectVersionHasBeenSet = true;
102 m_caCertificatesBundleS3ObjectVersion = std::forward<CaCertificatesBundleS3ObjectVersionT>(value);
103 }
104 template <typename CaCertificatesBundleS3ObjectVersionT = Aws::String>
105 CreateTrustStoreRequest& WithCaCertificatesBundleS3ObjectVersion(CaCertificatesBundleS3ObjectVersionT&& value) {
106 SetCaCertificatesBundleS3ObjectVersion(std::forward<CaCertificatesBundleS3ObjectVersionT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
116 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
117 template <typename TagsT = Aws::Vector<Tag>>
118 void SetTags(TagsT&& value) {
119 m_tagsHasBeenSet = true;
120 m_tags = std::forward<TagsT>(value);
121 }
122 template <typename TagsT = Aws::Vector<Tag>>
124 SetTags(std::forward<TagsT>(value));
125 return *this;
126 }
127 template <typename TagsT = Tag>
129 m_tagsHasBeenSet = true;
130 m_tags.emplace_back(std::forward<TagsT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_name;
136
137 Aws::String m_caCertificatesBundleS3Bucket;
138
139 Aws::String m_caCertificatesBundleS3Key;
140
141 Aws::String m_caCertificatesBundleS3ObjectVersion;
142
143 Aws::Vector<Tag> m_tags;
144 bool m_nameHasBeenSet = false;
145 bool m_caCertificatesBundleS3BucketHasBeenSet = false;
146 bool m_caCertificatesBundleS3KeyHasBeenSet = false;
147 bool m_caCertificatesBundleS3ObjectVersionHasBeenSet = false;
148 bool m_tagsHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace ElasticLoadBalancingv2
153} // namespace Aws
CreateTrustStoreRequest & WithCaCertificatesBundleS3ObjectVersion(CaCertificatesBundleS3ObjectVersionT &&value)
void SetCaCertificatesBundleS3Bucket(CaCertificatesBundleS3BucketT &&value)
CreateTrustStoreRequest & WithCaCertificatesBundleS3Key(CaCertificatesBundleS3KeyT &&value)
void SetCaCertificatesBundleS3Key(CaCertificatesBundleS3KeyT &&value)
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
CreateTrustStoreRequest & WithCaCertificatesBundleS3Bucket(CaCertificatesBundleS3BucketT &&value)
void SetCaCertificatesBundleS3ObjectVersion(CaCertificatesBundleS3ObjectVersionT &&value)
AWS_ELASTICLOADBALANCINGV2_API CreateTrustStoreRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector