AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; }
53 inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); }
54 inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); }
55 inline NeptuneSettings& WithServiceAccessRoleArn(const Aws::String& value) { SetServiceAccessRoleArn(value); return *this;}
56 inline NeptuneSettings& WithServiceAccessRoleArn(Aws::String&& value) { SetServiceAccessRoleArn(std::move(value)); return *this;}
57 inline NeptuneSettings& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;}
59
61
67 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
68 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
69 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
70 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
71 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
72 inline NeptuneSettings& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
73 inline NeptuneSettings& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
74 inline NeptuneSettings& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
76
78
82 inline const Aws::String& GetS3BucketFolder() const{ return m_s3BucketFolder; }
83 inline bool S3BucketFolderHasBeenSet() const { return m_s3BucketFolderHasBeenSet; }
84 inline void SetS3BucketFolder(const Aws::String& value) { m_s3BucketFolderHasBeenSet = true; m_s3BucketFolder = value; }
85 inline void SetS3BucketFolder(Aws::String&& value) { m_s3BucketFolderHasBeenSet = true; m_s3BucketFolder = std::move(value); }
86 inline void SetS3BucketFolder(const char* value) { m_s3BucketFolderHasBeenSet = true; m_s3BucketFolder.assign(value); }
87 inline NeptuneSettings& WithS3BucketFolder(const Aws::String& value) { SetS3BucketFolder(value); return *this;}
88 inline NeptuneSettings& WithS3BucketFolder(Aws::String&& value) { SetS3BucketFolder(std::move(value)); return *this;}
89 inline NeptuneSettings& WithS3BucketFolder(const char* value) { SetS3BucketFolder(value); return *this;}
91
93
98 inline int GetErrorRetryDuration() const{ return m_errorRetryDuration; }
99 inline bool ErrorRetryDurationHasBeenSet() const { return m_errorRetryDurationHasBeenSet; }
100 inline void SetErrorRetryDuration(int value) { m_errorRetryDurationHasBeenSet = true; m_errorRetryDuration = value; }
101 inline NeptuneSettings& WithErrorRetryDuration(int value) { SetErrorRetryDuration(value); return *this;}
103
105
111 inline int GetMaxFileSize() const{ return m_maxFileSize; }
112 inline bool MaxFileSizeHasBeenSet() const { return m_maxFileSizeHasBeenSet; }
113 inline void SetMaxFileSize(int value) { m_maxFileSizeHasBeenSet = true; m_maxFileSize = value; }
114 inline NeptuneSettings& WithMaxFileSize(int value) { SetMaxFileSize(value); return *this;}
116
118
122 inline int GetMaxRetryCount() const{ return m_maxRetryCount; }
123 inline bool MaxRetryCountHasBeenSet() const { return m_maxRetryCountHasBeenSet; }
124 inline void SetMaxRetryCount(int value) { m_maxRetryCountHasBeenSet = true; m_maxRetryCount = value; }
125 inline NeptuneSettings& WithMaxRetryCount(int value) { SetMaxRetryCount(value); return *this;}
127
129
135 inline bool GetIamAuthEnabled() const{ return m_iamAuthEnabled; }
136 inline bool IamAuthEnabledHasBeenSet() const { return m_iamAuthEnabledHasBeenSet; }
137 inline void SetIamAuthEnabled(bool value) { m_iamAuthEnabledHasBeenSet = true; m_iamAuthEnabled = value; }
138 inline NeptuneSettings& WithIamAuthEnabled(bool value) { SetIamAuthEnabled(value); return *this;}
140 private:
141
142 Aws::String m_serviceAccessRoleArn;
143 bool m_serviceAccessRoleArnHasBeenSet = false;
144
145 Aws::String m_s3BucketName;
146 bool m_s3BucketNameHasBeenSet = false;
147
148 Aws::String m_s3BucketFolder;
149 bool m_s3BucketFolderHasBeenSet = false;
150
151 int m_errorRetryDuration;
152 bool m_errorRetryDurationHasBeenSet = false;
153
154 int m_maxFileSize;
155 bool m_maxFileSizeHasBeenSet = false;
156
157 int m_maxRetryCount;
158 bool m_maxRetryCountHasBeenSet = false;
159
160 bool m_iamAuthEnabled;
161 bool m_iamAuthEnabledHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace DatabaseMigrationService
166} // namespace Aws
NeptuneSettings & WithServiceAccessRoleArn(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
NeptuneSettings & WithS3BucketFolder(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings(Aws::Utils::Json::JsonView jsonValue)
NeptuneSettings & WithS3BucketFolder(const Aws::String &value)
NeptuneSettings & WithS3BucketName(const char *value)
NeptuneSettings & WithS3BucketName(const Aws::String &value)
NeptuneSettings & WithS3BucketName(Aws::String &&value)
NeptuneSettings & WithS3BucketFolder(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API NeptuneSettings()
NeptuneSettings & WithServiceAccessRoleArn(const Aws::String &value)
NeptuneSettings & WithServiceAccessRoleArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue