AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsElasticsearchDomainDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsElasticsearchDomainDomainEndpointOptions.h>
10#include <aws/core/utils/memory/stl/AWSMap.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#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace SecurityHub
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_SECURITYHUB_API AwsElasticsearchDomainDetails();
45 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetAccessPolicies() const{ return m_accessPolicies; }
54 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
55 inline void SetAccessPolicies(const Aws::String& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; }
56 inline void SetAccessPolicies(Aws::String&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::move(value); }
57 inline void SetAccessPolicies(const char* value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies.assign(value); }
59 inline AwsElasticsearchDomainDetails& WithAccessPolicies(Aws::String&& value) { SetAccessPolicies(std::move(value)); return *this;}
60 inline AwsElasticsearchDomainDetails& WithAccessPolicies(const char* value) { SetAccessPolicies(value); return *this;}
62
64
67 inline const AwsElasticsearchDomainDomainEndpointOptions& GetDomainEndpointOptions() const{ return m_domainEndpointOptions; }
68 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
69 inline void SetDomainEndpointOptions(const AwsElasticsearchDomainDomainEndpointOptions& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = value; }
70 inline void SetDomainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::move(value); }
74
76
79 inline const Aws::String& GetDomainId() const{ return m_domainId; }
80 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
81 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
82 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
83 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
84 inline AwsElasticsearchDomainDetails& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
85 inline AwsElasticsearchDomainDetails& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
86 inline AwsElasticsearchDomainDetails& WithDomainId(const char* value) { SetDomainId(value); return *this;}
88
90
97 inline const Aws::String& GetDomainName() const{ return m_domainName; }
98 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
99 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
100 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
101 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
102 inline AwsElasticsearchDomainDetails& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
103 inline AwsElasticsearchDomainDetails& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
104 inline AwsElasticsearchDomainDetails& WithDomainName(const char* value) { SetDomainName(value); return *this;}
106
108
112 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
113 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
114 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
115 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
116 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
117 inline AwsElasticsearchDomainDetails& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
118 inline AwsElasticsearchDomainDetails& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
119 inline AwsElasticsearchDomainDetails& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
121
123
127 inline const Aws::Map<Aws::String, Aws::String>& GetEndpoints() const{ return m_endpoints; }
128 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
129 inline void SetEndpoints(const Aws::Map<Aws::String, Aws::String>& value) { m_endpointsHasBeenSet = true; m_endpoints = value; }
130 inline void SetEndpoints(Aws::Map<Aws::String, Aws::String>&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); }
133 inline AwsElasticsearchDomainDetails& AddEndpoints(const Aws::String& key, const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, value); return *this; }
134 inline AwsElasticsearchDomainDetails& AddEndpoints(Aws::String&& key, const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), value); return *this; }
135 inline AwsElasticsearchDomainDetails& AddEndpoints(const Aws::String& key, Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, std::move(value)); return *this; }
136 inline AwsElasticsearchDomainDetails& AddEndpoints(Aws::String&& key, Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), std::move(value)); return *this; }
137 inline AwsElasticsearchDomainDetails& AddEndpoints(const char* key, Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, std::move(value)); return *this; }
138 inline AwsElasticsearchDomainDetails& AddEndpoints(Aws::String&& key, const char* value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), value); return *this; }
139 inline AwsElasticsearchDomainDetails& AddEndpoints(const char* key, const char* value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, value); return *this; }
141
143
146 inline const Aws::String& GetElasticsearchVersion() const{ return m_elasticsearchVersion; }
147 inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; }
148 inline void SetElasticsearchVersion(const Aws::String& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = value; }
149 inline void SetElasticsearchVersion(Aws::String&& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = std::move(value); }
150 inline void SetElasticsearchVersion(const char* value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion.assign(value); }
153 inline AwsElasticsearchDomainDetails& WithElasticsearchVersion(const char* value) { SetElasticsearchVersion(value); return *this;}
155
157
160 inline const AwsElasticsearchDomainElasticsearchClusterConfigDetails& GetElasticsearchClusterConfig() const{ return m_elasticsearchClusterConfig; }
161 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
162 inline void SetElasticsearchClusterConfig(const AwsElasticsearchDomainElasticsearchClusterConfigDetails& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = value; }
163 inline void SetElasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails&& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = std::move(value); }
167
169
172 inline const AwsElasticsearchDomainEncryptionAtRestOptions& GetEncryptionAtRestOptions() const{ return m_encryptionAtRestOptions; }
173 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
174 inline void SetEncryptionAtRestOptions(const AwsElasticsearchDomainEncryptionAtRestOptions& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = value; }
175 inline void SetEncryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::move(value); }
179
181
184 inline const AwsElasticsearchDomainLogPublishingOptions& GetLogPublishingOptions() const{ return m_logPublishingOptions; }
185 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
186 inline void SetLogPublishingOptions(const AwsElasticsearchDomainLogPublishingOptions& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = value; }
187 inline void SetLogPublishingOptions(AwsElasticsearchDomainLogPublishingOptions&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::move(value); }
191
193
196 inline const AwsElasticsearchDomainNodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const{ return m_nodeToNodeEncryptionOptions; }
197 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
198 inline void SetNodeToNodeEncryptionOptions(const AwsElasticsearchDomainNodeToNodeEncryptionOptions& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = value; }
199 inline void SetNodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions&& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = std::move(value); }
203
205
209 inline const AwsElasticsearchDomainServiceSoftwareOptions& GetServiceSoftwareOptions() const{ return m_serviceSoftwareOptions; }
210 inline bool ServiceSoftwareOptionsHasBeenSet() const { return m_serviceSoftwareOptionsHasBeenSet; }
211 inline void SetServiceSoftwareOptions(const AwsElasticsearchDomainServiceSoftwareOptions& value) { m_serviceSoftwareOptionsHasBeenSet = true; m_serviceSoftwareOptions = value; }
212 inline void SetServiceSoftwareOptions(AwsElasticsearchDomainServiceSoftwareOptions&& value) { m_serviceSoftwareOptionsHasBeenSet = true; m_serviceSoftwareOptions = std::move(value); }
216
218
222 inline const AwsElasticsearchDomainVPCOptions& GetVPCOptions() const{ return m_vPCOptions; }
223 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
224 inline void SetVPCOptions(const AwsElasticsearchDomainVPCOptions& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = value; }
225 inline void SetVPCOptions(AwsElasticsearchDomainVPCOptions&& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = std::move(value); }
229 private:
230
231 Aws::String m_accessPolicies;
232 bool m_accessPoliciesHasBeenSet = false;
233
234 AwsElasticsearchDomainDomainEndpointOptions m_domainEndpointOptions;
235 bool m_domainEndpointOptionsHasBeenSet = false;
236
237 Aws::String m_domainId;
238 bool m_domainIdHasBeenSet = false;
239
240 Aws::String m_domainName;
241 bool m_domainNameHasBeenSet = false;
242
243 Aws::String m_endpoint;
244 bool m_endpointHasBeenSet = false;
245
247 bool m_endpointsHasBeenSet = false;
248
249 Aws::String m_elasticsearchVersion;
250 bool m_elasticsearchVersionHasBeenSet = false;
251
253 bool m_elasticsearchClusterConfigHasBeenSet = false;
254
255 AwsElasticsearchDomainEncryptionAtRestOptions m_encryptionAtRestOptions;
256 bool m_encryptionAtRestOptionsHasBeenSet = false;
257
258 AwsElasticsearchDomainLogPublishingOptions m_logPublishingOptions;
259 bool m_logPublishingOptionsHasBeenSet = false;
260
261 AwsElasticsearchDomainNodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
262 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
263
264 AwsElasticsearchDomainServiceSoftwareOptions m_serviceSoftwareOptions;
265 bool m_serviceSoftwareOptionsHasBeenSet = false;
266
268 bool m_vPCOptionsHasBeenSet = false;
269 };
270
271} // namespace Model
272} // namespace SecurityHub
273} // namespace Aws
void SetNodeToNodeEncryptionOptions(const AwsElasticsearchDomainNodeToNodeEncryptionOptions &value)
AwsElasticsearchDomainDetails & WithElasticsearchVersion(const Aws::String &value)
AwsElasticsearchDomainDetails & AddEndpoints(const char *key, const char *value)
void SetServiceSoftwareOptions(const AwsElasticsearchDomainServiceSoftwareOptions &value)
const AwsElasticsearchDomainElasticsearchClusterConfigDetails & GetElasticsearchClusterConfig() const
AwsElasticsearchDomainDetails & WithEndpoints(const Aws::Map< Aws::String, Aws::String > &value)
AwsElasticsearchDomainDetails & WithEncryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions &&value)
AwsElasticsearchDomainDetails & WithAccessPolicies(const char *value)
AwsElasticsearchDomainDetails & WithEncryptionAtRestOptions(const AwsElasticsearchDomainEncryptionAtRestOptions &value)
AwsElasticsearchDomainDetails & AddEndpoints(Aws::String &&key, const Aws::String &value)
AWS_SECURITYHUB_API AwsElasticsearchDomainDetails(Aws::Utils::Json::JsonView jsonValue)
AwsElasticsearchDomainDetails & AddEndpoints(const char *key, Aws::String &&value)
AwsElasticsearchDomainDetails & WithServiceSoftwareOptions(AwsElasticsearchDomainServiceSoftwareOptions &&value)
AwsElasticsearchDomainDetails & AddEndpoints(const Aws::String &key, Aws::String &&value)
const AwsElasticsearchDomainLogPublishingOptions & GetLogPublishingOptions() const
AwsElasticsearchDomainDetails & WithElasticsearchClusterConfig(const AwsElasticsearchDomainElasticsearchClusterConfigDetails &value)
AwsElasticsearchDomainDetails & WithNodeToNodeEncryptionOptions(const AwsElasticsearchDomainNodeToNodeEncryptionOptions &value)
const AwsElasticsearchDomainVPCOptions & GetVPCOptions() const
void SetEndpoints(const Aws::Map< Aws::String, Aws::String > &value)
void SetVPCOptions(AwsElasticsearchDomainVPCOptions &&value)
const AwsElasticsearchDomainNodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
AwsElasticsearchDomainDetails & WithLogPublishingOptions(AwsElasticsearchDomainLogPublishingOptions &&value)
AwsElasticsearchDomainDetails & WithVPCOptions(AwsElasticsearchDomainVPCOptions &&value)
AwsElasticsearchDomainDetails & WithServiceSoftwareOptions(const AwsElasticsearchDomainServiceSoftwareOptions &value)
AwsElasticsearchDomainDetails & WithEndpoint(Aws::String &&value)
AwsElasticsearchDomainDetails & WithAccessPolicies(Aws::String &&value)
const AwsElasticsearchDomainDomainEndpointOptions & GetDomainEndpointOptions() const
AwsElasticsearchDomainDetails & WithAccessPolicies(const Aws::String &value)
AwsElasticsearchDomainDetails & WithEndpoints(Aws::Map< Aws::String, Aws::String > &&value)
void SetElasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails &&value)
AwsElasticsearchDomainDetails & WithEndpoint(const char *value)
void SetLogPublishingOptions(const AwsElasticsearchDomainLogPublishingOptions &value)
AwsElasticsearchDomainDetails & WithVPCOptions(const AwsElasticsearchDomainVPCOptions &value)
void SetVPCOptions(const AwsElasticsearchDomainVPCOptions &value)
AwsElasticsearchDomainDetails & WithDomainId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetEndpoints() const
AwsElasticsearchDomainDetails & WithDomainEndpointOptions(const AwsElasticsearchDomainDomainEndpointOptions &value)
AwsElasticsearchDomainDetails & WithLogPublishingOptions(const AwsElasticsearchDomainLogPublishingOptions &value)
AwsElasticsearchDomainDetails & WithDomainId(const char *value)
const AwsElasticsearchDomainEncryptionAtRestOptions & GetEncryptionAtRestOptions() const
AwsElasticsearchDomainDetails & WithDomainName(const char *value)
AwsElasticsearchDomainDetails & WithDomainName(Aws::String &&value)
void SetNodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions &&value)
void SetLogPublishingOptions(AwsElasticsearchDomainLogPublishingOptions &&value)
void SetElasticsearchClusterConfig(const AwsElasticsearchDomainElasticsearchClusterConfigDetails &value)
void SetServiceSoftwareOptions(AwsElasticsearchDomainServiceSoftwareOptions &&value)
AwsElasticsearchDomainDetails & WithDomainName(const Aws::String &value)
AwsElasticsearchDomainDetails & AddEndpoints(Aws::String &&key, Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElasticsearchDomainDetails & WithDomainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions &&value)
AwsElasticsearchDomainDetails & WithNodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions &&value)
void SetEncryptionAtRestOptions(const AwsElasticsearchDomainEncryptionAtRestOptions &value)
AwsElasticsearchDomainDetails & AddEndpoints(Aws::String &&key, const char *value)
AwsElasticsearchDomainDetails & WithElasticsearchVersion(const char *value)
AWS_SECURITYHUB_API AwsElasticsearchDomainDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElasticsearchDomainDetails & WithElasticsearchVersion(Aws::String &&value)
void SetDomainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions &&value)
void SetEncryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions &&value)
AwsElasticsearchDomainDetails & WithElasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails &&value)
const AwsElasticsearchDomainServiceSoftwareOptions & GetServiceSoftwareOptions() const
AwsElasticsearchDomainDetails & AddEndpoints(const Aws::String &key, const Aws::String &value)
void SetEndpoints(Aws::Map< Aws::String, Aws::String > &&value)
AwsElasticsearchDomainDetails & WithDomainId(const Aws::String &value)
void SetDomainEndpointOptions(const AwsElasticsearchDomainDomainEndpointOptions &value)
AwsElasticsearchDomainDetails & WithEndpoint(const Aws::String &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