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

Briefly describes a Fleet Advisor collector.

See Also:

AWS * API Reference

*/ class CollectorShortInfoResponse { public: AWS_DATABASEMIGRATIONSERVICE_API CollectorShortInfoResponse(); AWS_DATABASEMIGRATIONSERVICE_API CollectorShortInfoResponse(Aws::Utils::Json::JsonView jsonValue); AWS_DATABASEMIGRATIONSERVICE_API CollectorShortInfoResponse& 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 CollectorShortInfoResponse& WithCollectorReferencedId(const Aws::String& value) { SetCollectorReferencedId(value); return *this;} /** *

The reference ID of the Fleet Advisor collector.

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

The reference ID of the Fleet Advisor collector.

*/ inline CollectorShortInfoResponse& 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 CollectorShortInfoResponse& WithCollectorName(const Aws::String& value) { SetCollectorName(value); return *this;} /** *

The name of the Fleet Advisor collector.

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

The name of the Fleet Advisor collector.

*/ inline CollectorShortInfoResponse& WithCollectorName(const char* value) { SetCollectorName(value); return *this;} private: Aws::String m_collectorReferencedId; bool m_collectorReferencedIdHasBeenSet = false; Aws::String m_collectorName; bool m_collectorNameHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws