AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CollectorResponse.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/VersionStatus.h>
10#include <aws/dms/model/CollectorHealthCheck.h>
11#include <aws/dms/model/InventoryData.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DatabaseMigrationService
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATABASEMIGRATIONSERVICE_API CollectorResponse();
38 AWS_DATABASEMIGRATIONSERVICE_API CollectorResponse(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API CollectorResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetCollectorReferencedId() const{ return m_collectorReferencedId; }
48 inline bool CollectorReferencedIdHasBeenSet() const { return m_collectorReferencedIdHasBeenSet; }
49 inline void SetCollectorReferencedId(const Aws::String& value) { m_collectorReferencedIdHasBeenSet = true; m_collectorReferencedId = value; }
50 inline void SetCollectorReferencedId(Aws::String&& value) { m_collectorReferencedIdHasBeenSet = true; m_collectorReferencedId = std::move(value); }
51 inline void SetCollectorReferencedId(const char* value) { m_collectorReferencedIdHasBeenSet = true; m_collectorReferencedId.assign(value); }
53 inline CollectorResponse& WithCollectorReferencedId(Aws::String&& value) { SetCollectorReferencedId(std::move(value)); return *this;}
54 inline CollectorResponse& WithCollectorReferencedId(const char* value) { SetCollectorReferencedId(value); return *this;}
56
58
61 inline const Aws::String& GetCollectorName() const{ return m_collectorName; }
62 inline bool CollectorNameHasBeenSet() const { return m_collectorNameHasBeenSet; }
63 inline void SetCollectorName(const Aws::String& value) { m_collectorNameHasBeenSet = true; m_collectorName = value; }
64 inline void SetCollectorName(Aws::String&& value) { m_collectorNameHasBeenSet = true; m_collectorName = std::move(value); }
65 inline void SetCollectorName(const char* value) { m_collectorNameHasBeenSet = true; m_collectorName.assign(value); }
66 inline CollectorResponse& WithCollectorName(const Aws::String& value) { SetCollectorName(value); return *this;}
67 inline CollectorResponse& WithCollectorName(Aws::String&& value) { SetCollectorName(std::move(value)); return *this;}
68 inline CollectorResponse& WithCollectorName(const char* value) { SetCollectorName(value); return *this;}
70
72
76 inline const Aws::String& GetCollectorVersion() const{ return m_collectorVersion; }
77 inline bool CollectorVersionHasBeenSet() const { return m_collectorVersionHasBeenSet; }
78 inline void SetCollectorVersion(const Aws::String& value) { m_collectorVersionHasBeenSet = true; m_collectorVersion = value; }
79 inline void SetCollectorVersion(Aws::String&& value) { m_collectorVersionHasBeenSet = true; m_collectorVersion = std::move(value); }
80 inline void SetCollectorVersion(const char* value) { m_collectorVersionHasBeenSet = true; m_collectorVersion.assign(value); }
81 inline CollectorResponse& WithCollectorVersion(const Aws::String& value) { SetCollectorVersion(value); return *this;}
82 inline CollectorResponse& WithCollectorVersion(Aws::String&& value) { SetCollectorVersion(std::move(value)); return *this;}
83 inline CollectorResponse& WithCollectorVersion(const char* value) { SetCollectorVersion(value); return *this;}
85
87
90 inline const VersionStatus& GetVersionStatus() const{ return m_versionStatus; }
91 inline bool VersionStatusHasBeenSet() const { return m_versionStatusHasBeenSet; }
92 inline void SetVersionStatus(const VersionStatus& value) { m_versionStatusHasBeenSet = true; m_versionStatus = value; }
93 inline void SetVersionStatus(VersionStatus&& value) { m_versionStatusHasBeenSet = true; m_versionStatus = std::move(value); }
94 inline CollectorResponse& WithVersionStatus(const VersionStatus& value) { SetVersionStatus(value); return *this;}
95 inline CollectorResponse& WithVersionStatus(VersionStatus&& value) { SetVersionStatus(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetDescription() const{ return m_description; }
103 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
104 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
105 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
106 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
107 inline CollectorResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
108 inline CollectorResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
109 inline CollectorResponse& WithDescription(const char* value) { SetDescription(value); return *this;}
111
113
117 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
118 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
119 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
120 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
121 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
122 inline CollectorResponse& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
123 inline CollectorResponse& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
124 inline CollectorResponse& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
126
128
132 inline const Aws::String& GetServiceAccessRoleArn() const{ return m_serviceAccessRoleArn; }
133 inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; }
134 inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; }
135 inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); }
136 inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); }
138 inline CollectorResponse& WithServiceAccessRoleArn(Aws::String&& value) { SetServiceAccessRoleArn(std::move(value)); return *this;}
139 inline CollectorResponse& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;}
141
143
144 inline const CollectorHealthCheck& GetCollectorHealthCheck() const{ return m_collectorHealthCheck; }
145 inline bool CollectorHealthCheckHasBeenSet() const { return m_collectorHealthCheckHasBeenSet; }
146 inline void SetCollectorHealthCheck(const CollectorHealthCheck& value) { m_collectorHealthCheckHasBeenSet = true; m_collectorHealthCheck = value; }
147 inline void SetCollectorHealthCheck(CollectorHealthCheck&& value) { m_collectorHealthCheckHasBeenSet = true; m_collectorHealthCheck = std::move(value); }
151
153
157 inline const Aws::String& GetLastDataReceived() const{ return m_lastDataReceived; }
158 inline bool LastDataReceivedHasBeenSet() const { return m_lastDataReceivedHasBeenSet; }
159 inline void SetLastDataReceived(const Aws::String& value) { m_lastDataReceivedHasBeenSet = true; m_lastDataReceived = value; }
160 inline void SetLastDataReceived(Aws::String&& value) { m_lastDataReceivedHasBeenSet = true; m_lastDataReceived = std::move(value); }
161 inline void SetLastDataReceived(const char* value) { m_lastDataReceivedHasBeenSet = true; m_lastDataReceived.assign(value); }
162 inline CollectorResponse& WithLastDataReceived(const Aws::String& value) { SetLastDataReceived(value); return *this;}
163 inline CollectorResponse& WithLastDataReceived(Aws::String&& value) { SetLastDataReceived(std::move(value)); return *this;}
164 inline CollectorResponse& WithLastDataReceived(const char* value) { SetLastDataReceived(value); return *this;}
166
168
172 inline const Aws::String& GetRegisteredDate() const{ return m_registeredDate; }
173 inline bool RegisteredDateHasBeenSet() const { return m_registeredDateHasBeenSet; }
174 inline void SetRegisteredDate(const Aws::String& value) { m_registeredDateHasBeenSet = true; m_registeredDate = value; }
175 inline void SetRegisteredDate(Aws::String&& value) { m_registeredDateHasBeenSet = true; m_registeredDate = std::move(value); }
176 inline void SetRegisteredDate(const char* value) { m_registeredDateHasBeenSet = true; m_registeredDate.assign(value); }
177 inline CollectorResponse& WithRegisteredDate(const Aws::String& value) { SetRegisteredDate(value); return *this;}
178 inline CollectorResponse& WithRegisteredDate(Aws::String&& value) { SetRegisteredDate(std::move(value)); return *this;}
179 inline CollectorResponse& WithRegisteredDate(const char* value) { SetRegisteredDate(value); return *this;}
181
183
187 inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
188 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
189 inline void SetCreatedDate(const Aws::String& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
190 inline void SetCreatedDate(Aws::String&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
191 inline void SetCreatedDate(const char* value) { m_createdDateHasBeenSet = true; m_createdDate.assign(value); }
192 inline CollectorResponse& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
193 inline CollectorResponse& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
194 inline CollectorResponse& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
196
198
202 inline const Aws::String& GetModifiedDate() const{ return m_modifiedDate; }
203 inline bool ModifiedDateHasBeenSet() const { return m_modifiedDateHasBeenSet; }
204 inline void SetModifiedDate(const Aws::String& value) { m_modifiedDateHasBeenSet = true; m_modifiedDate = value; }
205 inline void SetModifiedDate(Aws::String&& value) { m_modifiedDateHasBeenSet = true; m_modifiedDate = std::move(value); }
206 inline void SetModifiedDate(const char* value) { m_modifiedDateHasBeenSet = true; m_modifiedDate.assign(value); }
207 inline CollectorResponse& WithModifiedDate(const Aws::String& value) { SetModifiedDate(value); return *this;}
208 inline CollectorResponse& WithModifiedDate(Aws::String&& value) { SetModifiedDate(std::move(value)); return *this;}
209 inline CollectorResponse& WithModifiedDate(const char* value) { SetModifiedDate(value); return *this;}
211
213
214 inline const InventoryData& GetInventoryData() const{ return m_inventoryData; }
215 inline bool InventoryDataHasBeenSet() const { return m_inventoryDataHasBeenSet; }
216 inline void SetInventoryData(const InventoryData& value) { m_inventoryDataHasBeenSet = true; m_inventoryData = value; }
217 inline void SetInventoryData(InventoryData&& value) { m_inventoryDataHasBeenSet = true; m_inventoryData = std::move(value); }
218 inline CollectorResponse& WithInventoryData(const InventoryData& value) { SetInventoryData(value); return *this;}
219 inline CollectorResponse& WithInventoryData(InventoryData&& value) { SetInventoryData(std::move(value)); return *this;}
221 private:
222
223 Aws::String m_collectorReferencedId;
224 bool m_collectorReferencedIdHasBeenSet = false;
225
226 Aws::String m_collectorName;
227 bool m_collectorNameHasBeenSet = false;
228
229 Aws::String m_collectorVersion;
230 bool m_collectorVersionHasBeenSet = false;
231
232 VersionStatus m_versionStatus;
233 bool m_versionStatusHasBeenSet = false;
234
235 Aws::String m_description;
236 bool m_descriptionHasBeenSet = false;
237
238 Aws::String m_s3BucketName;
239 bool m_s3BucketNameHasBeenSet = false;
240
241 Aws::String m_serviceAccessRoleArn;
242 bool m_serviceAccessRoleArnHasBeenSet = false;
243
244 CollectorHealthCheck m_collectorHealthCheck;
245 bool m_collectorHealthCheckHasBeenSet = false;
246
247 Aws::String m_lastDataReceived;
248 bool m_lastDataReceivedHasBeenSet = false;
249
250 Aws::String m_registeredDate;
251 bool m_registeredDateHasBeenSet = false;
252
253 Aws::String m_createdDate;
254 bool m_createdDateHasBeenSet = false;
255
256 Aws::String m_modifiedDate;
257 bool m_modifiedDateHasBeenSet = false;
258
259 InventoryData m_inventoryData;
260 bool m_inventoryDataHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace DatabaseMigrationService
265} // namespace Aws
CollectorResponse & WithCollectorVersion(const char *value)
CollectorResponse & WithCollectorVersion(Aws::String &&value)
CollectorResponse & WithCollectorName(const Aws::String &value)
CollectorResponse & WithDescription(const Aws::String &value)
CollectorResponse & WithCollectorReferencedId(Aws::String &&value)
CollectorResponse & WithRegisteredDate(const char *value)
CollectorResponse & WithLastDataReceived(const Aws::String &value)
CollectorResponse & WithModifiedDate(const Aws::String &value)
CollectorResponse & WithRegisteredDate(Aws::String &&value)
CollectorResponse & WithVersionStatus(const VersionStatus &value)
CollectorResponse & WithModifiedDate(const char *value)
CollectorResponse & WithServiceAccessRoleArn(Aws::String &&value)
CollectorResponse & WithS3BucketName(const char *value)
void SetCollectorHealthCheck(const CollectorHealthCheck &value)
AWS_DATABASEMIGRATIONSERVICE_API CollectorResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
CollectorResponse & WithServiceAccessRoleArn(const Aws::String &value)
CollectorResponse & WithDescription(Aws::String &&value)
CollectorResponse & WithRegisteredDate(const Aws::String &value)
CollectorResponse & WithModifiedDate(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API CollectorResponse()
CollectorResponse & WithCollectorName(Aws::String &&value)
CollectorResponse & WithCreatedDate(const char *value)
CollectorResponse & WithCreatedDate(Aws::String &&value)
CollectorResponse & WithCollectorReferencedId(const char *value)
CollectorResponse & WithLastDataReceived(Aws::String &&value)
CollectorResponse & WithServiceAccessRoleArn(const char *value)
CollectorResponse & WithInventoryData(const InventoryData &value)
CollectorResponse & WithCollectorReferencedId(const Aws::String &value)
CollectorResponse & WithDescription(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API CollectorResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CollectorResponse & WithCreatedDate(const Aws::String &value)
CollectorResponse & WithLastDataReceived(const char *value)
CollectorResponse & WithCollectorHealthCheck(CollectorHealthCheck &&value)
CollectorResponse & WithInventoryData(InventoryData &&value)
CollectorResponse & WithS3BucketName(Aws::String &&value)
const CollectorHealthCheck & GetCollectorHealthCheck() const
CollectorResponse & WithVersionStatus(VersionStatus &&value)
CollectorResponse & WithCollectorName(const char *value)
void SetCollectorHealthCheck(CollectorHealthCheck &&value)
CollectorResponse & WithCollectorVersion(const Aws::String &value)
CollectorResponse & WithCollectorHealthCheck(const CollectorHealthCheck &value)
CollectorResponse & WithS3BucketName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue