AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
NeptuneSettings.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 NeptuneSettings() = default;
36 AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::String& GetServiceAccessRoleArn() const { return m_serviceAccessRoleArn; }
51 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
52 template<typename ServiceAccessRoleArnT = Aws::String>
53 void SetServiceAccessRoleArn(ServiceAccessRoleArnT&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::forward<ServiceAccessRoleArnT>(value); }
54 template<typename ServiceAccessRoleArnT = Aws::String>
55 NeptuneSettings& WithServiceAccessRoleArn(ServiceAccessRoleArnT&& value) { SetServiceAccessRoleArn(std::forward<ServiceAccessRoleArnT>(value)); return *this;}
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) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
69 template<typename S3BucketNameT = Aws::String>
70 NeptuneSettings& WithS3BucketName(S3BucketNameT&& value) { SetS3BucketName(std::forward<S3BucketNameT>(value)); return *this;}
72
74
78 inline const Aws::String& GetS3BucketFolder() const { return m_s3BucketFolder; }
79 inline bool S3BucketFolderHasBeenSet() const { return m_s3BucketFolderHasBeenSet; }
80 template<typename S3BucketFolderT = Aws::String>
81 void SetS3BucketFolder(S3BucketFolderT&& value) { m_s3BucketFolderHasBeenSet = true; m_s3BucketFolder = std::forward<S3BucketFolderT>(value); }
82 template<typename S3BucketFolderT = Aws::String>
83 NeptuneSettings& WithS3BucketFolder(S3BucketFolderT&& value) { SetS3BucketFolder(std::forward<S3BucketFolderT>(value)); return *this;}
85
87
92 inline int GetErrorRetryDuration() const { return m_errorRetryDuration; }
93 inline bool ErrorRetryDurationHasBeenSet() const { return m_errorRetryDurationHasBeenSet; }
94 inline void SetErrorRetryDuration(int value) { m_errorRetryDurationHasBeenSet = true; m_errorRetryDuration = value; }
95 inline NeptuneSettings& WithErrorRetryDuration(int value) { SetErrorRetryDuration(value); return *this;}
97
99
105 inline int GetMaxFileSize() const { return m_maxFileSize; }
106 inline bool MaxFileSizeHasBeenSet() const { return m_maxFileSizeHasBeenSet; }
107 inline void SetMaxFileSize(int value) { m_maxFileSizeHasBeenSet = true; m_maxFileSize = value; }
108 inline NeptuneSettings& WithMaxFileSize(int value) { SetMaxFileSize(value); return *this;}
110
112
116 inline int GetMaxRetryCount() const { return m_maxRetryCount; }
117 inline bool MaxRetryCountHasBeenSet() const { return m_maxRetryCountHasBeenSet; }
118 inline void SetMaxRetryCount(int value) { m_maxRetryCountHasBeenSet = true; m_maxRetryCount = value; }
119 inline NeptuneSettings& WithMaxRetryCount(int value) { SetMaxRetryCount(value); return *this;}
121
123
129 inline bool GetIamAuthEnabled() const { return m_iamAuthEnabled; }
130 inline bool IamAuthEnabledHasBeenSet() const { return m_iamAuthEnabledHasBeenSet; }
131 inline void SetIamAuthEnabled(bool value) { m_iamAuthEnabledHasBeenSet = true; m_iamAuthEnabled = value; }
132 inline NeptuneSettings& WithIamAuthEnabled(bool value) { SetIamAuthEnabled(value); return *this;}
134 private:
135
136 Aws::String m_serviceAccessRoleArn;
137 bool m_serviceAccessRoleArnHasBeenSet = false;
138
139 Aws::String m_s3BucketName;
140 bool m_s3BucketNameHasBeenSet = false;
141
142 Aws::String m_s3BucketFolder;
143 bool m_s3BucketFolderHasBeenSet = false;
144
145 int m_errorRetryDuration{0};
146 bool m_errorRetryDurationHasBeenSet = false;
147
148 int m_maxFileSize{0};
149 bool m_maxFileSizeHasBeenSet = false;
150
151 int m_maxRetryCount{0};
152 bool m_maxRetryCountHasBeenSet = false;
153
154 bool m_iamAuthEnabled{false};
155 bool m_iamAuthEnabledHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace DatabaseMigrationService
160} // 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