7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/RecommendationSet.h>
9#include <aws/migrationhubstrategy/model/StrategyRecommendation.h>
22namespace MigrationHubStrategyRecommendations
48 inline void SetIsPreferred(
bool value) { m_isPreferredHasBeenSet =
true; m_isPreferred = value; }
58 template<
typename RecommendationT = RecommendationSet>
59 void SetRecommendation(RecommendationT&& value) { m_recommendationHasBeenSet =
true; m_recommendation = std::forward<RecommendationT>(value); }
60 template<
typename RecommendationT = RecommendationSet>
75 bool m_isPreferred{
false};
76 bool m_isPreferredHasBeenSet =
false;
78 RecommendationSet m_recommendation;
79 bool m_recommendationHasBeenSet =
false;
82 bool m_statusHasBeenSet =
false;
bool GetIsPreferred() const
bool IsPreferredHasBeenSet() const
void SetRecommendation(RecommendationT &&value)
ApplicationComponentStrategy & WithRecommendation(RecommendationT &&value)
bool RecommendationHasBeenSet() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
ApplicationComponentStrategy & WithIsPreferred(bool value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ApplicationComponentStrategy(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(StrategyRecommendation value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ApplicationComponentStrategy()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ApplicationComponentStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
const RecommendationSet & GetRecommendation() const
void SetIsPreferred(bool value)
ApplicationComponentStrategy & WithStatus(StrategyRecommendation value)
StrategyRecommendation GetStatus() const
Aws::Utils::Json::JsonValue JsonValue