AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AccessPoliciesT = Aws::String>
56 void SetAccessPolicies(AccessPoliciesT&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::forward<AccessPoliciesT>(value); }
57 template<typename AccessPoliciesT = Aws::String>
58 AwsElasticsearchDomainDetails& WithAccessPolicies(AccessPoliciesT&& value) { SetAccessPolicies(std::forward<AccessPoliciesT>(value)); return *this;}
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) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value); }
69 template<typename DomainEndpointOptionsT = AwsElasticsearchDomainDomainEndpointOptions>
70 AwsElasticsearchDomainDetails& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) { SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDomainId() const { return m_domainId; }
78 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
79 template<typename DomainIdT = Aws::String>
80 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
81 template<typename DomainIdT = Aws::String>
82 AwsElasticsearchDomainDetails& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
84
86
93 inline const Aws::String& GetDomainName() const { return m_domainName; }
94 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
95 template<typename DomainNameT = Aws::String>
96 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
97 template<typename DomainNameT = Aws::String>
98 AwsElasticsearchDomainDetails& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
100
102
106 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
107 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
108 template<typename EndpointT = Aws::String>
109 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
110 template<typename EndpointT = Aws::String>
111 AwsElasticsearchDomainDetails& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
113
115
119 inline const Aws::Map<Aws::String, Aws::String>& GetEndpoints() const { return m_endpoints; }
120 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
121 template<typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
122 void SetEndpoints(EndpointsT&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::forward<EndpointsT>(value); }
123 template<typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
124 AwsElasticsearchDomainDetails& WithEndpoints(EndpointsT&& value) { SetEndpoints(std::forward<EndpointsT>(value)); return *this;}
125 template<typename EndpointsKeyT = Aws::String, typename EndpointsValueT = Aws::String>
126 AwsElasticsearchDomainDetails& AddEndpoints(EndpointsKeyT&& key, EndpointsValueT&& value) {
127 m_endpointsHasBeenSet = true; m_endpoints.emplace(std::forward<EndpointsKeyT>(key), std::forward<EndpointsValueT>(value)); return *this;
128 }
130
132
135 inline const Aws::String& GetElasticsearchVersion() const { return m_elasticsearchVersion; }
136 inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; }
137 template<typename ElasticsearchVersionT = Aws::String>
138 void SetElasticsearchVersion(ElasticsearchVersionT&& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value); }
139 template<typename ElasticsearchVersionT = Aws::String>
140 AwsElasticsearchDomainDetails& WithElasticsearchVersion(ElasticsearchVersionT&& value) { SetElasticsearchVersion(std::forward<ElasticsearchVersionT>(value)); return *this;}
142
144
147 inline const AwsElasticsearchDomainElasticsearchClusterConfigDetails& GetElasticsearchClusterConfig() const { return m_elasticsearchClusterConfig; }
148 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
149 template<typename ElasticsearchClusterConfigT = AwsElasticsearchDomainElasticsearchClusterConfigDetails>
150 void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value); }
151 template<typename ElasticsearchClusterConfigT = AwsElasticsearchDomainElasticsearchClusterConfigDetails>
152 AwsElasticsearchDomainDetails& WithElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) { SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value)); return *this;}
154
156
159 inline const AwsElasticsearchDomainEncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
160 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
161 template<typename EncryptionAtRestOptionsT = AwsElasticsearchDomainEncryptionAtRestOptions>
162 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value); }
163 template<typename EncryptionAtRestOptionsT = AwsElasticsearchDomainEncryptionAtRestOptions>
164 AwsElasticsearchDomainDetails& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value)); return *this;}
166
168
171 inline const AwsElasticsearchDomainLogPublishingOptions& GetLogPublishingOptions() const { return m_logPublishingOptions; }
172 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
173 template<typename LogPublishingOptionsT = AwsElasticsearchDomainLogPublishingOptions>
174 void SetLogPublishingOptions(LogPublishingOptionsT&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value); }
175 template<typename LogPublishingOptionsT = AwsElasticsearchDomainLogPublishingOptions>
176 AwsElasticsearchDomainDetails& WithLogPublishingOptions(LogPublishingOptionsT&& value) { SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value)); return *this;}
178
180
183 inline const AwsElasticsearchDomainNodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
184 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
185 template<typename NodeToNodeEncryptionOptionsT = AwsElasticsearchDomainNodeToNodeEncryptionOptions>
186 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value); }
187 template<typename NodeToNodeEncryptionOptionsT = AwsElasticsearchDomainNodeToNodeEncryptionOptions>
188 AwsElasticsearchDomainDetails& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) { SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value)); return *this;}
190
192
196 inline const AwsElasticsearchDomainServiceSoftwareOptions& GetServiceSoftwareOptions() const { return m_serviceSoftwareOptions; }
197 inline bool ServiceSoftwareOptionsHasBeenSet() const { return m_serviceSoftwareOptionsHasBeenSet; }
198 template<typename ServiceSoftwareOptionsT = AwsElasticsearchDomainServiceSoftwareOptions>
199 void SetServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) { m_serviceSoftwareOptionsHasBeenSet = true; m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value); }
200 template<typename ServiceSoftwareOptionsT = AwsElasticsearchDomainServiceSoftwareOptions>
201 AwsElasticsearchDomainDetails& WithServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) { SetServiceSoftwareOptions(std::forward<ServiceSoftwareOptionsT>(value)); return *this;}
203
205
209 inline const AwsElasticsearchDomainVPCOptions& GetVPCOptions() const { return m_vPCOptions; }
210 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
211 template<typename VPCOptionsT = AwsElasticsearchDomainVPCOptions>
212 void SetVPCOptions(VPCOptionsT&& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = std::forward<VPCOptionsT>(value); }
213 template<typename VPCOptionsT = AwsElasticsearchDomainVPCOptions>
214 AwsElasticsearchDomainDetails& WithVPCOptions(VPCOptionsT&& value) { SetVPCOptions(std::forward<VPCOptionsT>(value)); return *this;}
216 private:
217
218 Aws::String m_accessPolicies;
219 bool m_accessPoliciesHasBeenSet = false;
220
221 AwsElasticsearchDomainDomainEndpointOptions m_domainEndpointOptions;
222 bool m_domainEndpointOptionsHasBeenSet = false;
223
224 Aws::String m_domainId;
225 bool m_domainIdHasBeenSet = false;
226
227 Aws::String m_domainName;
228 bool m_domainNameHasBeenSet = false;
229
230 Aws::String m_endpoint;
231 bool m_endpointHasBeenSet = false;
232
234 bool m_endpointsHasBeenSet = false;
235
236 Aws::String m_elasticsearchVersion;
237 bool m_elasticsearchVersionHasBeenSet = false;
238
240 bool m_elasticsearchClusterConfigHasBeenSet = false;
241
242 AwsElasticsearchDomainEncryptionAtRestOptions m_encryptionAtRestOptions;
243 bool m_encryptionAtRestOptionsHasBeenSet = false;
244
245 AwsElasticsearchDomainLogPublishingOptions m_logPublishingOptions;
246 bool m_logPublishingOptionsHasBeenSet = false;
247
248 AwsElasticsearchDomainNodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
249 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
250
251 AwsElasticsearchDomainServiceSoftwareOptions m_serviceSoftwareOptions;
252 bool m_serviceSoftwareOptionsHasBeenSet = false;
253
255 bool m_vPCOptionsHasBeenSet = false;
256 };
257
258} // namespace Model
259} // namespace SecurityHub
260} // 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