7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace DatabaseMigrationService
48 template<
typename ServiceAccessRoleArnT = Aws::String>
49 void SetServiceAccessRoleArn(ServiceAccessRoleArnT&& value) { m_serviceAccessRoleArnHasBeenSet =
true; m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value); }
50 template<
typename ServiceAccessRoleArnT = Aws::String>
61 template<
typename Endpo
intUriT = Aws::String>
62 void SetEndpointUri(EndpointUriT&& value) { m_endpointUriHasBeenSet =
true; m_endpointUri = std::forward<EndpointUriT>(value); }
63 template<
typename Endpo
intUriT = Aws::String>
89 inline void SetErrorRetryDuration(
int value) { m_errorRetryDurationHasBeenSet =
true; m_errorRetryDuration = value; }
102 inline void SetUseNewMappingType(
bool value) { m_useNewMappingTypeHasBeenSet =
true; m_useNewMappingType = value; }
108 bool m_serviceAccessRoleArnHasBeenSet =
false;
111 bool m_endpointUriHasBeenSet =
false;
113 int m_fullLoadErrorPercentage{0};
114 bool m_fullLoadErrorPercentageHasBeenSet =
false;
116 int m_errorRetryDuration{0};
117 bool m_errorRetryDurationHasBeenSet =
false;
119 bool m_useNewMappingType{
false};
120 bool m_useNewMappingTypeHasBeenSet =
false;
ElasticsearchSettings & WithServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUseNewMappingType(bool value)
bool ErrorRetryDurationHasBeenSet() const
void SetEndpointUri(EndpointUriT &&value)
void SetFullLoadErrorPercentage(int value)
bool EndpointUriHasBeenSet() const
bool UseNewMappingTypeHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings()=default
int GetFullLoadErrorPercentage() const
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
void SetServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
ElasticsearchSettings & WithUseNewMappingType(bool value)
void SetErrorRetryDuration(int value)
bool ServiceAccessRoleArnHasBeenSet() const
ElasticsearchSettings & WithErrorRetryDuration(int value)
bool FullLoadErrorPercentageHasBeenSet() const
bool GetUseNewMappingType() const
const Aws::String & GetServiceAccessRoleArn() const
ElasticsearchSettings & WithEndpointUri(EndpointUriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue