/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DatabaseMigrationService { namespace Model { class CreateFleetAdvisorCollectorResult { public: AWS_DATABASEMIGRATIONSERVICE_API CreateFleetAdvisorCollectorResult(); AWS_DATABASEMIGRATIONSERVICE_API CreateFleetAdvisorCollectorResult(const Aws::AmazonWebServiceResult& result); AWS_DATABASEMIGRATIONSERVICE_API CreateFleetAdvisorCollectorResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique ID of the new Fleet Advisor collector, for example: * 22fda70c-40d5-4acf-b233-a495bd8eb7f5

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

The unique ID of the new Fleet Advisor collector, for example: * 22fda70c-40d5-4acf-b233-a495bd8eb7f5

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

The unique ID of the new Fleet Advisor collector, for example: * 22fda70c-40d5-4acf-b233-a495bd8eb7f5

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

The unique ID of the new Fleet Advisor collector, for example: * 22fda70c-40d5-4acf-b233-a495bd8eb7f5

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

The unique ID of the new Fleet Advisor collector, for example: * 22fda70c-40d5-4acf-b233-a495bd8eb7f5

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

The unique ID of the new Fleet Advisor collector, for example: * 22fda70c-40d5-4acf-b233-a495bd8eb7f5

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

The unique ID of the new Fleet Advisor collector, for example: * 22fda70c-40d5-4acf-b233-a495bd8eb7f5

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

The name of the new Fleet Advisor collector.

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

The name of the new Fleet Advisor collector.

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

The name of the new Fleet Advisor collector.

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

The name of the new Fleet Advisor collector.

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

The name of the new Fleet Advisor collector.

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

The name of the new Fleet Advisor collector.

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

The name of the new Fleet Advisor collector.

*/ inline CreateFleetAdvisorCollectorResult& WithCollectorName(const char* value) { SetCollectorName(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 void SetDescription(const Aws::String& value) { m_description = value; } /** *

A summary description of the Fleet Advisor collector.

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

A summary description of the Fleet Advisor collector.

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

A summary description of the Fleet Advisor collector.

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

A summary description of the Fleet Advisor collector.

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

A summary description of the Fleet Advisor collector.

*/ inline CreateFleetAdvisorCollectorResult& WithDescription(const char* value) { SetDescription(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 void SetServiceAccessRoleArn(const Aws::String& value) { m_serviceAccessRoleArn = value; } /** *

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

*/ inline void SetServiceAccessRoleArn(Aws::String&& value) { 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_serviceAccessRoleArn.assign(value); } /** *

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

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

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

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

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

*/ inline CreateFleetAdvisorCollectorResult& WithServiceAccessRoleArn(const char* value) { SetServiceAccessRoleArn(value); return *this;} /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline CreateFleetAdvisorCollectorResult& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateFleetAdvisorCollectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateFleetAdvisorCollectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateFleetAdvisorCollectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_collectorReferencedId; Aws::String m_collectorName; Aws::String m_description; Aws::String m_serviceAccessRoleArn; Aws::String m_s3BucketName; Aws::String m_requestId; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws