AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ElasticsearchSettings.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DatabaseMigrationService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings() = default;
36 AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetServiceAccessRoleArn() const { return m_serviceAccessRoleArn; }
47 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
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>
51 ElasticsearchSettings& WithServiceAccessRoleArn(ServiceAccessRoleArnT&& value) { SetServiceAccessRoleArn(std::forward<ServiceAccessRoleArnT>(value)); return *this;}
53
55
59 inline const Aws::String& GetEndpointUri() const { return m_endpointUri; }
60 inline bool EndpointUriHasBeenSet() const { return m_endpointUriHasBeenSet; }
61 template<typename EndpointUriT = Aws::String>
62 void SetEndpointUri(EndpointUriT&& value) { m_endpointUriHasBeenSet = true; m_endpointUri = std::forward<EndpointUriT>(value); }
63 template<typename EndpointUriT = Aws::String>
64 ElasticsearchSettings& WithEndpointUri(EndpointUriT&& value) { SetEndpointUri(std::forward<EndpointUriT>(value)); return *this;}
66
68
76 inline int GetFullLoadErrorPercentage() const { return m_fullLoadErrorPercentage; }
77 inline bool FullLoadErrorPercentageHasBeenSet() const { return m_fullLoadErrorPercentageHasBeenSet; }
78 inline void SetFullLoadErrorPercentage(int value) { m_fullLoadErrorPercentageHasBeenSet = true; m_fullLoadErrorPercentage = value; }
81
83
87 inline int GetErrorRetryDuration() const { return m_errorRetryDuration; }
88 inline bool ErrorRetryDurationHasBeenSet() const { return m_errorRetryDurationHasBeenSet; }
89 inline void SetErrorRetryDuration(int value) { m_errorRetryDurationHasBeenSet = true; m_errorRetryDuration = value; }
90 inline ElasticsearchSettings& WithErrorRetryDuration(int value) { SetErrorRetryDuration(value); return *this;}
92
94
100 inline bool GetUseNewMappingType() const { return m_useNewMappingType; }
101 inline bool UseNewMappingTypeHasBeenSet() const { return m_useNewMappingTypeHasBeenSet; }
102 inline void SetUseNewMappingType(bool value) { m_useNewMappingTypeHasBeenSet = true; m_useNewMappingType = value; }
103 inline ElasticsearchSettings& WithUseNewMappingType(bool value) { SetUseNewMappingType(value); return *this;}
105 private:
106
107 Aws::String m_serviceAccessRoleArn;
108 bool m_serviceAccessRoleArnHasBeenSet = false;
109
110 Aws::String m_endpointUri;
111 bool m_endpointUriHasBeenSet = false;
112
113 int m_fullLoadErrorPercentage{0};
114 bool m_fullLoadErrorPercentageHasBeenSet = false;
115
116 int m_errorRetryDuration{0};
117 bool m_errorRetryDurationHasBeenSet = false;
118
119 bool m_useNewMappingType{false};
120 bool m_useNewMappingTypeHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace DatabaseMigrationService
125} // namespace Aws
ElasticsearchSettings & WithServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings()=default
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchSettings & WithEndpointUri(EndpointUriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue