7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace DatabaseMigrationService
50 inline void SetServiceAccessRoleArn(
const char* value) { m_serviceAccessRoleArnHasBeenSet =
true; m_serviceAccessRoleArn.assign(value); }
65 inline void SetEndpointUri(
const char* value) { m_endpointUriHasBeenSet =
true; m_endpointUri.assign(value); }
93 inline void SetErrorRetryDuration(
int value) { m_errorRetryDurationHasBeenSet =
true; m_errorRetryDuration = value; }
106 inline void SetUseNewMappingType(
bool value) { m_useNewMappingTypeHasBeenSet =
true; m_useNewMappingType = value; }
112 bool m_serviceAccessRoleArnHasBeenSet =
false;
115 bool m_endpointUriHasBeenSet =
false;
117 int m_fullLoadErrorPercentage;
118 bool m_fullLoadErrorPercentageHasBeenSet =
false;
120 int m_errorRetryDuration;
121 bool m_errorRetryDurationHasBeenSet =
false;
123 bool m_useNewMappingType;
124 bool m_useNewMappingTypeHasBeenSet =
false;
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUseNewMappingType(bool value)
bool ErrorRetryDurationHasBeenSet() const
ElasticsearchSettings & WithServiceAccessRoleArn(Aws::String &&value)
ElasticsearchSettings & WithServiceAccessRoleArn(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings()
ElasticsearchSettings & WithEndpointUri(const Aws::String &value)
void SetFullLoadErrorPercentage(int value)
ElasticsearchSettings & WithEndpointUri(Aws::String &&value)
bool EndpointUriHasBeenSet() const
bool UseNewMappingTypeHasBeenSet() const
int GetFullLoadErrorPercentage() const
ElasticsearchSettings & WithEndpointUri(const char *value)
void SetServiceAccessRoleArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEndpointUri() const
ElasticsearchSettings & WithFullLoadErrorPercentage(int value)
int GetErrorRetryDuration() const
ElasticsearchSettings & WithUseNewMappingType(bool value)
void SetEndpointUri(const Aws::String &value)
ElasticsearchSettings & WithServiceAccessRoleArn(const Aws::String &value)
void SetEndpointUri(Aws::String &&value)
void SetErrorRetryDuration(int value)
bool ServiceAccessRoleArnHasBeenSet() const
ElasticsearchSettings & WithErrorRetryDuration(int value)
void SetEndpointUri(const char *value)
bool FullLoadErrorPercentageHasBeenSet() const
bool GetUseNewMappingType() const
const Aws::String & GetServiceAccessRoleArn() const
void SetServiceAccessRoleArn(const char *value)
void SetServiceAccessRoleArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue