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; }
69 template<
typename RecommendationT = RecommendationSet>
70 void SetRecommendation(RecommendationT&& value) { m_recommendationHasBeenSet =
true; m_recommendation = std::forward<RecommendationT>(value); }
71 template<
typename RecommendationT = RecommendationSet>
86 bool m_isPreferred{
false};
87 bool m_isPreferredHasBeenSet =
false;
89 int m_numberOfApplicationComponents{0};
90 bool m_numberOfApplicationComponentsHasBeenSet =
false;
92 RecommendationSet m_recommendation;
93 bool m_recommendationHasBeenSet =
false;
96 bool m_statusHasBeenSet =
false;
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ServerStrategy & WithRecommendation(RecommendationT &&value)
void SetIsPreferred(bool value)
ServerStrategy & WithStatus(StrategyRecommendation value)
bool RecommendationHasBeenSet() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerStrategy(Aws::Utils::Json::JsonView jsonValue)
const RecommendationSet & GetRecommendation() const
void SetNumberOfApplicationComponents(int value)
bool GetIsPreferred() const
bool NumberOfApplicationComponentsHasBeenSet() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerStrategy()=default
ServerStrategy & WithNumberOfApplicationComponents(int value)
bool StatusHasBeenSet() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
ServerStrategy & WithIsPreferred(bool value)
bool IsPreferredHasBeenSet() const
int GetNumberOfApplicationComponents() const
void SetStatus(StrategyRecommendation value)
StrategyRecommendation GetStatus() const
void SetRecommendation(RecommendationT &&value)
Aws::Utils::Json::JsonValue JsonValue