AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartReplicationTaskAssessmentRunRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dms/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DatabaseMigrationService
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_DATABASEMIGRATIONSERVICE_API StartReplicationTaskAssessmentRunRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "StartReplicationTaskAssessmentRun"; }
36
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
47 inline const Aws::String& GetReplicationTaskArn() const{ return m_replicationTaskArn; }
48 inline bool ReplicationTaskArnHasBeenSet() const { return m_replicationTaskArnHasBeenSet; }
49 inline void SetReplicationTaskArn(const Aws::String& value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn = value; }
50 inline void SetReplicationTaskArn(Aws::String&& value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn = std::move(value); }
51 inline void SetReplicationTaskArn(const char* value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn.assign(value); }
56
58
62 inline const Aws::String& GetServiceAccessRoleArn() const{ return m_serviceAccessRoleArn; }
63 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
64 inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; }
65 inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); }
66 inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); }
71
73
77 inline const Aws::String& GetResultLocationBucket() const{ return m_resultLocationBucket; }
78 inline bool ResultLocationBucketHasBeenSet() const { return m_resultLocationBucketHasBeenSet; }
79 inline void SetResultLocationBucket(const Aws::String& value) { m_resultLocationBucketHasBeenSet = true; m_resultLocationBucket = value; }
80 inline void SetResultLocationBucket(Aws::String&& value) { m_resultLocationBucketHasBeenSet = true; m_resultLocationBucket = std::move(value); }
81 inline void SetResultLocationBucket(const char* value) { m_resultLocationBucketHasBeenSet = true; m_resultLocationBucket.assign(value); }
86
88
92 inline const Aws::String& GetResultLocationFolder() const{ return m_resultLocationFolder; }
93 inline bool ResultLocationFolderHasBeenSet() const { return m_resultLocationFolderHasBeenSet; }
94 inline void SetResultLocationFolder(const Aws::String& value) { m_resultLocationFolderHasBeenSet = true; m_resultLocationFolder = value; }
95 inline void SetResultLocationFolder(Aws::String&& value) { m_resultLocationFolderHasBeenSet = true; m_resultLocationFolder = std::move(value); }
96 inline void SetResultLocationFolder(const char* value) { m_resultLocationFolderHasBeenSet = true; m_resultLocationFolder.assign(value); }
101
103
113 inline const Aws::String& GetResultEncryptionMode() const{ return m_resultEncryptionMode; }
114 inline bool ResultEncryptionModeHasBeenSet() const { return m_resultEncryptionModeHasBeenSet; }
115 inline void SetResultEncryptionMode(const Aws::String& value) { m_resultEncryptionModeHasBeenSet = true; m_resultEncryptionMode = value; }
116 inline void SetResultEncryptionMode(Aws::String&& value) { m_resultEncryptionModeHasBeenSet = true; m_resultEncryptionMode = std::move(value); }
117 inline void SetResultEncryptionMode(const char* value) { m_resultEncryptionModeHasBeenSet = true; m_resultEncryptionMode.assign(value); }
122
124
128 inline const Aws::String& GetResultKmsKeyArn() const{ return m_resultKmsKeyArn; }
129 inline bool ResultKmsKeyArnHasBeenSet() const { return m_resultKmsKeyArnHasBeenSet; }
130 inline void SetResultKmsKeyArn(const Aws::String& value) { m_resultKmsKeyArnHasBeenSet = true; m_resultKmsKeyArn = value; }
131 inline void SetResultKmsKeyArn(Aws::String&& value) { m_resultKmsKeyArnHasBeenSet = true; m_resultKmsKeyArn = std::move(value); }
132 inline void SetResultKmsKeyArn(const char* value) { m_resultKmsKeyArnHasBeenSet = true; m_resultKmsKeyArn.assign(value); }
135 inline StartReplicationTaskAssessmentRunRequest& WithResultKmsKeyArn(const char* value) { SetResultKmsKeyArn(value); return *this;}
137
139
142 inline const Aws::String& GetAssessmentRunName() const{ return m_assessmentRunName; }
143 inline bool AssessmentRunNameHasBeenSet() const { return m_assessmentRunNameHasBeenSet; }
144 inline void SetAssessmentRunName(const Aws::String& value) { m_assessmentRunNameHasBeenSet = true; m_assessmentRunName = value; }
145 inline void SetAssessmentRunName(Aws::String&& value) { m_assessmentRunNameHasBeenSet = true; m_assessmentRunName = std::move(value); }
146 inline void SetAssessmentRunName(const char* value) { m_assessmentRunNameHasBeenSet = true; m_assessmentRunName.assign(value); }
151
153
164 inline const Aws::Vector<Aws::String>& GetIncludeOnly() const{ return m_includeOnly; }
165 inline bool IncludeOnlyHasBeenSet() const { return m_includeOnlyHasBeenSet; }
166 inline void SetIncludeOnly(const Aws::Vector<Aws::String>& value) { m_includeOnlyHasBeenSet = true; m_includeOnly = value; }
167 inline void SetIncludeOnly(Aws::Vector<Aws::String>&& value) { m_includeOnlyHasBeenSet = true; m_includeOnly = std::move(value); }
170 inline StartReplicationTaskAssessmentRunRequest& AddIncludeOnly(const Aws::String& value) { m_includeOnlyHasBeenSet = true; m_includeOnly.push_back(value); return *this; }
171 inline StartReplicationTaskAssessmentRunRequest& AddIncludeOnly(Aws::String&& value) { m_includeOnlyHasBeenSet = true; m_includeOnly.push_back(std::move(value)); return *this; }
172 inline StartReplicationTaskAssessmentRunRequest& AddIncludeOnly(const char* value) { m_includeOnlyHasBeenSet = true; m_includeOnly.push_back(value); return *this; }
174
176
188 inline const Aws::Vector<Aws::String>& GetExclude() const{ return m_exclude; }
189 inline bool ExcludeHasBeenSet() const { return m_excludeHasBeenSet; }
190 inline void SetExclude(const Aws::Vector<Aws::String>& value) { m_excludeHasBeenSet = true; m_exclude = value; }
191 inline void SetExclude(Aws::Vector<Aws::String>&& value) { m_excludeHasBeenSet = true; m_exclude = std::move(value); }
194 inline StartReplicationTaskAssessmentRunRequest& AddExclude(const Aws::String& value) { m_excludeHasBeenSet = true; m_exclude.push_back(value); return *this; }
195 inline StartReplicationTaskAssessmentRunRequest& AddExclude(Aws::String&& value) { m_excludeHasBeenSet = true; m_exclude.push_back(std::move(value)); return *this; }
196 inline StartReplicationTaskAssessmentRunRequest& AddExclude(const char* value) { m_excludeHasBeenSet = true; m_exclude.push_back(value); return *this; }
198
200
204 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
205 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
206 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
207 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
208 inline StartReplicationTaskAssessmentRunRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
209 inline StartReplicationTaskAssessmentRunRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
210 inline StartReplicationTaskAssessmentRunRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
211 inline StartReplicationTaskAssessmentRunRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
213 private:
214
215 Aws::String m_replicationTaskArn;
216 bool m_replicationTaskArnHasBeenSet = false;
217
218 Aws::String m_serviceAccessRoleArn;
219 bool m_serviceAccessRoleArnHasBeenSet = false;
220
221 Aws::String m_resultLocationBucket;
222 bool m_resultLocationBucketHasBeenSet = false;
223
224 Aws::String m_resultLocationFolder;
225 bool m_resultLocationFolderHasBeenSet = false;
226
227 Aws::String m_resultEncryptionMode;
228 bool m_resultEncryptionModeHasBeenSet = false;
229
230 Aws::String m_resultKmsKeyArn;
231 bool m_resultKmsKeyArnHasBeenSet = false;
232
233 Aws::String m_assessmentRunName;
234 bool m_assessmentRunNameHasBeenSet = false;
235
236 Aws::Vector<Aws::String> m_includeOnly;
237 bool m_includeOnlyHasBeenSet = false;
238
239 Aws::Vector<Aws::String> m_exclude;
240 bool m_excludeHasBeenSet = false;
241
242 Aws::Vector<Tag> m_tags;
243 bool m_tagsHasBeenSet = false;
244 };
245
246} // namespace Model
247} // namespace DatabaseMigrationService
248} // namespace Aws
StartReplicationTaskAssessmentRunRequest & WithServiceAccessRoleArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartReplicationTaskAssessmentRunRequest & AddIncludeOnly(const Aws::String &value)
StartReplicationTaskAssessmentRunRequest & WithExclude(const Aws::Vector< Aws::String > &value)
StartReplicationTaskAssessmentRunRequest & WithIncludeOnly(Aws::Vector< Aws::String > &&value)
StartReplicationTaskAssessmentRunRequest & WithExclude(Aws::Vector< Aws::String > &&value)
StartReplicationTaskAssessmentRunRequest & WithReplicationTaskArn(const Aws::String &value)
StartReplicationTaskAssessmentRunRequest & WithResultKmsKeyArn(const Aws::String &value)
StartReplicationTaskAssessmentRunRequest & WithResultEncryptionMode(const Aws::String &value)
StartReplicationTaskAssessmentRunRequest & WithTags(const Aws::Vector< Tag > &value)
StartReplicationTaskAssessmentRunRequest & WithTags(Aws::Vector< Tag > &&value)
StartReplicationTaskAssessmentRunRequest & WithResultLocationFolder(const Aws::String &value)
StartReplicationTaskAssessmentRunRequest & WithAssessmentRunName(const Aws::String &value)
StartReplicationTaskAssessmentRunRequest & WithIncludeOnly(const Aws::Vector< Aws::String > &value)
StartReplicationTaskAssessmentRunRequest & WithResultLocationBucket(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector