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/EBSOptions.h>
19#include <aws/es/model/ElasticsearchClusterConfig.h>
20#include <aws/es/model/EncryptionAtRestOptions.h>
21#include <aws/es/model/LogPublishingOption.h>
22#include <aws/es/model/LogType.h>
23#include <aws/es/model/NodeToNodeEncryptionOptions.h>
24#include <aws/es/model/SnapshotOptions.h>
25#include <aws/es/model/Tag.h>
26#include <aws/es/model/VPCOptions.h>
31namespace ElasticsearchService {
57 template <
typename DomainNameT = Aws::String>
59 m_domainNameHasBeenSet =
true;
60 m_domainName = std::forward<DomainNameT>(value);
62 template <
typename DomainNameT = Aws::String>
79 template <
typename ElasticsearchVersionT = Aws::String>
81 m_elasticsearchVersionHasBeenSet =
true;
82 m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value);
84 template <
typename ElasticsearchVersionT = Aws::String>
98 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
100 m_elasticsearchClusterConfigHasBeenSet =
true;
101 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
103 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
117 template <
typename EBSOptionsT = EBSOptions>
119 m_eBSOptionsHasBeenSet =
true;
120 m_eBSOptions = std::forward<EBSOptionsT>(value);
122 template <
typename EBSOptionsT = EBSOptions>
135 template <
typename AccessPoliciesT = Aws::String>
137 m_accessPoliciesHasBeenSet =
true;
138 m_accessPolicies = std::forward<AccessPoliciesT>(value);
140 template <
typename AccessPoliciesT = Aws::String>
154 template <
typename SnapshotOptionsT = SnapshotOptions>
156 m_snapshotOptionsHasBeenSet =
true;
157 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
159 template <
typename SnapshotOptionsT = SnapshotOptions>
176 template <
typename VPCOptionsT = VPCOptions>
178 m_vPCOptionsHasBeenSet =
true;
179 m_vPCOptions = std::forward<VPCOptionsT>(value);
181 template <
typename VPCOptionsT = VPCOptions>
197 template <
typename CognitoOptionsT = CognitoOptions>
199 m_cognitoOptionsHasBeenSet =
true;
200 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
202 template <
typename CognitoOptionsT = CognitoOptions>
215 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
217 m_encryptionAtRestOptionsHasBeenSet =
true;
218 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
220 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
233 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
235 m_nodeToNodeEncryptionOptionsHasBeenSet =
true;
236 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
238 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
255 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
257 m_advancedOptionsHasBeenSet =
true;
258 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
260 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
265 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
267 m_advancedOptionsHasBeenSet =
true;
268 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
280 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
282 m_logPublishingOptionsHasBeenSet =
true;
283 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
285 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
291 m_logPublishingOptionsHasBeenSet =
true;
292 m_logPublishingOptions.emplace(key, value);
304 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
306 m_domainEndpointOptionsHasBeenSet =
true;
307 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
309 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
322 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
324 m_advancedSecurityOptionsHasBeenSet =
true;
325 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
327 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
340 template <
typename AutoTuneOptionsT = AutoTuneOptionsInput>
342 m_autoTuneOptionsHasBeenSet =
true;
343 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
345 template <
typename AutoTuneOptionsT = AutoTuneOptionsInput>
358 template <
typename TagListT = Aws::Vector<Tag>>
360 m_tagListHasBeenSet =
true;
361 m_tagList = std::forward<TagListT>(value);
363 template <
typename TagListT = Aws::Vector<Tag>>
368 template <
typename TagListT = Tag>
370 m_tagListHasBeenSet =
true;
371 m_tagList.emplace_back(std::forward<TagListT>(value));
382 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
384 m_deploymentStrategyOptionsHasBeenSet =
true;
385 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
387 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
404 template <
typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
406 m_automatedSnapshotPauseOptionsHasBeenSet =
true;
407 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
409 template <
typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
451 bool m_domainNameHasBeenSet =
false;
452 bool m_elasticsearchVersionHasBeenSet =
false;
453 bool m_elasticsearchClusterConfigHasBeenSet =
false;
454 bool m_eBSOptionsHasBeenSet =
false;
455 bool m_accessPoliciesHasBeenSet =
false;
456 bool m_snapshotOptionsHasBeenSet =
false;
457 bool m_vPCOptionsHasBeenSet =
false;
458 bool m_cognitoOptionsHasBeenSet =
false;
459 bool m_encryptionAtRestOptionsHasBeenSet =
false;
460 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
461 bool m_advancedOptionsHasBeenSet =
false;
462 bool m_logPublishingOptionsHasBeenSet =
false;
463 bool m_domainEndpointOptionsHasBeenSet =
false;
464 bool m_advancedSecurityOptionsHasBeenSet =
false;
465 bool m_autoTuneOptionsHasBeenSet =
false;
466 bool m_tagListHasBeenSet =
false;
467 bool m_deploymentStrategyOptionsHasBeenSet =
false;
468 bool m_automatedSnapshotPauseOptionsHasBeenSet =
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
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)
CreateElasticsearchDomainRequest & AddTagList(TagListT &&value)
bool LogPublishingOptionsHasBeenSet() const
const AutoTuneOptionsInput & GetAutoTuneOptions() const
CreateElasticsearchDomainRequest & WithElasticsearchVersion(ElasticsearchVersionT &&value)
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() 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
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 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)
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
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