/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information that defines an OpenSearch endpoint.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) used by the service to access the IAM role.
* The role must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service to access the IAM role.
* The role must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service to access the IAM role.
* The role must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service to access the IAM role.
* The role must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service to access the IAM role.
* The role must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service to access the IAM role.
* The role must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service to access the IAM role.
* The role must allow the iam:PassRole
action.
The Amazon Resource Name (ARN) used by the service to access the IAM role.
* The role must allow the iam:PassRole
action.
The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport * protocol (http/https) is not specified.
*/ inline const Aws::String& GetEndpointUri() const{ return m_endpointUri; } /** *The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport * protocol (http/https) is not specified.
*/ inline bool EndpointUriHasBeenSet() const { return m_endpointUriHasBeenSet; } /** *The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport * protocol (http/https) is not specified.
*/ inline void SetEndpointUri(const Aws::String& value) { m_endpointUriHasBeenSet = true; m_endpointUri = value; } /** *The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport * protocol (http/https) is not specified.
*/ inline void SetEndpointUri(Aws::String&& value) { m_endpointUriHasBeenSet = true; m_endpointUri = std::move(value); } /** *The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport * protocol (http/https) is not specified.
*/ inline void SetEndpointUri(const char* value) { m_endpointUriHasBeenSet = true; m_endpointUri.assign(value); } /** *The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport * protocol (http/https) is not specified.
*/ inline ElasticsearchSettings& WithEndpointUri(const Aws::String& value) { SetEndpointUri(value); return *this;} /** *The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport * protocol (http/https) is not specified.
*/ inline ElasticsearchSettings& WithEndpointUri(Aws::String&& value) { SetEndpointUri(std::move(value)); return *this;} /** *The endpoint for the OpenSearch cluster. DMS uses HTTPS if a transport * protocol (http/https) is not specified.
*/ inline ElasticsearchSettings& WithEndpointUri(const char* value) { SetEndpointUri(value); return *this;} /** *The maximum percentage of records that can fail to be written before a full * load operation stops.
To avoid early failure, this counter is only * effective after 1000 records are transferred. OpenSearch also has the concept of * error monitoring during the last 10 minutes of an Observation Window. If * transfer of all records fail in the last 10 minutes, the full load operation * stops.
*/ inline int GetFullLoadErrorPercentage() const{ return m_fullLoadErrorPercentage; } /** *The maximum percentage of records that can fail to be written before a full * load operation stops.
To avoid early failure, this counter is only * effective after 1000 records are transferred. OpenSearch also has the concept of * error monitoring during the last 10 minutes of an Observation Window. If * transfer of all records fail in the last 10 minutes, the full load operation * stops.
*/ inline bool FullLoadErrorPercentageHasBeenSet() const { return m_fullLoadErrorPercentageHasBeenSet; } /** *The maximum percentage of records that can fail to be written before a full * load operation stops.
To avoid early failure, this counter is only * effective after 1000 records are transferred. OpenSearch also has the concept of * error monitoring during the last 10 minutes of an Observation Window. If * transfer of all records fail in the last 10 minutes, the full load operation * stops.
*/ inline void SetFullLoadErrorPercentage(int value) { m_fullLoadErrorPercentageHasBeenSet = true; m_fullLoadErrorPercentage = value; } /** *The maximum percentage of records that can fail to be written before a full * load operation stops.
To avoid early failure, this counter is only * effective after 1000 records are transferred. OpenSearch also has the concept of * error monitoring during the last 10 minutes of an Observation Window. If * transfer of all records fail in the last 10 minutes, the full load operation * stops.
*/ inline ElasticsearchSettings& WithFullLoadErrorPercentage(int value) { SetFullLoadErrorPercentage(value); return *this;} /** *The maximum number of seconds for which DMS retries failed API requests to * the OpenSearch cluster.
*/ inline int GetErrorRetryDuration() const{ return m_errorRetryDuration; } /** *The maximum number of seconds for which DMS retries failed API requests to * the OpenSearch cluster.
*/ inline bool ErrorRetryDurationHasBeenSet() const { return m_errorRetryDurationHasBeenSet; } /** *The maximum number of seconds for which DMS retries failed API requests to * the OpenSearch cluster.
*/ inline void SetErrorRetryDuration(int value) { m_errorRetryDurationHasBeenSet = true; m_errorRetryDuration = value; } /** *The maximum number of seconds for which DMS retries failed API requests to * the OpenSearch cluster.
*/ inline ElasticsearchSettings& WithErrorRetryDuration(int value) { SetErrorRetryDuration(value); return *this;} /** *Set this option to true
for DMS to migrate documentation using
* the documentation type _doc
. OpenSearch and an Elasticsearch
* cluster only support the _doc documentation type in versions 7. x and later. The
* default value is false
.
Set this option to true
for DMS to migrate documentation using
* the documentation type _doc
. OpenSearch and an Elasticsearch
* cluster only support the _doc documentation type in versions 7. x and later. The
* default value is false
.
Set this option to true
for DMS to migrate documentation using
* the documentation type _doc
. OpenSearch and an Elasticsearch
* cluster only support the _doc documentation type in versions 7. x and later. The
* default value is false
.
Set this option to true
for DMS to migrate documentation using
* the documentation type _doc
. OpenSearch and an Elasticsearch
* cluster only support the _doc documentation type in versions 7. x and later. The
* default value is false
.