AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; }
49 inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); }
50 inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); }
52 inline ElasticsearchSettings& WithServiceAccessRoleArn(Aws::String&& value) { SetServiceAccessRoleArn(std::move(value)); return *this;}
53 inline ElasticsearchSettings& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;}
55
57
61 inline const Aws::String& GetEndpointUri() const{ return m_endpointUri; }
62 inline bool EndpointUriHasBeenSet() const { return m_endpointUriHasBeenSet; }
63 inline void SetEndpointUri(const Aws::String& value) { m_endpointUriHasBeenSet = true; m_endpointUri = value; }
64 inline void SetEndpointUri(Aws::String&& value) { m_endpointUriHasBeenSet = true; m_endpointUri = std::move(value); }
65 inline void SetEndpointUri(const char* value) { m_endpointUriHasBeenSet = true; m_endpointUri.assign(value); }
66 inline ElasticsearchSettings& WithEndpointUri(const Aws::String& value) { SetEndpointUri(value); return *this;}
67 inline ElasticsearchSettings& WithEndpointUri(Aws::String&& value) { SetEndpointUri(std::move(value)); return *this;}
68 inline ElasticsearchSettings& WithEndpointUri(const char* value) { SetEndpointUri(value); return *this;}
70
72
80 inline int GetFullLoadErrorPercentage() const{ return m_fullLoadErrorPercentage; }
81 inline bool FullLoadErrorPercentageHasBeenSet() const { return m_fullLoadErrorPercentageHasBeenSet; }
82 inline void SetFullLoadErrorPercentage(int value) { m_fullLoadErrorPercentageHasBeenSet = true; m_fullLoadErrorPercentage = value; }
85
87
91 inline int GetErrorRetryDuration() const{ return m_errorRetryDuration; }
92 inline bool ErrorRetryDurationHasBeenSet() const { return m_errorRetryDurationHasBeenSet; }
93 inline void SetErrorRetryDuration(int value) { m_errorRetryDurationHasBeenSet = true; m_errorRetryDuration = value; }
94 inline ElasticsearchSettings& WithErrorRetryDuration(int value) { SetErrorRetryDuration(value); return *this;}
96
98
104 inline bool GetUseNewMappingType() const{ return m_useNewMappingType; }
105 inline bool UseNewMappingTypeHasBeenSet() const { return m_useNewMappingTypeHasBeenSet; }
106 inline void SetUseNewMappingType(bool value) { m_useNewMappingTypeHasBeenSet = true; m_useNewMappingType = value; }
107 inline ElasticsearchSettings& WithUseNewMappingType(bool value) { SetUseNewMappingType(value); return *this;}
109 private:
110
111 Aws::String m_serviceAccessRoleArn;
112 bool m_serviceAccessRoleArnHasBeenSet = false;
113
114 Aws::String m_endpointUri;
115 bool m_endpointUriHasBeenSet = false;
116
117 int m_fullLoadErrorPercentage;
118 bool m_fullLoadErrorPercentageHasBeenSet = false;
119
120 int m_errorRetryDuration;
121 bool m_errorRetryDurationHasBeenSet = false;
122
123 bool m_useNewMappingType;
124 bool m_useNewMappingTypeHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace DatabaseMigrationService
129} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchSettings & WithServiceAccessRoleArn(Aws::String &&value)
ElasticsearchSettings & WithServiceAccessRoleArn(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings()
ElasticsearchSettings & WithEndpointUri(const Aws::String &value)
ElasticsearchSettings & WithEndpointUri(Aws::String &&value)
ElasticsearchSettings & WithEndpointUri(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API ElasticsearchSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchSettings & WithServiceAccessRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue