7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/ElasticsearchServiceRequest.h>
10#include <aws/es/ElasticsearchService_EXPORTS.h>
11#include <aws/es/model/AdvancedSecurityOptionsInput.h>
12#include <aws/es/model/AutoTuneOptions.h>
13#include <aws/es/model/CognitoOptions.h>
14#include <aws/es/model/DomainEndpointOptions.h>
15#include <aws/es/model/EBSOptions.h>
16#include <aws/es/model/ElasticsearchClusterConfig.h>
17#include <aws/es/model/EncryptionAtRestOptions.h>
18#include <aws/es/model/LogPublishingOption.h>
19#include <aws/es/model/LogType.h>
20#include <aws/es/model/NodeToNodeEncryptionOptions.h>
21#include <aws/es/model/SnapshotOptions.h>
22#include <aws/es/model/VPCOptions.h>
27namespace ElasticsearchService {
55 template <
typename DomainNameT = Aws::String>
57 m_domainNameHasBeenSet =
true;
58 m_domainName = std::forward<DomainNameT>(value);
60 template <
typename DomainNameT = Aws::String>
73 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
75 m_elasticsearchClusterConfigHasBeenSet =
true;
76 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
78 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
91 template <
typename EBSOptionsT = EBSOptions>
93 m_eBSOptionsHasBeenSet =
true;
94 m_eBSOptions = std::forward<EBSOptionsT>(value);
96 template <
typename EBSOptionsT = EBSOptions>
110 template <
typename SnapshotOptionsT = SnapshotOptions>
112 m_snapshotOptionsHasBeenSet =
true;
113 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
115 template <
typename SnapshotOptionsT = SnapshotOptions>
132 template <
typename VPCOptionsT = VPCOptions>
134 m_vPCOptionsHasBeenSet =
true;
135 m_vPCOptions = std::forward<VPCOptionsT>(value);
137 template <
typename VPCOptionsT = VPCOptions>
153 template <
typename CognitoOptionsT = CognitoOptions>
155 m_cognitoOptionsHasBeenSet =
true;
156 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
158 template <
typename CognitoOptionsT = CognitoOptions>
175 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
177 m_advancedOptionsHasBeenSet =
true;
178 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
180 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
185 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
187 m_advancedOptionsHasBeenSet =
true;
188 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
199 template <
typename AccessPoliciesT = Aws::String>
201 m_accessPoliciesHasBeenSet =
true;
202 m_accessPolicies = std::forward<AccessPoliciesT>(value);
204 template <
typename AccessPoliciesT = Aws::String>
218 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
220 m_logPublishingOptionsHasBeenSet =
true;
221 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
223 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
229 m_logPublishingOptionsHasBeenSet =
true;
230 m_logPublishingOptions.emplace(key, value);
242 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
244 m_domainEndpointOptionsHasBeenSet =
true;
245 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
247 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
260 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
262 m_advancedSecurityOptionsHasBeenSet =
true;
263 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
265 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
278 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
280 m_nodeToNodeEncryptionOptionsHasBeenSet =
true;
281 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
283 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
296 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
298 m_encryptionAtRestOptionsHasBeenSet =
true;
299 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
301 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
314 template <
typename AutoTuneOptionsT = AutoTuneOptions>
316 m_autoTuneOptionsHasBeenSet =
true;
317 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
319 template <
typename AutoTuneOptionsT = AutoTuneOptions>
337 m_dryRunHasBeenSet =
true;
374 bool m_dryRun{
false};
375 bool m_domainNameHasBeenSet =
false;
376 bool m_elasticsearchClusterConfigHasBeenSet =
false;
377 bool m_eBSOptionsHasBeenSet =
false;
378 bool m_snapshotOptionsHasBeenSet =
false;
379 bool m_vPCOptionsHasBeenSet =
false;
380 bool m_cognitoOptionsHasBeenSet =
false;
381 bool m_advancedOptionsHasBeenSet =
false;
382 bool m_accessPoliciesHasBeenSet =
false;
383 bool m_logPublishingOptionsHasBeenSet =
false;
384 bool m_domainEndpointOptionsHasBeenSet =
false;
385 bool m_advancedSecurityOptionsHasBeenSet =
false;
386 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
387 bool m_encryptionAtRestOptionsHasBeenSet =
false;
388 bool m_autoTuneOptionsHasBeenSet =
false;
389 bool m_dryRunHasBeenSet =
false;
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
bool CognitoOptionsHasBeenSet() const
const NodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
UpdateElasticsearchDomainConfigRequest & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdvancedOptions() const
UpdateElasticsearchDomainConfigRequest & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & WithEBSOptions(EBSOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
void SetAdvancedOptions(AdvancedOptionsT &&value)
void SetAccessPolicies(AccessPoliciesT &&value)
const CognitoOptions & GetCognitoOptions() const
UpdateElasticsearchDomainConfigRequest & WithDomainName(DomainNameT &&value)
UpdateElasticsearchDomainConfigRequest & WithDryRun(bool value)
void SetDomainName(DomainNameT &&value)
UpdateElasticsearchDomainConfigRequest & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & AddLogPublishingOptions(LogType key, LogPublishingOption value)
bool EncryptionAtRestOptionsHasBeenSet() const
UpdateElasticsearchDomainConfigRequest & WithAdvancedOptions(AdvancedOptionsT &&value)
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
bool DryRunHasBeenSet() const
void SetCognitoOptions(CognitoOptionsT &&value)
bool EBSOptionsHasBeenSet() const
bool AdvancedSecurityOptionsHasBeenSet() const
bool ElasticsearchClusterConfigHasBeenSet() const
void SetVPCOptions(VPCOptionsT &&value)
bool NodeToNodeEncryptionOptionsHasBeenSet() const
const SnapshotOptions & GetSnapshotOptions() const
bool DomainEndpointOptionsHasBeenSet() const
UpdateElasticsearchDomainConfigRequest & WithSnapshotOptions(SnapshotOptionsT &&value)
bool AutoTuneOptionsHasBeenSet() const
const AdvancedSecurityOptionsInput & GetAdvancedSecurityOptions() const
const ElasticsearchClusterConfig & GetElasticsearchClusterConfig() const
UpdateElasticsearchDomainConfigRequest & WithAutoTuneOptions(AutoTuneOptionsT &&value)
bool AccessPoliciesHasBeenSet() const
const Aws::String & GetDomainName() const
virtual const char * GetServiceRequestName() const override
UpdateElasticsearchDomainConfigRequest & WithVPCOptions(VPCOptionsT &&value)
const VPCOptions & GetVPCOptions() const
void SetDryRun(bool value)
bool VPCOptionsHasBeenSet() const
void SetSnapshotOptions(SnapshotOptionsT &&value)
const AutoTuneOptions & GetAutoTuneOptions() const
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(AdvancedOptionsKeyT &&key, AdvancedOptionsValueT &&value)
void SetAutoTuneOptions(AutoTuneOptionsT &&value)
const EBSOptions & GetEBSOptions() const
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
bool SnapshotOptionsHasBeenSet() const
void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
bool AdvancedOptionsHasBeenSet() const
UpdateElasticsearchDomainConfigRequest & WithLogPublishingOptions(LogPublishingOptionsT &&value)
bool DomainNameHasBeenSet() const
bool LogPublishingOptionsHasBeenSet() const
void SetEBSOptions(EBSOptionsT &&value)
AWS_ELASTICSEARCHSERVICE_API UpdateElasticsearchDomainConfigRequest()=default
const Aws::Map< LogType, LogPublishingOption > & GetLogPublishingOptions() const
UpdateElasticsearchDomainConfigRequest & WithCognitoOptions(CognitoOptionsT &&value)
const DomainEndpointOptions & GetDomainEndpointOptions() const
UpdateElasticsearchDomainConfigRequest & WithElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
UpdateElasticsearchDomainConfigRequest & WithAccessPolicies(AccessPoliciesT &&value)
void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
void SetDomainEndpointOptions(DomainEndpointOptionsT &&value)
const Aws::String & GetAccessPolicies() const
void SetLogPublishingOptions(LogPublishingOptionsT &&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