/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MigrationHubStrategyRecommendations { namespace Model { class GetApplicationComponentDetailsResult { public: AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetApplicationComponentDetailsResult(); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetApplicationComponentDetailsResult(const Aws::AmazonWebServiceResult& result); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetApplicationComponentDetailsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Detailed information about an application component.

*/ inline const ApplicationComponentDetail& GetApplicationComponentDetail() const{ return m_applicationComponentDetail; } /** *

Detailed information about an application component.

*/ inline void SetApplicationComponentDetail(const ApplicationComponentDetail& value) { m_applicationComponentDetail = value; } /** *

Detailed information about an application component.

*/ inline void SetApplicationComponentDetail(ApplicationComponentDetail&& value) { m_applicationComponentDetail = std::move(value); } /** *

Detailed information about an application component.

*/ inline GetApplicationComponentDetailsResult& WithApplicationComponentDetail(const ApplicationComponentDetail& value) { SetApplicationComponentDetail(value); return *this;} /** *

Detailed information about an application component.

*/ inline GetApplicationComponentDetailsResult& WithApplicationComponentDetail(ApplicationComponentDetail&& value) { SetApplicationComponentDetail(std::move(value)); return *this;} /** *

The associated application group as defined in AWS Application Discovery * Service.

*/ inline const Aws::Vector& GetAssociatedApplications() const{ return m_associatedApplications; } /** *

The associated application group as defined in AWS Application Discovery * Service.

*/ inline void SetAssociatedApplications(const Aws::Vector& value) { m_associatedApplications = value; } /** *

The associated application group as defined in AWS Application Discovery * Service.

*/ inline void SetAssociatedApplications(Aws::Vector&& value) { m_associatedApplications = std::move(value); } /** *

The associated application group as defined in AWS Application Discovery * Service.

*/ inline GetApplicationComponentDetailsResult& WithAssociatedApplications(const Aws::Vector& value) { SetAssociatedApplications(value); return *this;} /** *

The associated application group as defined in AWS Application Discovery * Service.

*/ inline GetApplicationComponentDetailsResult& WithAssociatedApplications(Aws::Vector&& value) { SetAssociatedApplications(std::move(value)); return *this;} /** *

The associated application group as defined in AWS Application Discovery * Service.

*/ inline GetApplicationComponentDetailsResult& AddAssociatedApplications(const AssociatedApplication& value) { m_associatedApplications.push_back(value); return *this; } /** *

The associated application group as defined in AWS Application Discovery * Service.

*/ inline GetApplicationComponentDetailsResult& AddAssociatedApplications(AssociatedApplication&& value) { m_associatedApplications.push_back(std::move(value)); return *this; } /** *

A list of the IDs of the servers on which the application component is * running.

*/ inline const Aws::Vector& GetAssociatedServerIds() const{ return m_associatedServerIds; } /** *

A list of the IDs of the servers on which the application component is * running.

*/ inline void SetAssociatedServerIds(const Aws::Vector& value) { m_associatedServerIds = value; } /** *

A list of the IDs of the servers on which the application component is * running.

*/ inline void SetAssociatedServerIds(Aws::Vector&& value) { m_associatedServerIds = std::move(value); } /** *

A list of the IDs of the servers on which the application component is * running.

*/ inline GetApplicationComponentDetailsResult& WithAssociatedServerIds(const Aws::Vector& value) { SetAssociatedServerIds(value); return *this;} /** *

A list of the IDs of the servers on which the application component is * running.

*/ inline GetApplicationComponentDetailsResult& WithAssociatedServerIds(Aws::Vector&& value) { SetAssociatedServerIds(std::move(value)); return *this;} /** *

A list of the IDs of the servers on which the application component is * running.

*/ inline GetApplicationComponentDetailsResult& AddAssociatedServerIds(const Aws::String& value) { m_associatedServerIds.push_back(value); return *this; } /** *

A list of the IDs of the servers on which the application component is * running.

*/ inline GetApplicationComponentDetailsResult& AddAssociatedServerIds(Aws::String&& value) { m_associatedServerIds.push_back(std::move(value)); return *this; } /** *

A list of the IDs of the servers on which the application component is * running.

*/ inline GetApplicationComponentDetailsResult& AddAssociatedServerIds(const char* value) { m_associatedServerIds.push_back(value); return *this; } /** *

Set to true if the application component belongs to more than one * application group.

*/ inline bool GetMoreApplicationResource() const{ return m_moreApplicationResource; } /** *

Set to true if the application component belongs to more than one * application group.

*/ inline void SetMoreApplicationResource(bool value) { m_moreApplicationResource = value; } /** *

Set to true if the application component belongs to more than one * application group.

*/ inline GetApplicationComponentDetailsResult& WithMoreApplicationResource(bool value) { SetMoreApplicationResource(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 GetApplicationComponentDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetApplicationComponentDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetApplicationComponentDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ApplicationComponentDetail m_applicationComponentDetail; Aws::Vector m_associatedApplications; Aws::Vector m_associatedServerIds; bool m_moreApplicationResource; Aws::String m_requestId; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws