/** * 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 { /** *

Object containing the summary of the strategy recommendations. *

See Also:

AWS * API Reference

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

The count of recommendations per strategy.

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

The count of recommendations per strategy.

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

The count of recommendations per strategy.

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

The count of recommendations per strategy.

*/ inline StrategySummary& WithCount(int value) { SetCount(value); return *this;} /** *

The name of recommended strategy.

*/ inline const Strategy& GetStrategy() const{ return m_strategy; } /** *

The name of recommended strategy.

*/ inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; } /** *

The name of recommended strategy.

*/ inline void SetStrategy(const Strategy& value) { m_strategyHasBeenSet = true; m_strategy = value; } /** *

The name of recommended strategy.

*/ inline void SetStrategy(Strategy&& value) { m_strategyHasBeenSet = true; m_strategy = std::move(value); } /** *

The name of recommended strategy.

*/ inline StrategySummary& WithStrategy(const Strategy& value) { SetStrategy(value); return *this;} /** *

The name of recommended strategy.

*/ inline StrategySummary& WithStrategy(Strategy&& value) { SetStrategy(std::move(value)); return *this;} private: int m_count; bool m_countHasBeenSet = false; Strategy m_strategy; bool m_strategyHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws