/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an Elasticsearch domain.See Also:
AWS
* API Reference
IAM policy document specifying the access policies for the new Elasticsearch * domain.
*/ inline const Aws::String& GetAccessPolicies() const{ return m_accessPolicies; } /** *IAM policy document specifying the access policies for the new Elasticsearch * domain.
*/ inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; } /** *IAM policy document specifying the access policies for the new Elasticsearch * domain.
*/ inline void SetAccessPolicies(const Aws::String& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; } /** *IAM policy document specifying the access policies for the new Elasticsearch * domain.
*/ inline void SetAccessPolicies(Aws::String&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::move(value); } /** *IAM policy document specifying the access policies for the new Elasticsearch * domain.
*/ inline void SetAccessPolicies(const char* value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies.assign(value); } /** *IAM policy document specifying the access policies for the new Elasticsearch * domain.
*/ inline AwsElasticsearchDomainDetails& WithAccessPolicies(const Aws::String& value) { SetAccessPolicies(value); return *this;} /** *IAM policy document specifying the access policies for the new Elasticsearch * domain.
*/ inline AwsElasticsearchDomainDetails& WithAccessPolicies(Aws::String&& value) { SetAccessPolicies(std::move(value)); return *this;} /** *IAM policy document specifying the access policies for the new Elasticsearch * domain.
*/ inline AwsElasticsearchDomainDetails& WithAccessPolicies(const char* value) { SetAccessPolicies(value); return *this;} /** *Additional options for the domain endpoint.
*/ inline const AwsElasticsearchDomainDomainEndpointOptions& GetDomainEndpointOptions() const{ return m_domainEndpointOptions; } /** *Additional options for the domain endpoint.
*/ inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; } /** *Additional options for the domain endpoint.
*/ inline void SetDomainEndpointOptions(const AwsElasticsearchDomainDomainEndpointOptions& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = value; } /** *Additional options for the domain endpoint.
*/ inline void SetDomainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::move(value); } /** *Additional options for the domain endpoint.
*/ inline AwsElasticsearchDomainDetails& WithDomainEndpointOptions(const AwsElasticsearchDomainDomainEndpointOptions& value) { SetDomainEndpointOptions(value); return *this;} /** *Additional options for the domain endpoint.
*/ inline AwsElasticsearchDomainDetails& WithDomainEndpointOptions(AwsElasticsearchDomainDomainEndpointOptions&& value) { SetDomainEndpointOptions(std::move(value)); return *this;} /** *Unique identifier for an Elasticsearch domain.
*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *Unique identifier for an Elasticsearch domain.
*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *Unique identifier for an Elasticsearch domain.
*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *Unique identifier for an Elasticsearch domain.
*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *Unique identifier for an Elasticsearch domain.
*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *Unique identifier for an Elasticsearch domain.
*/ inline AwsElasticsearchDomainDetails& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *Unique identifier for an Elasticsearch domain.
*/ inline AwsElasticsearchDomainDetails& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *Unique identifier for an Elasticsearch domain.
*/ inline AwsElasticsearchDomainDetails& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *Name of an Elasticsearch domain.
Domain names are unique across all * domains owned by the same account within an Amazon Web Services Region.
*Domain names must start with a lowercase letter and must be between 3 and 28 * characters.
Valid characters are a-z (lowercase only), 0-9, and – * (hyphen).
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *Name of an Elasticsearch domain.
Domain names are unique across all * domains owned by the same account within an Amazon Web Services Region.
*Domain names must start with a lowercase letter and must be between 3 and 28 * characters.
Valid characters are a-z (lowercase only), 0-9, and – * (hyphen).
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *Name of an Elasticsearch domain.
Domain names are unique across all * domains owned by the same account within an Amazon Web Services Region.
*Domain names must start with a lowercase letter and must be between 3 and 28 * characters.
Valid characters are a-z (lowercase only), 0-9, and – * (hyphen).
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *Name of an Elasticsearch domain.
Domain names are unique across all * domains owned by the same account within an Amazon Web Services Region.
*Domain names must start with a lowercase letter and must be between 3 and 28 * characters.
Valid characters are a-z (lowercase only), 0-9, and – * (hyphen).
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *Name of an Elasticsearch domain.
Domain names are unique across all * domains owned by the same account within an Amazon Web Services Region.
*Domain names must start with a lowercase letter and must be between 3 and 28 * characters.
Valid characters are a-z (lowercase only), 0-9, and – * (hyphen).
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *Name of an Elasticsearch domain.
Domain names are unique across all * domains owned by the same account within an Amazon Web Services Region.
*Domain names must start with a lowercase letter and must be between 3 and 28 * characters.
Valid characters are a-z (lowercase only), 0-9, and – * (hyphen).
*/ inline AwsElasticsearchDomainDetails& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *Name of an Elasticsearch domain.
Domain names are unique across all * domains owned by the same account within an Amazon Web Services Region.
*Domain names must start with a lowercase letter and must be between 3 and 28 * characters.
Valid characters are a-z (lowercase only), 0-9, and – * (hyphen).
*/ inline AwsElasticsearchDomainDetails& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *Name of an Elasticsearch domain.
Domain names are unique across all * domains owned by the same account within an Amazon Web Services Region.
*Domain names must start with a lowercase letter and must be between 3 and 28 * characters.
Valid characters are a-z (lowercase only), 0-9, and – * (hyphen).
*/ inline AwsElasticsearchDomainDetails& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *Domain-specific endpoint used to submit index, search, and data upload * requests to an Elasticsearch domain.
The endpoint is a service URL.
*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *Domain-specific endpoint used to submit index, search, and data upload * requests to an Elasticsearch domain.
The endpoint is a service URL.
*/ inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } /** *Domain-specific endpoint used to submit index, search, and data upload * requests to an Elasticsearch domain.
The endpoint is a service URL.
*/ inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } /** *Domain-specific endpoint used to submit index, search, and data upload * requests to an Elasticsearch domain.
The endpoint is a service URL.
*/ inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } /** *Domain-specific endpoint used to submit index, search, and data upload * requests to an Elasticsearch domain.
The endpoint is a service URL.
*/ inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } /** *Domain-specific endpoint used to submit index, search, and data upload * requests to an Elasticsearch domain.
The endpoint is a service URL.
*/ inline AwsElasticsearchDomainDetails& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *Domain-specific endpoint used to submit index, search, and data upload * requests to an Elasticsearch domain.
The endpoint is a service URL.
*/ inline AwsElasticsearchDomainDetails& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *Domain-specific endpoint used to submit index, search, and data upload * requests to an Elasticsearch domain.
The endpoint is a service URL.
*/ inline AwsElasticsearchDomainDetails& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} /** *The key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline const Aws::MapThe key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; } /** *The key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline void SetEndpoints(const Aws::MapThe key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline void SetEndpoints(Aws::MapThe key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& WithEndpoints(const Aws::MapThe key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& WithEndpoints(Aws::MapThe key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& AddEndpoints(const Aws::String& key, const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, value); return *this; } /** *The key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& AddEndpoints(Aws::String&& key, const Aws::String& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), value); return *this; } /** *The key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& AddEndpoints(const Aws::String& key, Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, std::move(value)); return *this; } /** *The key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& AddEndpoints(Aws::String&& key, Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), std::move(value)); return *this; } /** *The key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& AddEndpoints(const char* key, Aws::String&& value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, std::move(value)); return *this; } /** *The key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& AddEndpoints(Aws::String&& key, const char* value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(std::move(key), value); return *this; } /** *The key-value pair that exists if the Elasticsearch domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& AddEndpoints(const char* key, const char* value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, value); return *this; } /** *OpenSearch version.
*/ inline const Aws::String& GetElasticsearchVersion() const{ return m_elasticsearchVersion; } /** *OpenSearch version.
*/ inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; } /** *OpenSearch version.
*/ inline void SetElasticsearchVersion(const Aws::String& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = value; } /** *OpenSearch version.
*/ inline void SetElasticsearchVersion(Aws::String&& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = std::move(value); } /** *OpenSearch version.
*/ inline void SetElasticsearchVersion(const char* value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion.assign(value); } /** *OpenSearch version.
*/ inline AwsElasticsearchDomainDetails& WithElasticsearchVersion(const Aws::String& value) { SetElasticsearchVersion(value); return *this;} /** *OpenSearch version.
*/ inline AwsElasticsearchDomainDetails& WithElasticsearchVersion(Aws::String&& value) { SetElasticsearchVersion(std::move(value)); return *this;} /** *OpenSearch version.
*/ inline AwsElasticsearchDomainDetails& WithElasticsearchVersion(const char* value) { SetElasticsearchVersion(value); return *this;} /** *Information about an OpenSearch cluster configuration.
*/ inline const AwsElasticsearchDomainElasticsearchClusterConfigDetails& GetElasticsearchClusterConfig() const{ return m_elasticsearchClusterConfig; } /** *Information about an OpenSearch cluster configuration.
*/ inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; } /** *Information about an OpenSearch cluster configuration.
*/ inline void SetElasticsearchClusterConfig(const AwsElasticsearchDomainElasticsearchClusterConfigDetails& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = value; } /** *Information about an OpenSearch cluster configuration.
*/ inline void SetElasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails&& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = std::move(value); } /** *Information about an OpenSearch cluster configuration.
*/ inline AwsElasticsearchDomainDetails& WithElasticsearchClusterConfig(const AwsElasticsearchDomainElasticsearchClusterConfigDetails& value) { SetElasticsearchClusterConfig(value); return *this;} /** *Information about an OpenSearch cluster configuration.
*/ inline AwsElasticsearchDomainDetails& WithElasticsearchClusterConfig(AwsElasticsearchDomainElasticsearchClusterConfigDetails&& value) { SetElasticsearchClusterConfig(std::move(value)); return *this;} /** *Details about the configuration for encryption at rest.
*/ inline const AwsElasticsearchDomainEncryptionAtRestOptions& GetEncryptionAtRestOptions() const{ return m_encryptionAtRestOptions; } /** *Details about the configuration for encryption at rest.
*/ inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; } /** *Details about the configuration for encryption at rest.
*/ inline void SetEncryptionAtRestOptions(const AwsElasticsearchDomainEncryptionAtRestOptions& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = value; } /** *Details about the configuration for encryption at rest.
*/ inline void SetEncryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::move(value); } /** *Details about the configuration for encryption at rest.
*/ inline AwsElasticsearchDomainDetails& WithEncryptionAtRestOptions(const AwsElasticsearchDomainEncryptionAtRestOptions& value) { SetEncryptionAtRestOptions(value); return *this;} /** *Details about the configuration for encryption at rest.
*/ inline AwsElasticsearchDomainDetails& WithEncryptionAtRestOptions(AwsElasticsearchDomainEncryptionAtRestOptions&& value) { SetEncryptionAtRestOptions(std::move(value)); return *this;} /** *Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*/ inline const AwsElasticsearchDomainLogPublishingOptions& GetLogPublishingOptions() const{ return m_logPublishingOptions; } /** *Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*/ inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; } /** *Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*/ inline void SetLogPublishingOptions(const AwsElasticsearchDomainLogPublishingOptions& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = value; } /** *Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*/ inline void SetLogPublishingOptions(AwsElasticsearchDomainLogPublishingOptions&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::move(value); } /** *Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*/ inline AwsElasticsearchDomainDetails& WithLogPublishingOptions(const AwsElasticsearchDomainLogPublishingOptions& value) { SetLogPublishingOptions(value); return *this;} /** *Configures the CloudWatch Logs to publish for the Elasticsearch domain.
*/ inline AwsElasticsearchDomainDetails& WithLogPublishingOptions(AwsElasticsearchDomainLogPublishingOptions&& value) { SetLogPublishingOptions(std::move(value)); return *this;} /** *Details about the configuration for node-to-node encryption.
*/ inline const AwsElasticsearchDomainNodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const{ return m_nodeToNodeEncryptionOptions; } /** *Details about the configuration for node-to-node encryption.
*/ inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; } /** *Details about the configuration for node-to-node encryption.
*/ inline void SetNodeToNodeEncryptionOptions(const AwsElasticsearchDomainNodeToNodeEncryptionOptions& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = value; } /** *Details about the configuration for node-to-node encryption.
*/ inline void SetNodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions&& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = std::move(value); } /** *Details about the configuration for node-to-node encryption.
*/ inline AwsElasticsearchDomainDetails& WithNodeToNodeEncryptionOptions(const AwsElasticsearchDomainNodeToNodeEncryptionOptions& value) { SetNodeToNodeEncryptionOptions(value); return *this;} /** *Details about the configuration for node-to-node encryption.
*/ inline AwsElasticsearchDomainDetails& WithNodeToNodeEncryptionOptions(AwsElasticsearchDomainNodeToNodeEncryptionOptions&& value) { SetNodeToNodeEncryptionOptions(std::move(value)); return *this;} /** *Information about the status of a domain relative to the latest service * software.
*/ inline const AwsElasticsearchDomainServiceSoftwareOptions& GetServiceSoftwareOptions() const{ return m_serviceSoftwareOptions; } /** *Information about the status of a domain relative to the latest service * software.
*/ inline bool ServiceSoftwareOptionsHasBeenSet() const { return m_serviceSoftwareOptionsHasBeenSet; } /** *Information about the status of a domain relative to the latest service * software.
*/ inline void SetServiceSoftwareOptions(const AwsElasticsearchDomainServiceSoftwareOptions& value) { m_serviceSoftwareOptionsHasBeenSet = true; m_serviceSoftwareOptions = value; } /** *Information about the status of a domain relative to the latest service * software.
*/ inline void SetServiceSoftwareOptions(AwsElasticsearchDomainServiceSoftwareOptions&& value) { m_serviceSoftwareOptionsHasBeenSet = true; m_serviceSoftwareOptions = std::move(value); } /** *Information about the status of a domain relative to the latest service * software.
*/ inline AwsElasticsearchDomainDetails& WithServiceSoftwareOptions(const AwsElasticsearchDomainServiceSoftwareOptions& value) { SetServiceSoftwareOptions(value); return *this;} /** *Information about the status of a domain relative to the latest service * software.
*/ inline AwsElasticsearchDomainDetails& WithServiceSoftwareOptions(AwsElasticsearchDomainServiceSoftwareOptions&& value) { SetServiceSoftwareOptions(std::move(value)); return *this;} /** *Information that OpenSearch derives based on VPCOptions
for the
* domain.
Information that OpenSearch derives based on VPCOptions
for the
* domain.
Information that OpenSearch derives based on VPCOptions
for the
* domain.
Information that OpenSearch derives based on VPCOptions
for the
* domain.
Information that OpenSearch derives based on VPCOptions
for the
* domain.
Information that OpenSearch derives based on VPCOptions
for the
* domain.