/**
* 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 Amazon ES * domain.
*/ inline const Aws::String& GetAccessPolicies() const{ return m_accessPolicies; } /** *IAM policy document specifying the access policies for the new Amazon ES * domain.
*/ inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; } /** *IAM policy document specifying the access policies for the new Amazon ES * domain.
*/ inline void SetAccessPolicies(const Aws::String& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; } /** *IAM policy document specifying the access policies for the new Amazon ES * 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 Amazon ES * domain.
*/ inline void SetAccessPolicies(const char* value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies.assign(value); } /** *IAM policy document specifying the access policies for the new Amazon ES * domain.
*/ inline AwsElasticsearchDomainDetails& WithAccessPolicies(const Aws::String& value) { SetAccessPolicies(value); return *this;} /** *IAM policy document specifying the access policies for the new Amazon ES * domain.
*/ inline AwsElasticsearchDomainDetails& WithAccessPolicies(Aws::String&& value) { SetAccessPolicies(std::move(value)); return *this;} /** *IAM policy document specifying the access policies for the new Amazon ES * 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 Amazon ES domain.
*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *Unique identifier for an Amazon ES domain.
*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *Unique identifier for an Amazon ES domain.
*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *Unique identifier for an Amazon ES domain.
*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *Unique identifier for an Amazon ES domain.
*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *Unique identifier for an Amazon ES domain.
*/ inline AwsElasticsearchDomainDetails& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *Unique identifier for an Amazon ES domain.
*/ inline AwsElasticsearchDomainDetails& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *Unique identifier for an Amazon ES domain.
*/ inline AwsElasticsearchDomainDetails& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *Name of an Amazon ES domain.
Domain names are unique across all * domains owned by the same account within an AWS 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 Amazon ES domain.
Domain names are unique across all * domains owned by the same account within an AWS 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 Amazon ES domain.
Domain names are unique across all * domains owned by the same account within an AWS 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 Amazon ES domain.
Domain names are unique across all * domains owned by the same account within an AWS 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 Amazon ES domain.
Domain names are unique across all * domains owned by the same account within an AWS 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 Amazon ES domain.
Domain names are unique across all * domains owned by the same account within an AWS 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 Amazon ES domain.
Domain names are unique across all * domains owned by the same account within an AWS 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 Amazon ES domain.
Domain names are unique across all * domains owned by the same account within an AWS 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 Amazon ES 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 Amazon ES 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 Amazon ES 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 Amazon ES 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 Amazon ES 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 Amazon ES 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 Amazon ES 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 Amazon ES 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 Amazon ES domain uses VPC * endpoints.
*/ inline const Aws::MapThe key-value pair that exists if the Amazon ES domain uses VPC * endpoints.
*/ inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; } /** *The key-value pair that exists if the Amazon ES domain uses VPC * endpoints.
*/ inline void SetEndpoints(const Aws::MapThe key-value pair that exists if the Amazon ES domain uses VPC * endpoints.
*/ inline void SetEndpoints(Aws::MapThe key-value pair that exists if the Amazon ES domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& WithEndpoints(const Aws::MapThe key-value pair that exists if the Amazon ES domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& WithEndpoints(Aws::MapThe key-value pair that exists if the Amazon ES 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 Amazon ES 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 Amazon ES 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 Amazon ES 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 Amazon ES 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 Amazon ES 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 Amazon ES domain uses VPC * endpoints.
*/ inline AwsElasticsearchDomainDetails& AddEndpoints(const char* key, const char* value) { m_endpointsHasBeenSet = true; m_endpoints.emplace(key, value); return *this; } /** *Elasticsearch version.
*/ inline const Aws::String& GetElasticsearchVersion() const{ return m_elasticsearchVersion; } /** *Elasticsearch version.
*/ inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; } /** *Elasticsearch version.
*/ inline void SetElasticsearchVersion(const Aws::String& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = value; } /** *Elasticsearch version.
*/ inline void SetElasticsearchVersion(Aws::String&& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = std::move(value); } /** *Elasticsearch version.
*/ inline void SetElasticsearchVersion(const char* value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion.assign(value); } /** *Elasticsearch version.
*/ inline AwsElasticsearchDomainDetails& WithElasticsearchVersion(const Aws::String& value) { SetElasticsearchVersion(value); return *this;} /** *Elasticsearch version.
*/ inline AwsElasticsearchDomainDetails& WithElasticsearchVersion(Aws::String&& value) { SetElasticsearchVersion(std::move(value)); return *this;} /** *Elasticsearch version.
*/ inline AwsElasticsearchDomainDetails& WithElasticsearchVersion(const char* value) { SetElasticsearchVersion(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;} /** *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 that Amazon ES derives based on VPCOptions for the
* domain.
Information that Amazon ES derives based on VPCOptions for the
* domain.
Information that Amazon ES derives based on VPCOptions for the
* domain.
Information that Amazon ES derives based on VPCOptions for the
* domain.
Information that Amazon ES derives based on VPCOptions for the
* domain.
Information that Amazon ES derives based on VPCOptions for the
* domain.