/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a strategy recommendation for a server.
* See Also:
AWS
* API Reference
Set to true if the recommendation is set as preferred.
*/ inline bool GetIsPreferred() const{ return m_isPreferred; } /** *Set to true if the recommendation is set as preferred.
*/ inline bool IsPreferredHasBeenSet() const { return m_isPreferredHasBeenSet; } /** *Set to true if the recommendation is set as preferred.
*/ inline void SetIsPreferred(bool value) { m_isPreferredHasBeenSet = true; m_isPreferred = value; } /** *Set to true if the recommendation is set as preferred.
*/ inline ServerStrategy& WithIsPreferred(bool value) { SetIsPreferred(value); return *this;} /** *The number of application components with this strategy recommendation * running on the server.
*/ inline int GetNumberOfApplicationComponents() const{ return m_numberOfApplicationComponents; } /** *The number of application components with this strategy recommendation * running on the server.
*/ inline bool NumberOfApplicationComponentsHasBeenSet() const { return m_numberOfApplicationComponentsHasBeenSet; } /** *The number of application components with this strategy recommendation * running on the server.
*/ inline void SetNumberOfApplicationComponents(int value) { m_numberOfApplicationComponentsHasBeenSet = true; m_numberOfApplicationComponents = value; } /** *The number of application components with this strategy recommendation * running on the server.
*/ inline ServerStrategy& WithNumberOfApplicationComponents(int value) { SetNumberOfApplicationComponents(value); return *this;} /** *Strategy recommendation for the server.
*/ inline const RecommendationSet& GetRecommendation() const{ return m_recommendation; } /** *Strategy recommendation for the server.
*/ inline bool RecommendationHasBeenSet() const { return m_recommendationHasBeenSet; } /** *Strategy recommendation for the server.
*/ inline void SetRecommendation(const RecommendationSet& value) { m_recommendationHasBeenSet = true; m_recommendation = value; } /** *Strategy recommendation for the server.
*/ inline void SetRecommendation(RecommendationSet&& value) { m_recommendationHasBeenSet = true; m_recommendation = std::move(value); } /** *Strategy recommendation for the server.
*/ inline ServerStrategy& WithRecommendation(const RecommendationSet& value) { SetRecommendation(value); return *this;} /** *Strategy recommendation for the server.
*/ inline ServerStrategy& WithRecommendation(RecommendationSet&& value) { SetRecommendation(std::move(value)); return *this;} /** *The recommendation status of the strategy for the server.
*/ inline const StrategyRecommendation& GetStatus() const{ return m_status; } /** *The recommendation status of the strategy for the server.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The recommendation status of the strategy for the server.
*/ inline void SetStatus(const StrategyRecommendation& value) { m_statusHasBeenSet = true; m_status = value; } /** *The recommendation status of the strategy for the server.
*/ inline void SetStatus(StrategyRecommendation&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The recommendation status of the strategy for the server.
*/ inline ServerStrategy& WithStatus(const StrategyRecommendation& value) { SetStatus(value); return *this;} /** *The recommendation status of the strategy for the server.
*/ inline ServerStrategy& WithStatus(StrategyRecommendation&& value) { SetStatus(std::move(value)); return *this;} private: bool m_isPreferred; bool m_isPreferredHasBeenSet = false; int m_numberOfApplicationComponents; bool m_numberOfApplicationComponentsHasBeenSet = false; RecommendationSet m_recommendation; bool m_recommendationHasBeenSet = false; StrategyRecommendation m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws