This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-es/include/aws/es/model/UpdateElasticsearchDomainConfigRequest.h

620 lines
31 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/es/ElasticsearchService_EXPORTS.h>
#include <aws/es/ElasticsearchServiceRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/es/model/ElasticsearchClusterConfig.h>
#include <aws/es/model/EBSOptions.h>
#include <aws/es/model/SnapshotOptions.h>
#include <aws/es/model/VPCOptions.h>
#include <aws/es/model/CognitoOptions.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/es/model/DomainEndpointOptions.h>
#include <aws/es/model/AdvancedSecurityOptionsInput.h>
#include <aws/es/model/LogType.h>
#include <aws/es/model/LogPublishingOption.h>
#include <utility>
namespace Aws
{
namespace ElasticsearchService
{
namespace Model
{
/**
* <p>Container for the parameters to the
* <code><a>UpdateElasticsearchDomain</a></code> operation. Specifies the type and
* number of instances in the domain cluster.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/UpdateElasticsearchDomainConfigRequest">AWS
* API Reference</a></p>
*/
class AWS_ELASTICSEARCHSERVICE_API UpdateElasticsearchDomainConfigRequest : public ElasticsearchServiceRequest
{
public:
UpdateElasticsearchDomainConfigRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateElasticsearchDomainConfig"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the Elasticsearch domain that you are updating. </p>
*/
inline const Aws::String& GetDomainName() const{ return m_domainName; }
/**
* <p>The name of the Elasticsearch domain that you are updating. </p>
*/
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
/**
* <p>The name of the Elasticsearch domain that you are updating. </p>
*/
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
/**
* <p>The name of the Elasticsearch domain that you are updating. </p>
*/
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
/**
* <p>The name of the Elasticsearch domain that you are updating. </p>
*/
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
/**
* <p>The name of the Elasticsearch domain that you are updating. </p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
/**
* <p>The name of the Elasticsearch domain that you are updating. </p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
/**
* <p>The name of the Elasticsearch domain that you are updating. </p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
/**
* <p>The type and number of instances to instantiate for the domain cluster.</p>
*/
inline const ElasticsearchClusterConfig& GetElasticsearchClusterConfig() const{ return m_elasticsearchClusterConfig; }
/**
* <p>The type and number of instances to instantiate for the domain cluster.</p>
*/
inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
/**
* <p>The type and number of instances to instantiate for the domain cluster.</p>
*/
inline void SetElasticsearchClusterConfig(const ElasticsearchClusterConfig& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = value; }
/**
* <p>The type and number of instances to instantiate for the domain cluster.</p>
*/
inline void SetElasticsearchClusterConfig(ElasticsearchClusterConfig&& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = std::move(value); }
/**
* <p>The type and number of instances to instantiate for the domain cluster.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithElasticsearchClusterConfig(const ElasticsearchClusterConfig& value) { SetElasticsearchClusterConfig(value); return *this;}
/**
* <p>The type and number of instances to instantiate for the domain cluster.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithElasticsearchClusterConfig(ElasticsearchClusterConfig&& value) { SetElasticsearchClusterConfig(std::move(value)); return *this;}
/**
* <p>Specify the type and size of the EBS volume that you want to use. </p>
*/
inline const EBSOptions& GetEBSOptions() const{ return m_eBSOptions; }
/**
* <p>Specify the type and size of the EBS volume that you want to use. </p>
*/
inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
/**
* <p>Specify the type and size of the EBS volume that you want to use. </p>
*/
inline void SetEBSOptions(const EBSOptions& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = value; }
/**
* <p>Specify the type and size of the EBS volume that you want to use. </p>
*/
inline void SetEBSOptions(EBSOptions&& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = std::move(value); }
/**
* <p>Specify the type and size of the EBS volume that you want to use. </p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithEBSOptions(const EBSOptions& value) { SetEBSOptions(value); return *this;}
/**
* <p>Specify the type and size of the EBS volume that you want to use. </p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithEBSOptions(EBSOptions&& value) { SetEBSOptions(std::move(value)); return *this;}
/**
* <p>Option to set the time, in UTC format, for the daily automated snapshot.
* Default value is <code>0</code> hours. </p>
*/
inline const SnapshotOptions& GetSnapshotOptions() const{ return m_snapshotOptions; }
/**
* <p>Option to set the time, in UTC format, for the daily automated snapshot.
* Default value is <code>0</code> hours. </p>
*/
inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
/**
* <p>Option to set the time, in UTC format, for the daily automated snapshot.
* Default value is <code>0</code> hours. </p>
*/
inline void SetSnapshotOptions(const SnapshotOptions& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = value; }
/**
* <p>Option to set the time, in UTC format, for the daily automated snapshot.
* Default value is <code>0</code> hours. </p>
*/
inline void SetSnapshotOptions(SnapshotOptions&& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = std::move(value); }
/**
* <p>Option to set the time, in UTC format, for the daily automated snapshot.
* Default value is <code>0</code> hours. </p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithSnapshotOptions(const SnapshotOptions& value) { SetSnapshotOptions(value); return *this;}
/**
* <p>Option to set the time, in UTC format, for the daily automated snapshot.
* Default value is <code>0</code> hours. </p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithSnapshotOptions(SnapshotOptions&& value) { SetSnapshotOptions(std::move(value)); return *this;}
/**
* <p>Options to specify the subnets and security groups for VPC endpoint. For more
* information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc"
* target="_blank">Creating a VPC</a> in <i>VPC Endpoints for Amazon Elasticsearch
* Service Domains</i></p>
*/
inline const VPCOptions& GetVPCOptions() const{ return m_vPCOptions; }
/**
* <p>Options to specify the subnets and security groups for VPC endpoint. For more
* information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc"
* target="_blank">Creating a VPC</a> in <i>VPC Endpoints for Amazon Elasticsearch
* Service Domains</i></p>
*/
inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
/**
* <p>Options to specify the subnets and security groups for VPC endpoint. For more
* information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc"
* target="_blank">Creating a VPC</a> in <i>VPC Endpoints for Amazon Elasticsearch
* Service Domains</i></p>
*/
inline void SetVPCOptions(const VPCOptions& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = value; }
/**
* <p>Options to specify the subnets and security groups for VPC endpoint. For more
* information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc"
* target="_blank">Creating a VPC</a> in <i>VPC Endpoints for Amazon Elasticsearch
* Service Domains</i></p>
*/
inline void SetVPCOptions(VPCOptions&& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = std::move(value); }
/**
* <p>Options to specify the subnets and security groups for VPC endpoint. For more
* information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc"
* target="_blank">Creating a VPC</a> in <i>VPC Endpoints for Amazon Elasticsearch
* Service Domains</i></p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithVPCOptions(const VPCOptions& value) { SetVPCOptions(value); return *this;}
/**
* <p>Options to specify the subnets and security groups for VPC endpoint. For more
* information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc"
* target="_blank">Creating a VPC</a> in <i>VPC Endpoints for Amazon Elasticsearch
* Service Domains</i></p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithVPCOptions(VPCOptions&& value) { SetVPCOptions(std::move(value)); return *this;}
/**
* <p>Options to specify the Cognito user and identity pools for Kibana
* authentication. For more information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html"
* target="_blank">Amazon Cognito Authentication for Kibana</a>.</p>
*/
inline const CognitoOptions& GetCognitoOptions() const{ return m_cognitoOptions; }
/**
* <p>Options to specify the Cognito user and identity pools for Kibana
* authentication. For more information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html"
* target="_blank">Amazon Cognito Authentication for Kibana</a>.</p>
*/
inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
/**
* <p>Options to specify the Cognito user and identity pools for Kibana
* authentication. For more information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html"
* target="_blank">Amazon Cognito Authentication for Kibana</a>.</p>
*/
inline void SetCognitoOptions(const CognitoOptions& value) { m_cognitoOptionsHasBeenSet = true; m_cognitoOptions = value; }
/**
* <p>Options to specify the Cognito user and identity pools for Kibana
* authentication. For more information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html"
* target="_blank">Amazon Cognito Authentication for Kibana</a>.</p>
*/
inline void SetCognitoOptions(CognitoOptions&& value) { m_cognitoOptionsHasBeenSet = true; m_cognitoOptions = std::move(value); }
/**
* <p>Options to specify the Cognito user and identity pools for Kibana
* authentication. For more information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html"
* target="_blank">Amazon Cognito Authentication for Kibana</a>.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithCognitoOptions(const CognitoOptions& value) { SetCognitoOptions(value); return *this;}
/**
* <p>Options to specify the Cognito user and identity pools for Kibana
* authentication. For more information, see <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html"
* target="_blank">Amazon Cognito Authentication for Kibana</a>.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithCognitoOptions(CognitoOptions&& value) { SetCognitoOptions(std::move(value)); return *this;}
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const{ return m_advancedOptions; }
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline void SetAdvancedOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = value; }
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline void SetAdvancedOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = std::move(value); }
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithAdvancedOptions(const Aws::Map<Aws::String, Aws::String>& value) { SetAdvancedOptions(value); return *this;}
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithAdvancedOptions(Aws::Map<Aws::String, Aws::String>&& value) { SetAdvancedOptions(std::move(value)); return *this;}
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const Aws::String& key, const Aws::String& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, value); return *this; }
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(Aws::String&& key, const Aws::String& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(std::move(key), value); return *this; }
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const Aws::String& key, Aws::String&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, std::move(value)); return *this; }
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(Aws::String&& key, Aws::String&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const char* key, Aws::String&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, std::move(value)); return *this; }
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(Aws::String&& key, const char* value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(std::move(key), value); return *this; }
/**
* <p>Modifies the advanced option to allow references to indices in an HTTP
* request body. Must be <code>false</code> when configuring access to individual
* sub-resources. By default, the value is <code>true</code>. See <a
* href="http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options"
* target="_blank">Configuration Advanced Options</a> for more information.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const char* key, const char* value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, value); return *this; }
/**
* <p>IAM access policy as a JSON-formatted string.</p>
*/
inline const Aws::String& GetAccessPolicies() const{ return m_accessPolicies; }
/**
* <p>IAM access policy as a JSON-formatted string.</p>
*/
inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
/**
* <p>IAM access policy as a JSON-formatted string.</p>
*/
inline void SetAccessPolicies(const Aws::String& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; }
/**
* <p>IAM access policy as a JSON-formatted string.</p>
*/
inline void SetAccessPolicies(Aws::String&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::move(value); }
/**
* <p>IAM access policy as a JSON-formatted string.</p>
*/
inline void SetAccessPolicies(const char* value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies.assign(value); }
/**
* <p>IAM access policy as a JSON-formatted string.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithAccessPolicies(const Aws::String& value) { SetAccessPolicies(value); return *this;}
/**
* <p>IAM access policy as a JSON-formatted string.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithAccessPolicies(Aws::String&& value) { SetAccessPolicies(std::move(value)); return *this;}
/**
* <p>IAM access policy as a JSON-formatted string.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithAccessPolicies(const char* value) { SetAccessPolicies(value); return *this;}
/**
* <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each
* containing options to publish a given type of Elasticsearch log.</p>
*/
inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const{ return m_logPublishingOptions; }
/**
* <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each
* containing options to publish a given type of Elasticsearch log.</p>
*/
inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
/**
* <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each
* containing options to publish a given type of Elasticsearch log.</p>
*/
inline void SetLogPublishingOptions(const Aws::Map<LogType, LogPublishingOption>& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = value; }
/**
* <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each
* containing options to publish a given type of Elasticsearch log.</p>
*/
inline void SetLogPublishingOptions(Aws::Map<LogType, LogPublishingOption>&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::move(value); }
/**
* <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each
* containing options to publish a given type of Elasticsearch log.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithLogPublishingOptions(const Aws::Map<LogType, LogPublishingOption>& value) { SetLogPublishingOptions(value); return *this;}
/**
* <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each
* containing options to publish a given type of Elasticsearch log.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithLogPublishingOptions(Aws::Map<LogType, LogPublishingOption>&& value) { SetLogPublishingOptions(std::move(value)); return *this;}
/**
* <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each
* containing options to publish a given type of Elasticsearch log.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(const LogType& key, const LogPublishingOption& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(key, value); return *this; }
/**
* <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each
* containing options to publish a given type of Elasticsearch log.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(LogType&& key, const LogPublishingOption& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(std::move(key), value); return *this; }
/**
* <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each
* containing options to publish a given type of Elasticsearch log.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(const LogType& key, LogPublishingOption&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(key, std::move(value)); return *this; }
/**
* <p>Map of <code>LogType</code> and <code>LogPublishingOption</code>, each
* containing options to publish a given type of Elasticsearch log.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(LogType&& key, LogPublishingOption&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>Options to specify configuration that will be applied to the domain
* endpoint.</p>
*/
inline const DomainEndpointOptions& GetDomainEndpointOptions() const{ return m_domainEndpointOptions; }
/**
* <p>Options to specify configuration that will be applied to the domain
* endpoint.</p>
*/
inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
/**
* <p>Options to specify configuration that will be applied to the domain
* endpoint.</p>
*/
inline void SetDomainEndpointOptions(const DomainEndpointOptions& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = value; }
/**
* <p>Options to specify configuration that will be applied to the domain
* endpoint.</p>
*/
inline void SetDomainEndpointOptions(DomainEndpointOptions&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::move(value); }
/**
* <p>Options to specify configuration that will be applied to the domain
* endpoint.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithDomainEndpointOptions(const DomainEndpointOptions& value) { SetDomainEndpointOptions(value); return *this;}
/**
* <p>Options to specify configuration that will be applied to the domain
* endpoint.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithDomainEndpointOptions(DomainEndpointOptions&& value) { SetDomainEndpointOptions(std::move(value)); return *this;}
/**
* <p>Specifies advanced security options.</p>
*/
inline const AdvancedSecurityOptionsInput& GetAdvancedSecurityOptions() const{ return m_advancedSecurityOptions; }
/**
* <p>Specifies advanced security options.</p>
*/
inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
/**
* <p>Specifies advanced security options.</p>
*/
inline void SetAdvancedSecurityOptions(const AdvancedSecurityOptionsInput& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = value; }
/**
* <p>Specifies advanced security options.</p>
*/
inline void SetAdvancedSecurityOptions(AdvancedSecurityOptionsInput&& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = std::move(value); }
/**
* <p>Specifies advanced security options.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithAdvancedSecurityOptions(const AdvancedSecurityOptionsInput& value) { SetAdvancedSecurityOptions(value); return *this;}
/**
* <p>Specifies advanced security options.</p>
*/
inline UpdateElasticsearchDomainConfigRequest& WithAdvancedSecurityOptions(AdvancedSecurityOptionsInput&& value) { SetAdvancedSecurityOptions(std::move(value)); return *this;}
private:
Aws::String m_domainName;
bool m_domainNameHasBeenSet;
ElasticsearchClusterConfig m_elasticsearchClusterConfig;
bool m_elasticsearchClusterConfigHasBeenSet;
EBSOptions m_eBSOptions;
bool m_eBSOptionsHasBeenSet;
SnapshotOptions m_snapshotOptions;
bool m_snapshotOptionsHasBeenSet;
VPCOptions m_vPCOptions;
bool m_vPCOptionsHasBeenSet;
CognitoOptions m_cognitoOptions;
bool m_cognitoOptionsHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_advancedOptions;
bool m_advancedOptionsHasBeenSet;
Aws::String m_accessPolicies;
bool m_accessPoliciesHasBeenSet;
Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
bool m_logPublishingOptionsHasBeenSet;
DomainEndpointOptions m_domainEndpointOptions;
bool m_domainEndpointOptionsHasBeenSet;
AdvancedSecurityOptionsInput m_advancedSecurityOptions;
bool m_advancedSecurityOptionsHasBeenSet;
};
} // namespace Model
} // namespace ElasticsearchService
} // namespace Aws