/** * 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 MigrationHub { namespace Model { /** *

Object representing the on-premises resource being migrated.

See * Also:

AWS * API Reference

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

The configurationId in Application Discovery Service that uniquely identifies * the on-premise resource.

*/ inline const Aws::String& GetConfigurationId() const{ return m_configurationId; } /** *

The configurationId in Application Discovery Service that uniquely identifies * the on-premise resource.

*/ inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; } /** *

The configurationId in Application Discovery Service that uniquely identifies * the on-premise resource.

*/ inline void SetConfigurationId(const Aws::String& value) { m_configurationIdHasBeenSet = true; m_configurationId = value; } /** *

The configurationId in Application Discovery Service that uniquely identifies * the on-premise resource.

*/ inline void SetConfigurationId(Aws::String&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::move(value); } /** *

The configurationId in Application Discovery Service that uniquely identifies * the on-premise resource.

*/ inline void SetConfigurationId(const char* value) { m_configurationIdHasBeenSet = true; m_configurationId.assign(value); } /** *

The configurationId in Application Discovery Service that uniquely identifies * the on-premise resource.

*/ inline DiscoveredResource& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;} /** *

The configurationId in Application Discovery Service that uniquely identifies * the on-premise resource.

*/ inline DiscoveredResource& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;} /** *

The configurationId in Application Discovery Service that uniquely identifies * the on-premise resource.

*/ inline DiscoveredResource& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;} /** *

A description that can be free-form text to record additional detail about * the discovered resource for clarity or later reference.

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

A description that can be free-form text to record additional detail about * the discovered resource for clarity or later reference.

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

A description that can be free-form text to record additional detail about * the discovered resource for clarity or later reference.

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

A description that can be free-form text to record additional detail about * the discovered resource for clarity or later reference.

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

A description that can be free-form text to record additional detail about * the discovered resource for clarity or later reference.

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

A description that can be free-form text to record additional detail about * the discovered resource for clarity or later reference.

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

A description that can be free-form text to record additional detail about * the discovered resource for clarity or later reference.

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

A description that can be free-form text to record additional detail about * the discovered resource for clarity or later reference.

*/ inline DiscoveredResource& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_configurationId; bool m_configurationIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace MigrationHub } // namespace Aws