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/CognitoOptions.h>
15#include <aws/es/model/DeploymentStrategyOptions.h>
16#include <aws/es/model/DomainEndpointOptions.h>
17#include <aws/es/model/EBSOptions.h>
18#include <aws/es/model/ElasticsearchClusterConfig.h>
19#include <aws/es/model/EncryptionAtRestOptions.h>
20#include <aws/es/model/LogPublishingOption.h>
21#include <aws/es/model/LogType.h>
22#include <aws/es/model/NodeToNodeEncryptionOptions.h>
23#include <aws/es/model/SnapshotOptions.h>
24#include <aws/es/model/Tag.h>
25#include <aws/es/model/VPCOptions.h>
30namespace ElasticsearchService {
56 template <
typename DomainNameT = Aws::String>
58 m_domainNameHasBeenSet =
true;
59 m_domainName = std::forward<DomainNameT>(value);
61 template <
typename DomainNameT = Aws::String>
78 template <
typename ElasticsearchVersionT = Aws::String>
80 m_elasticsearchVersionHasBeenSet =
true;
81 m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value);
83 template <
typename ElasticsearchVersionT = Aws::String>
97 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
99 m_elasticsearchClusterConfigHasBeenSet =
true;
100 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
102 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
116 template <
typename EBSOptionsT = EBSOptions>
118 m_eBSOptionsHasBeenSet =
true;
119 m_eBSOptions = std::forward<EBSOptionsT>(value);
121 template <
typename EBSOptionsT = EBSOptions>
134 template <
typename AccessPoliciesT = Aws::String>
136 m_accessPoliciesHasBeenSet =
true;
137 m_accessPolicies = std::forward<AccessPoliciesT>(value);
139 template <
typename AccessPoliciesT = Aws::String>
153 template <
typename SnapshotOptionsT = SnapshotOptions>
155 m_snapshotOptionsHasBeenSet =
true;
156 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
158 template <
typename SnapshotOptionsT = SnapshotOptions>
175 template <
typename VPCOptionsT = VPCOptions>
177 m_vPCOptionsHasBeenSet =
true;
178 m_vPCOptions = std::forward<VPCOptionsT>(value);
180 template <
typename VPCOptionsT = VPCOptions>
196 template <
typename CognitoOptionsT = CognitoOptions>
198 m_cognitoOptionsHasBeenSet =
true;
199 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
201 template <
typename CognitoOptionsT = CognitoOptions>
214 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
216 m_encryptionAtRestOptionsHasBeenSet =
true;
217 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
219 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
232 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
234 m_nodeToNodeEncryptionOptionsHasBeenSet =
true;
235 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
237 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
254 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
256 m_advancedOptionsHasBeenSet =
true;
257 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
259 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
264 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
266 m_advancedOptionsHasBeenSet =
true;
267 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
279 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
281 m_logPublishingOptionsHasBeenSet =
true;
282 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
284 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
290 m_logPublishingOptionsHasBeenSet =
true;
291 m_logPublishingOptions.emplace(key, value);
303 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
305 m_domainEndpointOptionsHasBeenSet =
true;
306 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
308 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
321 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
323 m_advancedSecurityOptionsHasBeenSet =
true;
324 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
326 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
339 template <
typename AutoTuneOptionsT = AutoTuneOptionsInput>
341 m_autoTuneOptionsHasBeenSet =
true;
342 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
344 template <
typename AutoTuneOptionsT = AutoTuneOptionsInput>
357 template <
typename TagListT = Aws::Vector<Tag>>
359 m_tagListHasBeenSet =
true;
360 m_tagList = std::forward<TagListT>(value);
362 template <
typename TagListT = Aws::Vector<Tag>>
367 template <
typename TagListT = Tag>
369 m_tagListHasBeenSet =
true;
370 m_tagList.emplace_back(std::forward<TagListT>(value));
381 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
383 m_deploymentStrategyOptionsHasBeenSet =
true;
384 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
386 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
426 bool m_domainNameHasBeenSet =
false;
427 bool m_elasticsearchVersionHasBeenSet =
false;
428 bool m_elasticsearchClusterConfigHasBeenSet =
false;
429 bool m_eBSOptionsHasBeenSet =
false;
430 bool m_accessPoliciesHasBeenSet =
false;
431 bool m_snapshotOptionsHasBeenSet =
false;
432 bool m_vPCOptionsHasBeenSet =
false;
433 bool m_cognitoOptionsHasBeenSet =
false;
434 bool m_encryptionAtRestOptionsHasBeenSet =
false;
435 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
436 bool m_advancedOptionsHasBeenSet =
false;
437 bool m_logPublishingOptionsHasBeenSet =
false;
438 bool m_domainEndpointOptionsHasBeenSet =
false;
439 bool m_advancedSecurityOptionsHasBeenSet =
false;
440 bool m_autoTuneOptionsHasBeenSet =
false;
441 bool m_tagListHasBeenSet =
false;
442 bool m_deploymentStrategyOptionsHasBeenSet =
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 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
const NodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
void SetDomainEndpointOptions(DomainEndpointOptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdvancedOptions() 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