/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DatabaseMigrationService { namespace Model { /** *

Describes a Fleet Advisor collector.

See Also:

AWS * API Reference

*/ class CollectorResponse { public: AWS_DATABASEMIGRATIONSERVICE_API CollectorResponse(); AWS_DATABASEMIGRATIONSERVICE_API CollectorResponse(Aws::Utils::Json::JsonView jsonValue); AWS_DATABASEMIGRATIONSERVICE_API CollectorResponse& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The reference ID of the Fleet Advisor collector.

*/ inline const Aws::String& GetCollectorReferencedId() const{ return m_collectorReferencedId; } /** *

The reference ID of the Fleet Advisor collector.

*/ inline bool CollectorReferencedIdHasBeenSet() const { return m_collectorReferencedIdHasBeenSet; } /** *

The reference ID of the Fleet Advisor collector.

*/ inline void SetCollectorReferencedId(const Aws::String& value) { m_collectorReferencedIdHasBeenSet = true; m_collectorReferencedId = value; } /** *

The reference ID of the Fleet Advisor collector.

*/ inline void SetCollectorReferencedId(Aws::String&& value) { m_collectorReferencedIdHasBeenSet = true; m_collectorReferencedId = std::move(value); } /** *

The reference ID of the Fleet Advisor collector.

*/ inline void SetCollectorReferencedId(const char* value) { m_collectorReferencedIdHasBeenSet = true; m_collectorReferencedId.assign(value); } /** *

The reference ID of the Fleet Advisor collector.

*/ inline CollectorResponse& WithCollectorReferencedId(const Aws::String& value) { SetCollectorReferencedId(value); return *this;} /** *

The reference ID of the Fleet Advisor collector.

*/ inline CollectorResponse& WithCollectorReferencedId(Aws::String&& value) { SetCollectorReferencedId(std::move(value)); return *this;} /** *

The reference ID of the Fleet Advisor collector.

*/ inline CollectorResponse& WithCollectorReferencedId(const char* value) { SetCollectorReferencedId(value); return *this;} /** *

The name of the Fleet Advisor collector .

*/ inline const Aws::String& GetCollectorName() const{ return m_collectorName; } /** *

The name of the Fleet Advisor collector .

*/ inline bool CollectorNameHasBeenSet() const { return m_collectorNameHasBeenSet; } /** *

The name of the Fleet Advisor collector .

*/ inline void SetCollectorName(const Aws::String& value) { m_collectorNameHasBeenSet = true; m_collectorName = value; } /** *

The name of the Fleet Advisor collector .

*/ inline void SetCollectorName(Aws::String&& value) { m_collectorNameHasBeenSet = true; m_collectorName = std::move(value); } /** *

The name of the Fleet Advisor collector .

*/ inline void SetCollectorName(const char* value) { m_collectorNameHasBeenSet = true; m_collectorName.assign(value); } /** *

The name of the Fleet Advisor collector .

*/ inline CollectorResponse& WithCollectorName(const Aws::String& value) { SetCollectorName(value); return *this;} /** *

The name of the Fleet Advisor collector .

*/ inline CollectorResponse& WithCollectorName(Aws::String&& value) { SetCollectorName(std::move(value)); return *this;} /** *

The name of the Fleet Advisor collector .

*/ inline CollectorResponse& WithCollectorName(const char* value) { SetCollectorName(value); return *this;} /** *

The version of your Fleet Advisor collector, in semantic versioning format, * for example 1.0.2

*/ inline const Aws::String& GetCollectorVersion() const{ return m_collectorVersion; } /** *

The version of your Fleet Advisor collector, in semantic versioning format, * for example 1.0.2

*/ inline bool CollectorVersionHasBeenSet() const { return m_collectorVersionHasBeenSet; } /** *

The version of your Fleet Advisor collector, in semantic versioning format, * for example 1.0.2

*/ inline void SetCollectorVersion(const Aws::String& value) { m_collectorVersionHasBeenSet = true; m_collectorVersion = value; } /** *

The version of your Fleet Advisor collector, in semantic versioning format, * for example 1.0.2

*/ inline void SetCollectorVersion(Aws::String&& value) { m_collectorVersionHasBeenSet = true; m_collectorVersion = std::move(value); } /** *

The version of your Fleet Advisor collector, in semantic versioning format, * for example 1.0.2

*/ inline void SetCollectorVersion(const char* value) { m_collectorVersionHasBeenSet = true; m_collectorVersion.assign(value); } /** *

The version of your Fleet Advisor collector, in semantic versioning format, * for example 1.0.2

*/ inline CollectorResponse& WithCollectorVersion(const Aws::String& value) { SetCollectorVersion(value); return *this;} /** *

The version of your Fleet Advisor collector, in semantic versioning format, * for example 1.0.2

*/ inline CollectorResponse& WithCollectorVersion(Aws::String&& value) { SetCollectorVersion(std::move(value)); return *this;} /** *

The version of your Fleet Advisor collector, in semantic versioning format, * for example 1.0.2

*/ inline CollectorResponse& WithCollectorVersion(const char* value) { SetCollectorVersion(value); return *this;} /** *

Whether the collector version is up to date.

*/ inline const VersionStatus& GetVersionStatus() const{ return m_versionStatus; } /** *

Whether the collector version is up to date.

*/ inline bool VersionStatusHasBeenSet() const { return m_versionStatusHasBeenSet; } /** *

Whether the collector version is up to date.

*/ inline void SetVersionStatus(const VersionStatus& value) { m_versionStatusHasBeenSet = true; m_versionStatus = value; } /** *

Whether the collector version is up to date.

*/ inline void SetVersionStatus(VersionStatus&& value) { m_versionStatusHasBeenSet = true; m_versionStatus = std::move(value); } /** *

Whether the collector version is up to date.

*/ inline CollectorResponse& WithVersionStatus(const VersionStatus& value) { SetVersionStatus(value); return *this;} /** *

Whether the collector version is up to date.

*/ inline CollectorResponse& WithVersionStatus(VersionStatus&& value) { SetVersionStatus(std::move(value)); return *this;} /** *

A summary description of the Fleet Advisor collector.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A summary description of the Fleet Advisor collector.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A summary description of the Fleet Advisor collector.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A summary description of the Fleet Advisor collector.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A summary description of the Fleet Advisor collector.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A summary description of the Fleet Advisor collector.

*/ inline CollectorResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A summary description of the Fleet Advisor collector.

*/ inline CollectorResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A summary description of the Fleet Advisor collector.

*/ inline CollectorResponse& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory * metadata.

*/ inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; } /** *

The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory * metadata.

*/ inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; } /** *

The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory * metadata.

*/ inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; } /** *

The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory * metadata.

*/ inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); } /** *

The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory * metadata.

*/ inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); } /** *

The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory * metadata.

*/ inline CollectorResponse& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;} /** *

The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory * metadata.

*/ inline CollectorResponse& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} /** *

The Amazon S3 bucket that the Fleet Advisor collector uses to store inventory * metadata.

*/ inline CollectorResponse& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} /** *

The IAM role that grants permissions to access the specified Amazon S3 * bucket.

*/ inline const Aws::String& GetServiceAccessRoleArn() const{ return m_serviceAccessRoleArn; } /** *

The IAM role that grants permissions to access the specified Amazon S3 * bucket.

*/ inline bool ServiceAccessRoleArnHasBeenSet() const { return m_serviceAccessRoleArnHasBeenSet; } /** *

The IAM role that grants permissions to access the specified Amazon S3 * bucket.

*/ inline void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = value; } /** *

The IAM role that grants permissions to access the specified Amazon S3 * bucket.

*/ inline void SetServiceAccessRoleArn(Aws::String&& value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn = std::move(value); } /** *

The IAM role that grants permissions to access the specified Amazon S3 * bucket.

*/ inline void SetServiceAccessRoleArn(const char* value) { m_serviceAccessRoleArnHasBeenSet = true; m_serviceAccessRoleArn.assign(value); } /** *

The IAM role that grants permissions to access the specified Amazon S3 * bucket.

*/ inline CollectorResponse& WithServiceAccessRoleArn(const Aws::String& value) { SetServiceAccessRoleArn(value); return *this;} /** *

The IAM role that grants permissions to access the specified Amazon S3 * bucket.

*/ inline CollectorResponse& WithServiceAccessRoleArn(Aws::String&& value) { SetServiceAccessRoleArn(std::move(value)); return *this;} /** *

The IAM role that grants permissions to access the specified Amazon S3 * bucket.

*/ inline CollectorResponse& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;} inline const CollectorHealthCheck& GetCollectorHealthCheck() const{ return m_collectorHealthCheck; } inline bool CollectorHealthCheckHasBeenSet() const { return m_collectorHealthCheckHasBeenSet; } inline void SetCollectorHealthCheck(const CollectorHealthCheck& value) { m_collectorHealthCheckHasBeenSet = true; m_collectorHealthCheck = value; } inline void SetCollectorHealthCheck(CollectorHealthCheck&& value) { m_collectorHealthCheckHasBeenSet = true; m_collectorHealthCheck = std::move(value); } inline CollectorResponse& WithCollectorHealthCheck(const CollectorHealthCheck& value) { SetCollectorHealthCheck(value); return *this;} inline CollectorResponse& WithCollectorHealthCheck(CollectorHealthCheck&& value) { SetCollectorHealthCheck(std::move(value)); return *this;} /** *

The timestamp of the last time the collector received data, in the following * format: 2022-01-24T19:04:02.596113Z

*/ inline const Aws::String& GetLastDataReceived() const{ return m_lastDataReceived; } /** *

The timestamp of the last time the collector received data, in the following * format: 2022-01-24T19:04:02.596113Z

*/ inline bool LastDataReceivedHasBeenSet() const { return m_lastDataReceivedHasBeenSet; } /** *

The timestamp of the last time the collector received data, in the following * format: 2022-01-24T19:04:02.596113Z

*/ inline void SetLastDataReceived(const Aws::String& value) { m_lastDataReceivedHasBeenSet = true; m_lastDataReceived = value; } /** *

The timestamp of the last time the collector received data, in the following * format: 2022-01-24T19:04:02.596113Z

*/ inline void SetLastDataReceived(Aws::String&& value) { m_lastDataReceivedHasBeenSet = true; m_lastDataReceived = std::move(value); } /** *

The timestamp of the last time the collector received data, in the following * format: 2022-01-24T19:04:02.596113Z

*/ inline void SetLastDataReceived(const char* value) { m_lastDataReceivedHasBeenSet = true; m_lastDataReceived.assign(value); } /** *

The timestamp of the last time the collector received data, in the following * format: 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithLastDataReceived(const Aws::String& value) { SetLastDataReceived(value); return *this;} /** *

The timestamp of the last time the collector received data, in the following * format: 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithLastDataReceived(Aws::String&& value) { SetLastDataReceived(std::move(value)); return *this;} /** *

The timestamp of the last time the collector received data, in the following * format: 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithLastDataReceived(const char* value) { SetLastDataReceived(value); return *this;} /** *

The timestamp when DMS registered the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline const Aws::String& GetRegisteredDate() const{ return m_registeredDate; } /** *

The timestamp when DMS registered the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline bool RegisteredDateHasBeenSet() const { return m_registeredDateHasBeenSet; } /** *

The timestamp when DMS registered the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline void SetRegisteredDate(const Aws::String& value) { m_registeredDateHasBeenSet = true; m_registeredDate = value; } /** *

The timestamp when DMS registered the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline void SetRegisteredDate(Aws::String&& value) { m_registeredDateHasBeenSet = true; m_registeredDate = std::move(value); } /** *

The timestamp when DMS registered the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline void SetRegisteredDate(const char* value) { m_registeredDateHasBeenSet = true; m_registeredDate.assign(value); } /** *

The timestamp when DMS registered the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithRegisteredDate(const Aws::String& value) { SetRegisteredDate(value); return *this;} /** *

The timestamp when DMS registered the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithRegisteredDate(Aws::String&& value) { SetRegisteredDate(std::move(value)); return *this;} /** *

The timestamp when DMS registered the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithRegisteredDate(const char* value) { SetRegisteredDate(value); return *this;} /** *

The timestamp when you created the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline const Aws::String& GetCreatedDate() const{ return m_createdDate; } /** *

The timestamp when you created the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; } /** *

The timestamp when you created the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline void SetCreatedDate(const Aws::String& value) { m_createdDateHasBeenSet = true; m_createdDate = value; } /** *

The timestamp when you created the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline void SetCreatedDate(Aws::String&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); } /** *

The timestamp when you created the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline void SetCreatedDate(const char* value) { m_createdDateHasBeenSet = true; m_createdDate.assign(value); } /** *

The timestamp when you created the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;} /** *

The timestamp when you created the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;} /** *

The timestamp when you created the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;} /** *

The timestamp when DMS last modified the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline const Aws::String& GetModifiedDate() const{ return m_modifiedDate; } /** *

The timestamp when DMS last modified the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline bool ModifiedDateHasBeenSet() const { return m_modifiedDateHasBeenSet; } /** *

The timestamp when DMS last modified the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline void SetModifiedDate(const Aws::String& value) { m_modifiedDateHasBeenSet = true; m_modifiedDate = value; } /** *

The timestamp when DMS last modified the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline void SetModifiedDate(Aws::String&& value) { m_modifiedDateHasBeenSet = true; m_modifiedDate = std::move(value); } /** *

The timestamp when DMS last modified the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline void SetModifiedDate(const char* value) { m_modifiedDateHasBeenSet = true; m_modifiedDate.assign(value); } /** *

The timestamp when DMS last modified the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithModifiedDate(const Aws::String& value) { SetModifiedDate(value); return *this;} /** *

The timestamp when DMS last modified the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithModifiedDate(Aws::String&& value) { SetModifiedDate(std::move(value)); return *this;} /** *

The timestamp when DMS last modified the collector, in the following format: * 2022-01-24T19:04:02.596113Z

*/ inline CollectorResponse& WithModifiedDate(const char* value) { SetModifiedDate(value); return *this;} inline const InventoryData& GetInventoryData() const{ return m_inventoryData; } inline bool InventoryDataHasBeenSet() const { return m_inventoryDataHasBeenSet; } inline void SetInventoryData(const InventoryData& value) { m_inventoryDataHasBeenSet = true; m_inventoryData = value; } inline void SetInventoryData(InventoryData&& value) { m_inventoryDataHasBeenSet = true; m_inventoryData = std::move(value); } inline CollectorResponse& WithInventoryData(const InventoryData& value) { SetInventoryData(value); return *this;} inline CollectorResponse& WithInventoryData(InventoryData&& value) { SetInventoryData(std::move(value)); return *this;} private: Aws::String m_collectorReferencedId; bool m_collectorReferencedIdHasBeenSet = false; Aws::String m_collectorName; bool m_collectorNameHasBeenSet = false; Aws::String m_collectorVersion; bool m_collectorVersionHasBeenSet = false; VersionStatus m_versionStatus; bool m_versionStatusHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_s3BucketName; bool m_s3BucketNameHasBeenSet = false; Aws::String m_serviceAccessRoleArn; bool m_serviceAccessRoleArnHasBeenSet = false; CollectorHealthCheck m_collectorHealthCheck; bool m_collectorHealthCheckHasBeenSet = false; Aws::String m_lastDataReceived; bool m_lastDataReceivedHasBeenSet = false; Aws::String m_registeredDate; bool m_registeredDateHasBeenSet = false; Aws::String m_createdDate; bool m_createdDateHasBeenSet = false; Aws::String m_modifiedDate; bool m_modifiedDateHasBeenSet = false; InventoryData m_inventoryData; bool m_inventoryDataHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws