AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
NeptuneSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService {
20namespace Model {
21
29 public:
30 AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings() = default;
31 AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
44 inline const Aws::String& GetServiceAccessRoleArn() const { return m_serviceAccessRoleArn; }
45 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
46 template <typename ServiceAccessRoleArnT = Aws::String>
47 void SetServiceAccessRoleArn(ServiceAccessRoleArnT&& value) {
48 m_serviceAccessRoleArnHasBeenSet = true;
49 m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value);
50 }
51 template <typename ServiceAccessRoleArnT = Aws::String>
52 NeptuneSettings& WithServiceAccessRoleArn(ServiceAccessRoleArnT&& value) {
53 SetServiceAccessRoleArn(std::forward<ServiceAccessRoleArnT>(value));
54 return *this;
55 }
57
59
65 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
66 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
67 template <typename S3BucketNameT = Aws::String>
68 void SetS3BucketName(S3BucketNameT&& value) {
69 m_s3BucketNameHasBeenSet = true;
70 m_s3BucketName = std::forward<S3BucketNameT>(value);
71 }
72 template <typename S3BucketNameT = Aws::String>
73 NeptuneSettings& WithS3BucketName(S3BucketNameT&& value) {
74 SetS3BucketName(std::forward<S3BucketNameT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetS3BucketFolder() const { return m_s3BucketFolder; }
85 inline bool S3BucketFolderHasBeenSet() const { return m_s3BucketFolderHasBeenSet; }
86 template <typename S3BucketFolderT = Aws::String>
87 void SetS3BucketFolder(S3BucketFolderT&& value) {
88 m_s3BucketFolderHasBeenSet = true;
89 m_s3BucketFolder = std::forward<S3BucketFolderT>(value);
90 }
91 template <typename S3BucketFolderT = Aws::String>
92 NeptuneSettings& WithS3BucketFolder(S3BucketFolderT&& value) {
93 SetS3BucketFolder(std::forward<S3BucketFolderT>(value));
94 return *this;
95 }
97
99
104 inline int GetErrorRetryDuration() const { return m_errorRetryDuration; }
105 inline bool ErrorRetryDurationHasBeenSet() const { return m_errorRetryDurationHasBeenSet; }
106 inline void SetErrorRetryDuration(int value) {
107 m_errorRetryDurationHasBeenSet = true;
108 m_errorRetryDuration = value;
109 }
112 return *this;
113 }
115
117
123 inline int GetMaxFileSize() const { return m_maxFileSize; }
124 inline bool MaxFileSizeHasBeenSet() const { return m_maxFileSizeHasBeenSet; }
125 inline void SetMaxFileSize(int value) {
126 m_maxFileSizeHasBeenSet = true;
127 m_maxFileSize = value;
128 }
129 inline NeptuneSettings& WithMaxFileSize(int value) {
130 SetMaxFileSize(value);
131 return *this;
132 }
134
136
140 inline int GetMaxRetryCount() const { return m_maxRetryCount; }
141 inline bool MaxRetryCountHasBeenSet() const { return m_maxRetryCountHasBeenSet; }
142 inline void SetMaxRetryCount(int value) {
143 m_maxRetryCountHasBeenSet = true;
144 m_maxRetryCount = value;
145 }
147 SetMaxRetryCount(value);
148 return *this;
149 }
151
153
159 inline bool GetIamAuthEnabled() const { return m_iamAuthEnabled; }
160 inline bool IamAuthEnabledHasBeenSet() const { return m_iamAuthEnabledHasBeenSet; }
161 inline void SetIamAuthEnabled(bool value) {
162 m_iamAuthEnabledHasBeenSet = true;
163 m_iamAuthEnabled = value;
164 }
166 SetIamAuthEnabled(value);
167 return *this;
168 }
170 private:
171 Aws::String m_serviceAccessRoleArn;
172
173 Aws::String m_s3BucketName;
174
175 Aws::String m_s3BucketFolder;
176
177 int m_errorRetryDuration{0};
178
179 int m_maxFileSize{0};
180
181 int m_maxRetryCount{0};
182
183 bool m_iamAuthEnabled{false};
184 bool m_serviceAccessRoleArnHasBeenSet = false;
185 bool m_s3BucketNameHasBeenSet = false;
186 bool m_s3BucketFolderHasBeenSet = false;
187 bool m_errorRetryDurationHasBeenSet = false;
188 bool m_maxFileSizeHasBeenSet = false;
189 bool m_maxRetryCountHasBeenSet = false;
190 bool m_iamAuthEnabledHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace DatabaseMigrationService
195} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings()=default
NeptuneSettings & WithS3BucketFolder(S3BucketFolderT &&value)
AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
NeptuneSettings & WithS3BucketName(S3BucketNameT &&value)
NeptuneSettings & WithServiceAccessRoleArn(ServiceAccessRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue