7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/es/ElasticsearchServiceRequest.h>
11#include <aws/es/ElasticsearchService_EXPORTS.h>
12#include <aws/es/model/AdvancedSecurityOptionsInput.h>
13#include <aws/es/model/AutoTuneOptionsInput.h>
14#include <aws/es/model/AutomatedSnapshotPauseRequestOptions.h>
15#include <aws/es/model/CognitoOptions.h>
16#include <aws/es/model/DeploymentStrategyOptions.h>
17#include <aws/es/model/DomainEndpointOptions.h>
18#include <aws/es/model/DomainEngineMode.h>
19#include <aws/es/model/DomainUseCase.h>
20#include <aws/es/model/EBSOptions.h>
21#include <aws/es/model/ElasticsearchClusterConfig.h>
22#include <aws/es/model/EncryptionAtRestOptions.h>
23#include <aws/es/model/LogPublishingOption.h>
24#include <aws/es/model/LogType.h>
25#include <aws/es/model/NodeToNodeEncryptionOptions.h>
26#include <aws/es/model/SnapshotOptions.h>
27#include <aws/es/model/Tag.h>
28#include <aws/es/model/VPCOptions.h>
33namespace ElasticsearchService {
59 template <
typename DomainNameT = Aws::String>
61 m_domainNameHasBeenSet =
true;
62 m_domainName = std::forward<DomainNameT>(value);
64 template <
typename DomainNameT = Aws::String>
81 template <
typename ElasticsearchVersionT = Aws::String>
83 m_elasticsearchVersionHasBeenSet =
true;
84 m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value);
86 template <
typename ElasticsearchVersionT = Aws::String>
100 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
102 m_elasticsearchClusterConfigHasBeenSet =
true;
103 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
105 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
119 template <
typename EBSOptionsT = EBSOptions>
121 m_eBSOptionsHasBeenSet =
true;
122 m_eBSOptions = std::forward<EBSOptionsT>(value);
124 template <
typename EBSOptionsT = EBSOptions>
137 template <
typename AccessPoliciesT = Aws::String>
139 m_accessPoliciesHasBeenSet =
true;
140 m_accessPolicies = std::forward<AccessPoliciesT>(value);
142 template <
typename AccessPoliciesT = Aws::String>
156 template <
typename SnapshotOptionsT = SnapshotOptions>
158 m_snapshotOptionsHasBeenSet =
true;
159 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
161 template <
typename SnapshotOptionsT = SnapshotOptions>
178 template <
typename VPCOptionsT = VPCOptions>
180 m_vPCOptionsHasBeenSet =
true;
181 m_vPCOptions = std::forward<VPCOptionsT>(value);
183 template <
typename VPCOptionsT = VPCOptions>
199 template <
typename CognitoOptionsT = CognitoOptions>
201 m_cognitoOptionsHasBeenSet =
true;
202 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
204 template <
typename CognitoOptionsT = CognitoOptions>
217 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
219 m_encryptionAtRestOptionsHasBeenSet =
true;
220 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
222 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
235 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
237 m_nodeToNodeEncryptionOptionsHasBeenSet =
true;
238 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
240 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
257 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
259 m_advancedOptionsHasBeenSet =
true;
260 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
262 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
267 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
269 m_advancedOptionsHasBeenSet =
true;
270 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
282 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
284 m_logPublishingOptionsHasBeenSet =
true;
285 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
287 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
293 m_logPublishingOptionsHasBeenSet =
true;
294 m_logPublishingOptions.emplace(key, value);
306 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
308 m_domainEndpointOptionsHasBeenSet =
true;
309 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
311 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
324 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
326 m_advancedSecurityOptionsHasBeenSet =
true;
327 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
329 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
342 template <
typename AutoTuneOptionsT = AutoTuneOptionsInput>
344 m_autoTuneOptionsHasBeenSet =
true;
345 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
347 template <
typename AutoTuneOptionsT = AutoTuneOptionsInput>
360 template <
typename TagListT = Aws::Vector<Tag>>
362 m_tagListHasBeenSet =
true;
363 m_tagList = std::forward<TagListT>(value);
365 template <
typename TagListT = Aws::Vector<Tag>>
370 template <
typename TagListT = Tag>
372 m_tagListHasBeenSet =
true;
373 m_tagList.emplace_back(std::forward<TagListT>(value));
384 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
386 m_deploymentStrategyOptionsHasBeenSet =
true;
387 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
389 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
406 template <
typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
408 m_automatedSnapshotPauseOptionsHasBeenSet =
true;
409 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
411 template <
typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
426 m_useCaseHasBeenSet =
true;
443 m_engineModeHasBeenSet =
true;
444 m_engineMode = value;
491 bool m_domainNameHasBeenSet =
false;
492 bool m_elasticsearchVersionHasBeenSet =
false;
493 bool m_elasticsearchClusterConfigHasBeenSet =
false;
494 bool m_eBSOptionsHasBeenSet =
false;
495 bool m_accessPoliciesHasBeenSet =
false;
496 bool m_snapshotOptionsHasBeenSet =
false;
497 bool m_vPCOptionsHasBeenSet =
false;
498 bool m_cognitoOptionsHasBeenSet =
false;
499 bool m_encryptionAtRestOptionsHasBeenSet =
false;
500 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
501 bool m_advancedOptionsHasBeenSet =
false;
502 bool m_logPublishingOptionsHasBeenSet =
false;
503 bool m_domainEndpointOptionsHasBeenSet =
false;
504 bool m_advancedSecurityOptionsHasBeenSet =
false;
505 bool m_autoTuneOptionsHasBeenSet =
false;
506 bool m_tagListHasBeenSet =
false;
507 bool m_deploymentStrategyOptionsHasBeenSet =
false;
508 bool m_automatedSnapshotPauseOptionsHasBeenSet =
false;
509 bool m_useCaseHasBeenSet =
false;
510 bool m_engineModeHasBeenSet =
false;
CreateElasticsearchDomainRequest & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
bool DomainEndpointOptionsHasBeenSet() const
CreateElasticsearchDomainRequest & WithAutoTuneOptions(AutoTuneOptionsT &&value)
CreateElasticsearchDomainRequest & WithDomainName(DomainNameT &&value)
void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
CreateElasticsearchDomainRequest & AddLogPublishingOptions(LogType key, LogPublishingOption value)
bool AccessPoliciesHasBeenSet() const
bool AutoTuneOptionsHasBeenSet() const
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
const AdvancedSecurityOptionsInput & GetAdvancedSecurityOptions() const
bool SnapshotOptionsHasBeenSet() const
CreateElasticsearchDomainRequest & WithAccessPolicies(AccessPoliciesT &&value)
bool ElasticsearchClusterConfigHasBeenSet() const
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
bool VPCOptionsHasBeenSet() const
bool CognitoOptionsHasBeenSet() const
bool EngineModeHasBeenSet() const
const EBSOptions & GetEBSOptions() const
void SetTagList(TagListT &&value)
CreateElasticsearchDomainRequest & WithLogPublishingOptions(LogPublishingOptionsT &&value)
bool AdvancedOptionsHasBeenSet() const
CreateElasticsearchDomainRequest & WithEBSOptions(EBSOptionsT &&value)
const Aws::String & GetDomainName() const
const SnapshotOptions & GetSnapshotOptions() const
void SetElasticsearchVersion(ElasticsearchVersionT &&value)
void SetSnapshotOptions(SnapshotOptionsT &&value)
CreateElasticsearchDomainRequest & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
CreateElasticsearchDomainRequest & WithVPCOptions(VPCOptionsT &&value)
DomainEngineMode GetEngineMode() const
CreateElasticsearchDomainRequest & AddTagList(TagListT &&value)
bool LogPublishingOptionsHasBeenSet() const
const AutoTuneOptionsInput & GetAutoTuneOptions() const
CreateElasticsearchDomainRequest & WithElasticsearchVersion(ElasticsearchVersionT &&value)
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
DomainUseCase GetUseCase() const
bool DomainNameHasBeenSet() const
const CognitoOptions & GetCognitoOptions() const
bool EBSOptionsHasBeenSet() const
bool NodeToNodeEncryptionOptionsHasBeenSet() const
void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
void SetEBSOptions(EBSOptionsT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
bool UseCaseHasBeenSet() const
CreateElasticsearchDomainRequest & WithUseCase(DomainUseCase value)
CreateElasticsearchDomainRequest & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
void SetDomainName(DomainNameT &&value)
bool ElasticsearchVersionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetAccessPolicies(AccessPoliciesT &&value)
bool TagListHasBeenSet() const
const DeploymentStrategyOptions & GetDeploymentStrategyOptions() const
void SetCognitoOptions(CognitoOptionsT &&value)
void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
bool DeploymentStrategyOptionsHasBeenSet() const
void SetUseCase(DomainUseCase value)
void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
bool EncryptionAtRestOptionsHasBeenSet() const
CreateElasticsearchDomainRequest & WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
const AutomatedSnapshotPauseRequestOptions & GetAutomatedSnapshotPauseOptions() const
const NodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
void SetDomainEndpointOptions(DomainEndpointOptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdvancedOptions() const
bool AutomatedSnapshotPauseOptionsHasBeenSet() const
CreateElasticsearchDomainRequest & WithCognitoOptions(CognitoOptionsT &&value)
CreateElasticsearchDomainRequest & WithEngineMode(DomainEngineMode value)
void SetAdvancedOptions(AdvancedOptionsT &&value)
const Aws::String & GetAccessPolicies() const
void SetAutoTuneOptions(AutoTuneOptionsT &&value)
CreateElasticsearchDomainRequest & WithTagList(TagListT &&value)
CreateElasticsearchDomainRequest & WithAdvancedOptions(AdvancedOptionsT &&value)
CreateElasticsearchDomainRequest & AddAdvancedOptions(AdvancedOptionsKeyT &&key, AdvancedOptionsValueT &&value)
const Aws::String & GetElasticsearchVersion() const
void SetVPCOptions(VPCOptionsT &&value)
CreateElasticsearchDomainRequest & WithDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
const DomainEndpointOptions & GetDomainEndpointOptions() const
AWS_ELASTICSEARCHSERVICE_API CreateElasticsearchDomainRequest()=default
CreateElasticsearchDomainRequest & WithSnapshotOptions(SnapshotOptionsT &&value)
const ElasticsearchClusterConfig & GetElasticsearchClusterConfig() const
CreateElasticsearchDomainRequest & WithElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
bool AdvancedSecurityOptionsHasBeenSet() const
void SetEngineMode(DomainEngineMode value)
const VPCOptions & GetVPCOptions() const
const Aws::Map< LogType, LogPublishingOption > & GetLogPublishingOptions() const
CreateElasticsearchDomainRequest & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
const Aws::Vector< Tag > & GetTagList() const
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
std::vector< T, Aws::Allocator< T > > Vector