AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsOpenSearchServiceDomainDetails.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/AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails.h>
10#include <aws/securityhub/model/AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails.h>
11#include <aws/securityhub/model/AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails.h>
12#include <aws/securityhub/model/AwsOpenSearchServiceDomainClusterConfigDetails.h>
13#include <aws/securityhub/model/AwsOpenSearchServiceDomainDomainEndpointOptionsDetails.h>
14#include <aws/securityhub/model/AwsOpenSearchServiceDomainVpcOptionsDetails.h>
15#include <aws/securityhub/model/AwsOpenSearchServiceDomainLogPublishingOptionsDetails.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/securityhub/model/AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace SecurityHub
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_SECURITYHUB_API AwsOpenSearchServiceDomainDetails() = default;
47 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetArn() const { return m_arn; }
55 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 template<typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
58 template<typename ArnT = Aws::String>
59 AwsOpenSearchServiceDomainDetails& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
61
63
67 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
68 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
69 template<typename AccessPoliciesT = Aws::String>
70 void SetAccessPolicies(AccessPoliciesT&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::forward<AccessPoliciesT>(value); }
71 template<typename AccessPoliciesT = Aws::String>
72 AwsOpenSearchServiceDomainDetails& WithAccessPolicies(AccessPoliciesT&& value) { SetAccessPolicies(std::forward<AccessPoliciesT>(value)); return *this;}
74
76
79 inline const Aws::String& GetDomainName() const { return m_domainName; }
80 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
81 template<typename DomainNameT = Aws::String>
82 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
83 template<typename DomainNameT = Aws::String>
84 AwsOpenSearchServiceDomainDetails& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
86
88
91 inline const Aws::String& GetId() const { return m_id; }
92 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
93 template<typename IdT = Aws::String>
94 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
95 template<typename IdT = Aws::String>
96 AwsOpenSearchServiceDomainDetails& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
98
100
103 inline const Aws::String& GetDomainEndpoint() const { return m_domainEndpoint; }
104 inline bool DomainEndpointHasBeenSet() const { return m_domainEndpointHasBeenSet; }
105 template<typename DomainEndpointT = Aws::String>
106 void SetDomainEndpoint(DomainEndpointT&& value) { m_domainEndpointHasBeenSet = true; m_domainEndpoint = std::forward<DomainEndpointT>(value); }
107 template<typename DomainEndpointT = Aws::String>
108 AwsOpenSearchServiceDomainDetails& WithDomainEndpoint(DomainEndpointT&& value) { SetDomainEndpoint(std::forward<DomainEndpointT>(value)); return *this;}
110
112
115 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
116 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
117 template<typename EngineVersionT = Aws::String>
118 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
119 template<typename EngineVersionT = Aws::String>
120 AwsOpenSearchServiceDomainDetails& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
122
124
127 inline const AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
128 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
129 template<typename EncryptionAtRestOptionsT = AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails>
130 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value); }
131 template<typename EncryptionAtRestOptionsT = AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails>
132 AwsOpenSearchServiceDomainDetails& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value)); return *this;}
134
136
139 inline const AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
140 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
141 template<typename NodeToNodeEncryptionOptionsT = AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails>
142 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value); }
143 template<typename NodeToNodeEncryptionOptionsT = AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails>
144 AwsOpenSearchServiceDomainDetails& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) { SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value)); return *this;}
146
148
152 inline const AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails& GetServiceSoftwareOptions() const { return m_serviceSoftwareOptions; }
153 inline bool ServiceSoftwareOptionsHasBeenSet() const { return m_serviceSoftwareOptionsHasBeenSet; }
154 template<typename ServiceSoftwareOptionsT = AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails>
155 void SetServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) { m_serviceSoftwareOptionsHasBeenSet = true; m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value); }
156 template<typename ServiceSoftwareOptionsT = AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails>
157 AwsOpenSearchServiceDomainDetails& WithServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) { SetServiceSoftwareOptions(std::forward<ServiceSoftwareOptionsT>(value)); return *this;}
159
161
164 inline const AwsOpenSearchServiceDomainClusterConfigDetails& GetClusterConfig() const { return m_clusterConfig; }
165 inline bool ClusterConfigHasBeenSet() const { return m_clusterConfigHasBeenSet; }
166 template<typename ClusterConfigT = AwsOpenSearchServiceDomainClusterConfigDetails>
167 void SetClusterConfig(ClusterConfigT&& value) { m_clusterConfigHasBeenSet = true; m_clusterConfig = std::forward<ClusterConfigT>(value); }
168 template<typename ClusterConfigT = AwsOpenSearchServiceDomainClusterConfigDetails>
169 AwsOpenSearchServiceDomainDetails& WithClusterConfig(ClusterConfigT&& value) { SetClusterConfig(std::forward<ClusterConfigT>(value)); return *this;}
171
173
176 inline const AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
177 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
178 template<typename DomainEndpointOptionsT = AwsOpenSearchServiceDomainDomainEndpointOptionsDetails>
179 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value); }
180 template<typename DomainEndpointOptionsT = AwsOpenSearchServiceDomainDomainEndpointOptionsDetails>
181 AwsOpenSearchServiceDomainDetails& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) { SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value)); return *this;}
183
185
189 inline const AwsOpenSearchServiceDomainVpcOptionsDetails& GetVpcOptions() const { return m_vpcOptions; }
190 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
191 template<typename VpcOptionsT = AwsOpenSearchServiceDomainVpcOptionsDetails>
192 void SetVpcOptions(VpcOptionsT&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::forward<VpcOptionsT>(value); }
193 template<typename VpcOptionsT = AwsOpenSearchServiceDomainVpcOptionsDetails>
194 AwsOpenSearchServiceDomainDetails& WithVpcOptions(VpcOptionsT&& value) { SetVpcOptions(std::forward<VpcOptionsT>(value)); return *this;}
196
198
201 inline const AwsOpenSearchServiceDomainLogPublishingOptionsDetails& GetLogPublishingOptions() const { return m_logPublishingOptions; }
202 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
203 template<typename LogPublishingOptionsT = AwsOpenSearchServiceDomainLogPublishingOptionsDetails>
204 void SetLogPublishingOptions(LogPublishingOptionsT&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value); }
205 template<typename LogPublishingOptionsT = AwsOpenSearchServiceDomainLogPublishingOptionsDetails>
206 AwsOpenSearchServiceDomainDetails& WithLogPublishingOptions(LogPublishingOptionsT&& value) { SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value)); return *this;}
208
210
215 inline const Aws::Map<Aws::String, Aws::String>& GetDomainEndpoints() const { return m_domainEndpoints; }
216 inline bool DomainEndpointsHasBeenSet() const { return m_domainEndpointsHasBeenSet; }
217 template<typename DomainEndpointsT = Aws::Map<Aws::String, Aws::String>>
218 void SetDomainEndpoints(DomainEndpointsT&& value) { m_domainEndpointsHasBeenSet = true; m_domainEndpoints = std::forward<DomainEndpointsT>(value); }
219 template<typename DomainEndpointsT = Aws::Map<Aws::String, Aws::String>>
220 AwsOpenSearchServiceDomainDetails& WithDomainEndpoints(DomainEndpointsT&& value) { SetDomainEndpoints(std::forward<DomainEndpointsT>(value)); return *this;}
221 template<typename DomainEndpointsKeyT = Aws::String, typename DomainEndpointsValueT = Aws::String>
222 AwsOpenSearchServiceDomainDetails& AddDomainEndpoints(DomainEndpointsKeyT&& key, DomainEndpointsValueT&& value) {
223 m_domainEndpointsHasBeenSet = true; m_domainEndpoints.emplace(std::forward<DomainEndpointsKeyT>(key), std::forward<DomainEndpointsValueT>(value)); return *this;
224 }
226
228
231 inline const AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
232 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
233 template<typename AdvancedSecurityOptionsT = AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails>
234 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value); }
235 template<typename AdvancedSecurityOptionsT = AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails>
236 AwsOpenSearchServiceDomainDetails& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) { SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value)); return *this;}
238 private:
239
240 Aws::String m_arn;
241 bool m_arnHasBeenSet = false;
242
243 Aws::String m_accessPolicies;
244 bool m_accessPoliciesHasBeenSet = false;
245
246 Aws::String m_domainName;
247 bool m_domainNameHasBeenSet = false;
248
249 Aws::String m_id;
250 bool m_idHasBeenSet = false;
251
252 Aws::String m_domainEndpoint;
253 bool m_domainEndpointHasBeenSet = false;
254
255 Aws::String m_engineVersion;
256 bool m_engineVersionHasBeenSet = false;
257
259 bool m_encryptionAtRestOptionsHasBeenSet = false;
260
262 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
263
265 bool m_serviceSoftwareOptionsHasBeenSet = false;
266
268 bool m_clusterConfigHasBeenSet = false;
269
271 bool m_domainEndpointOptionsHasBeenSet = false;
272
274 bool m_vpcOptionsHasBeenSet = false;
275
277 bool m_logPublishingOptionsHasBeenSet = false;
278
279 Aws::Map<Aws::String, Aws::String> m_domainEndpoints;
280 bool m_domainEndpointsHasBeenSet = false;
281
283 bool m_advancedSecurityOptionsHasBeenSet = false;
284 };
285
286} // namespace Model
287} // namespace SecurityHub
288} // namespace Aws
const AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails & GetServiceSoftwareOptions() const
AwsOpenSearchServiceDomainDetails & WithDomainName(DomainNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDomainEndpoints() const
AwsOpenSearchServiceDomainDetails & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
const AwsOpenSearchServiceDomainVpcOptionsDetails & GetVpcOptions() const
AWS_SECURITYHUB_API AwsOpenSearchServiceDomainDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsOpenSearchServiceDomainDetails & WithLogPublishingOptions(LogPublishingOptionsT &&value)
const AwsOpenSearchServiceDomainLogPublishingOptionsDetails & GetLogPublishingOptions() const
const AwsOpenSearchServiceDomainClusterConfigDetails & GetClusterConfig() const
const AwsOpenSearchServiceDomainDomainEndpointOptionsDetails & GetDomainEndpointOptions() const
AwsOpenSearchServiceDomainDetails & WithEngineVersion(EngineVersionT &&value)
AwsOpenSearchServiceDomainDetails & AddDomainEndpoints(DomainEndpointsKeyT &&key, DomainEndpointsValueT &&value)
AwsOpenSearchServiceDomainDetails & WithServiceSoftwareOptions(ServiceSoftwareOptionsT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails & GetAdvancedSecurityOptions() const
AwsOpenSearchServiceDomainDetails & WithAccessPolicies(AccessPoliciesT &&value)
const AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails & GetEncryptionAtRestOptions() const
const AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails & GetNodeToNodeEncryptionOptions() const
AwsOpenSearchServiceDomainDetails & WithDomainEndpoint(DomainEndpointT &&value)
AwsOpenSearchServiceDomainDetails & WithClusterConfig(ClusterConfigT &&value)
AwsOpenSearchServiceDomainDetails & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
AWS_SECURITYHUB_API AwsOpenSearchServiceDomainDetails()=default
AwsOpenSearchServiceDomainDetails & WithVpcOptions(VpcOptionsT &&value)
AwsOpenSearchServiceDomainDetails & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
AwsOpenSearchServiceDomainDetails & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
AwsOpenSearchServiceDomainDetails & WithDomainEndpoints(DomainEndpointsT &&value)
AWS_SECURITYHUB_API AwsOpenSearchServiceDomainDetails(Aws::Utils::Json::JsonView jsonValue)
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