AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AwsElasticsearchDomainDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsElasticsearchDomainDomainEndpointOptions.h>
11#include <aws/securityhub/model/AwsElasticsearchDomainElasticsearchClusterConfigDetails.h>
12#include <aws/securityhub/model/AwsElasticsearchDomainEncryptionAtRestOptions.h>
13#include <aws/securityhub/model/AwsElasticsearchDomainLogPublishingOptions.h>
14#include <aws/securityhub/model/AwsElasticsearchDomainNodeToNodeEncryptionOptions.h>
15#include <aws/securityhub/model/AwsElasticsearchDomainServiceSoftwareOptions.h>
16#include <aws/securityhub/model/AwsElasticsearchDomainVPCOptions.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SecurityHub {
28namespace Model {
29
36 public:
37 AWS_SECURITYHUB_API AwsElasticsearchDomainDetails() = default;
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
47 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
48 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
49 template <typename AccessPoliciesT = Aws::String>
50 void SetAccessPolicies(AccessPoliciesT&& value) {
51 m_accessPoliciesHasBeenSet = true;
52 m_accessPolicies = std::forward<AccessPoliciesT>(value);
53 }
54 template <typename AccessPoliciesT = Aws::String>
56 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
57 return *this;
58 }
60
62
65 inline const AwsElasticsearchDomainDomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
66 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
67 template <typename DomainEndpointOptionsT = AwsElasticsearchDomainDomainEndpointOptions>
68 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
69 m_domainEndpointOptionsHasBeenSet = true;
70 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
71 }
72 template <typename DomainEndpointOptionsT = AwsElasticsearchDomainDomainEndpointOptions>
74 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetDomainId() const { return m_domainId; }
84 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
85 template <typename DomainIdT = Aws::String>
86 void SetDomainId(DomainIdT&& value) {
87 m_domainIdHasBeenSet = true;
88 m_domainId = std::forward<DomainIdT>(value);
89 }
90 template <typename DomainIdT = Aws::String>
92 SetDomainId(std::forward<DomainIdT>(value));
93 return *this;
94 }
96
98
105 inline const Aws::String& GetDomainName() const { return m_domainName; }
106 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
107 template <typename DomainNameT = Aws::String>
108 void SetDomainName(DomainNameT&& value) {
109 m_domainNameHasBeenSet = true;
110 m_domainName = std::forward<DomainNameT>(value);
111 }
112 template <typename DomainNameT = Aws::String>
114 SetDomainName(std::forward<DomainNameT>(value));
115 return *this;
116 }
118
120
124 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
125 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
126 template <typename EndpointT = Aws::String>
127 void SetEndpoint(EndpointT&& value) {
128 m_endpointHasBeenSet = true;
129 m_endpoint = std::forward<EndpointT>(value);
130 }
131 template <typename EndpointT = Aws::String>
133 SetEndpoint(std::forward<EndpointT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::Map<Aws::String, Aws::String>& GetEndpoints() const { return m_endpoints; }
144 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
145 template <typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
146 void SetEndpoints(EndpointsT&& value) {
147 m_endpointsHasBeenSet = true;
148 m_endpoints = std::forward<EndpointsT>(value);
149 }
150 template <typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
152 SetEndpoints(std::forward<EndpointsT>(value));
153 return *this;
154 }
155 template <typename EndpointsKeyT = Aws::String, typename EndpointsValueT = Aws::String>
156 AwsElasticsearchDomainDetails& AddEndpoints(EndpointsKeyT&& key, EndpointsValueT&& value) {
157 m_endpointsHasBeenSet = true;
158 m_endpoints.emplace(std::forward<EndpointsKeyT>(key), std::forward<EndpointsValueT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetElasticsearchVersion() const { return m_elasticsearchVersion; }
168 inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; }
169 template <typename ElasticsearchVersionT = Aws::String>
170 void SetElasticsearchVersion(ElasticsearchVersionT&& value) {
171 m_elasticsearchVersionHasBeenSet = true;
172 m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value);
173 }
174 template <typename ElasticsearchVersionT = Aws::String>
176 SetElasticsearchVersion(std::forward<ElasticsearchVersionT>(value));
177 return *this;
178 }
180
182
186 return m_elasticsearchClusterConfig;
187 }
188 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
189 template <typename ElasticsearchClusterConfigT = AwsElasticsearchDomainElasticsearchClusterConfigDetails>
190 void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
191 m_elasticsearchClusterConfigHasBeenSet = true;
192 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
193 }
194 template <typename ElasticsearchClusterConfigT = AwsElasticsearchDomainElasticsearchClusterConfigDetails>
195 AwsElasticsearchDomainDetails& WithElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
196 SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value));
197 return *this;
198 }
200
202
205 inline const AwsElasticsearchDomainEncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
206 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
207 template <typename EncryptionAtRestOptionsT = AwsElasticsearchDomainEncryptionAtRestOptions>
208 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
209 m_encryptionAtRestOptionsHasBeenSet = true;
210 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
211 }
212 template <typename EncryptionAtRestOptionsT = AwsElasticsearchDomainEncryptionAtRestOptions>
214 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
215 return *this;
216 }
218
220
223 inline const AwsElasticsearchDomainLogPublishingOptions& GetLogPublishingOptions() const { return m_logPublishingOptions; }
224 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
225 template <typename LogPublishingOptionsT = AwsElasticsearchDomainLogPublishingOptions>
226 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
227 m_logPublishingOptionsHasBeenSet = true;
228 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
229 }
230 template <typename LogPublishingOptionsT = AwsElasticsearchDomainLogPublishingOptions>
232 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
233 return *this;
234 }
236
238
242 return m_nodeToNodeEncryptionOptions;
243 }
244 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
245 template <typename NodeToNodeEncryptionOptionsT = AwsElasticsearchDomainNodeToNodeEncryptionOptions>
246 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
247 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
248 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
249 }
250 template <typename NodeToNodeEncryptionOptionsT = AwsElasticsearchDomainNodeToNodeEncryptionOptions>
251 AwsElasticsearchDomainDetails& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
252 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
253 return *this;
254 }
256
258
262 inline const AwsElasticsearchDomainServiceSoftwareOptions& GetServiceSoftwareOptions() const { return m_serviceSoftwareOptions; }
263 inline bool ServiceSoftwareOptionsHasBeenSet() const { return m_serviceSoftwareOptionsHasBeenSet; }
264 template <typename ServiceSoftwareOptionsT = AwsElasticsearchDomainServiceSoftwareOptions>
265 void SetServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) {
266 m_serviceSoftwareOptionsHasBeenSet = true;
267 m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value);
268 }
269 template <typename ServiceSoftwareOptionsT = AwsElasticsearchDomainServiceSoftwareOptions>
271 SetServiceSoftwareOptions(std::forward<ServiceSoftwareOptionsT>(value));
272 return *this;
273 }
275
277
281 inline const AwsElasticsearchDomainVPCOptions& GetVPCOptions() const { return m_vPCOptions; }
282 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
283 template <typename VPCOptionsT = AwsElasticsearchDomainVPCOptions>
284 void SetVPCOptions(VPCOptionsT&& value) {
285 m_vPCOptionsHasBeenSet = true;
286 m_vPCOptions = std::forward<VPCOptionsT>(value);
287 }
288 template <typename VPCOptionsT = AwsElasticsearchDomainVPCOptions>
290 SetVPCOptions(std::forward<VPCOptionsT>(value));
291 return *this;
292 }
294 private:
295 Aws::String m_accessPolicies;
296
297 AwsElasticsearchDomainDomainEndpointOptions m_domainEndpointOptions;
298
299 Aws::String m_domainId;
300
301 Aws::String m_domainName;
302
303 Aws::String m_endpoint;
304
306
307 Aws::String m_elasticsearchVersion;
308
310
311 AwsElasticsearchDomainEncryptionAtRestOptions m_encryptionAtRestOptions;
312
313 AwsElasticsearchDomainLogPublishingOptions m_logPublishingOptions;
314
315 AwsElasticsearchDomainNodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
316
317 AwsElasticsearchDomainServiceSoftwareOptions m_serviceSoftwareOptions;
318
320 bool m_accessPoliciesHasBeenSet = false;
321 bool m_domainEndpointOptionsHasBeenSet = false;
322 bool m_domainIdHasBeenSet = false;
323 bool m_domainNameHasBeenSet = false;
324 bool m_endpointHasBeenSet = false;
325 bool m_endpointsHasBeenSet = false;
326 bool m_elasticsearchVersionHasBeenSet = false;
327 bool m_elasticsearchClusterConfigHasBeenSet = false;
328 bool m_encryptionAtRestOptionsHasBeenSet = false;
329 bool m_logPublishingOptionsHasBeenSet = false;
330 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
331 bool m_serviceSoftwareOptionsHasBeenSet = false;
332 bool m_vPCOptionsHasBeenSet = false;
333};
334
335} // namespace Model
336} // namespace SecurityHub
337} // namespace Aws
AwsElasticsearchDomainDetails & WithAccessPolicies(AccessPoliciesT &&value)
void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
const AwsElasticsearchDomainElasticsearchClusterConfigDetails & GetElasticsearchClusterConfig() const
AwsElasticsearchDomainDetails & WithEndpoint(EndpointT &&value)
AWS_SECURITYHUB_API AwsElasticsearchDomainDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsElasticsearchDomainDetails()=default
AwsElasticsearchDomainDetails & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
const AwsElasticsearchDomainLogPublishingOptions & GetLogPublishingOptions() const
const AwsElasticsearchDomainVPCOptions & GetVPCOptions() const
const AwsElasticsearchDomainNodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
AwsElasticsearchDomainDetails & WithLogPublishingOptions(LogPublishingOptionsT &&value)
const AwsElasticsearchDomainDomainEndpointOptions & GetDomainEndpointOptions() const
AwsElasticsearchDomainDetails & WithElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
AwsElasticsearchDomainDetails & WithVPCOptions(VPCOptionsT &&value)
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEndpoints() const
const AwsElasticsearchDomainEncryptionAtRestOptions & GetEncryptionAtRestOptions() const
AwsElasticsearchDomainDetails & WithServiceSoftwareOptions(ServiceSoftwareOptionsT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElasticsearchDomainDetails & WithDomainName(DomainNameT &&value)
AwsElasticsearchDomainDetails & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
AWS_SECURITYHUB_API AwsElasticsearchDomainDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElasticsearchDomainDetails & WithEndpoints(EndpointsT &&value)
AwsElasticsearchDomainDetails & WithDomainId(DomainIdT &&value)
const AwsElasticsearchDomainServiceSoftwareOptions & GetServiceSoftwareOptions() const
AwsElasticsearchDomainDetails & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
AwsElasticsearchDomainDetails & AddEndpoints(EndpointsKeyT &&key, EndpointsValueT &&value)
AwsElasticsearchDomainDetails & WithElasticsearchVersion(ElasticsearchVersionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue