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

Contains the summary of application components.

See Also:

* AWS * API Reference

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

Contains the name of application types.

*/ inline const AppType& GetAppType() const{ return m_appType; } /** *

Contains the name of application types.

*/ inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; } /** *

Contains the name of application types.

*/ inline void SetAppType(const AppType& value) { m_appTypeHasBeenSet = true; m_appType = value; } /** *

Contains the name of application types.

*/ inline void SetAppType(AppType&& value) { m_appTypeHasBeenSet = true; m_appType = std::move(value); } /** *

Contains the name of application types.

*/ inline ApplicationComponentSummary& WithAppType(const AppType& value) { SetAppType(value); return *this;} /** *

Contains the name of application types.

*/ inline ApplicationComponentSummary& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;} /** *

Contains the count of application type.

*/ inline int GetCount() const{ return m_count; } /** *

Contains the count of application type.

*/ inline bool CountHasBeenSet() const { return m_countHasBeenSet; } /** *

Contains the count of application type.

*/ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; } /** *

Contains the count of application type.

*/ inline ApplicationComponentSummary& WithCount(int value) { SetCount(value); return *this;} private: AppType m_appType; bool m_appTypeHasBeenSet = false; int m_count; bool m_countHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws