7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/S3Object.h>
9#include <aws/migrationhubstrategy/model/AntipatternReportStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/migrationhubstrategy/model/RunTimeAssessmentStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/migrationhubstrategy/model/RecommendationSet.h>
15#include <aws/migrationhubstrategy/model/ServerError.h>
16#include <aws/migrationhubstrategy/model/SystemInfo.h>
17#include <aws/migrationhubstrategy/model/StrategySummary.h>
18#include <aws/migrationhubstrategy/model/AntipatternSeveritySummary.h>
31namespace MigrationHubStrategyRecommendations
44 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API
ServerDetail() =
default;
56 template<
typename AntipatternReportS3ObjectT = S3Object>
57 void SetAntipatternReportS3Object(AntipatternReportS3ObjectT&& value) { m_antipatternReportS3ObjectHasBeenSet =
true; m_antipatternReportS3Object = std::forward<AntipatternReportS3ObjectT>(value); }
58 template<
typename AntipatternReportS3ObjectT = S3Object>
78 template<
typename AntipatternReportStatusMessageT = Aws::String>
79 void SetAntipatternReportStatusMessage(AntipatternReportStatusMessageT&& value) { m_antipatternReportStatusMessageHasBeenSet =
true; m_antipatternReportStatusMessage = std::forward<AntipatternReportStatusMessageT>(value); }
80 template<
typename AntipatternReportStatusMessageT = Aws::String>
90 template<
typename ApplicationComponentStrategySummaryT = Aws::Vector<StrategySummary>>
91 void SetApplicationComponentStrategySummary(ApplicationComponentStrategySummaryT&& value) { m_applicationComponentStrategySummaryHasBeenSet =
true; m_applicationComponentStrategySummary = std::forward<ApplicationComponentStrategySummaryT>(value); }
92 template<
typename ApplicationComponentStrategySummaryT = Aws::Vector<StrategySummary>>
94 template<
typename ApplicationComponentStrategySummaryT = StrategySummary>
95 ServerDetail&
AddApplicationComponentStrategySummary(ApplicationComponentStrategySummaryT&& value) { m_applicationComponentStrategySummaryHasBeenSet =
true; m_applicationComponentStrategySummary.emplace_back(std::forward<ApplicationComponentStrategySummaryT>(value));
return *
this; }
114 template<
typename IdT = Aws::String>
115 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
116 template<
typename IdT = Aws::String>
126 template<
typename LastAnalyzedTimestampT = Aws::Utils::DateTime>
127 void SetLastAnalyzedTimestamp(LastAnalyzedTimestampT&& value) { m_lastAnalyzedTimestampHasBeenSet =
true; m_lastAnalyzedTimestamp = std::forward<LastAnalyzedTimestampT>(value); }
128 template<
typename LastAnalyzedTimestampT = Aws::Utils::DateTime>
138 template<
typename ListAntipatternSeveritySummaryT = Aws::Vector<AntipatternSeveritySummary>>
139 void SetListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT&& value) { m_listAntipatternSeveritySummaryHasBeenSet =
true; m_listAntipatternSeveritySummary = std::forward<ListAntipatternSeveritySummaryT>(value); }
140 template<
typename ListAntipatternSeveritySummaryT = Aws::Vector<AntipatternSeveritySummary>>
142 template<
typename ListAntipatternSeveritySummaryT = AntipatternSeveritySummary>
143 ServerDetail&
AddListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT&& value) { m_listAntipatternSeveritySummaryHasBeenSet =
true; m_listAntipatternSeveritySummary.emplace_back(std::forward<ListAntipatternSeveritySummaryT>(value));
return *
this; }
152 template<
typename NameT = Aws::String>
153 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
154 template<
typename NameT = Aws::String>
164 template<
typename RecommendationSetT = RecommendationSet>
165 void SetRecommendationSet(RecommendationSetT&& value) { m_recommendationSetHasBeenSet =
true; m_recommendationSet = std::forward<RecommendationSetT>(value); }
166 template<
typename RecommendationSetT = RecommendationSet>
176 template<
typename ServerErrorT = ServerError>
177 void SetServerError(ServerErrorT&& value) { m_serverErrorHasBeenSet =
true; m_serverError = std::forward<ServerErrorT>(value); }
178 template<
typename ServerErrorT = ServerError>
188 template<
typename ServerTypeT = Aws::String>
189 void SetServerType(ServerTypeT&& value) { m_serverTypeHasBeenSet =
true; m_serverType = std::forward<ServerTypeT>(value); }
190 template<
typename ServerTypeT = Aws::String>
201 template<
typename StatusMessageT = Aws::String>
202 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
203 template<
typename StatusMessageT = Aws::String>
213 template<
typename SystemInfoT = SystemInfo>
214 void SetSystemInfo(SystemInfoT&& value) { m_systemInfoHasBeenSet =
true; m_systemInfo = std::forward<SystemInfoT>(value); }
215 template<
typename SystemInfoT = SystemInfo>
220 S3Object m_antipatternReportS3Object;
221 bool m_antipatternReportS3ObjectHasBeenSet =
false;
224 bool m_antipatternReportStatusHasBeenSet =
false;
227 bool m_antipatternReportStatusMessageHasBeenSet =
false;
230 bool m_applicationComponentStrategySummaryHasBeenSet =
false;
233 bool m_dataCollectionStatusHasBeenSet =
false;
236 bool m_idHasBeenSet =
false;
239 bool m_lastAnalyzedTimestampHasBeenSet =
false;
242 bool m_listAntipatternSeveritySummaryHasBeenSet =
false;
245 bool m_nameHasBeenSet =
false;
247 RecommendationSet m_recommendationSet;
248 bool m_recommendationSetHasBeenSet =
false;
250 ServerError m_serverError;
251 bool m_serverErrorHasBeenSet =
false;
254 bool m_serverTypeHasBeenSet =
false;
257 bool m_statusMessageHasBeenSet =
false;
259 SystemInfo m_systemInfo;
260 bool m_systemInfoHasBeenSet =
false;
const S3Object & GetAntipatternReportS3Object() const
const SystemInfo & GetSystemInfo() const
bool NameHasBeenSet() const
ServerDetail & WithServerType(ServerTypeT &&value)
ServerDetail & WithAntipatternReportStatusMessage(AntipatternReportStatusMessageT &&value)
ServerDetail & WithLastAnalyzedTimestamp(LastAnalyzedTimestampT &&value)
ServerDetail & WithAntipatternReportStatus(AntipatternReportStatus value)
bool ServerTypeHasBeenSet() const
ServerDetail & WithSystemInfo(SystemInfoT &&value)
void SetServerError(ServerErrorT &&value)
bool AntipatternReportS3ObjectHasBeenSet() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerDetail()=default
const Aws::String & GetAntipatternReportStatusMessage() const
const ServerError & GetServerError() const
ServerDetail & WithId(IdT &&value)
void SetAntipatternReportStatus(AntipatternReportStatus value)
ServerDetail & AddApplicationComponentStrategySummary(ApplicationComponentStrategySummaryT &&value)
bool RecommendationSetHasBeenSet() const
bool AntipatternReportStatusMessageHasBeenSet() const
const Aws::String & GetName() const
const Aws::String & GetStatusMessage() const
void SetLastAnalyzedTimestamp(LastAnalyzedTimestampT &&value)
RunTimeAssessmentStatus GetDataCollectionStatus() const
const Aws::String & GetServerType() const
ServerDetail & WithListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT &&value)
AntipatternReportStatus GetAntipatternReportStatus() const
void SetDataCollectionStatus(RunTimeAssessmentStatus value)
void SetName(NameT &&value)
ServerDetail & WithName(NameT &&value)
void SetListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT &&value)
ServerDetail & WithAntipatternReportS3Object(AntipatternReportS3ObjectT &&value)
const RecommendationSet & GetRecommendationSet() const
ServerDetail & WithApplicationComponentStrategySummary(ApplicationComponentStrategySummaryT &&value)
ServerDetail & WithServerError(ServerErrorT &&value)
bool DataCollectionStatusHasBeenSet() const
bool AntipatternReportStatusHasBeenSet() const
bool ServerErrorHasBeenSet() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastAnalyzedTimestamp() const
const Aws::Vector< StrategySummary > & GetApplicationComponentStrategySummary() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusMessageHasBeenSet() const
ServerDetail & WithDataCollectionStatus(RunTimeAssessmentStatus value)
void SetApplicationComponentStrategySummary(ApplicationComponentStrategySummaryT &&value)
bool SystemInfoHasBeenSet() const
const Aws::Vector< AntipatternSeveritySummary > & GetListAntipatternSeveritySummary() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAntipatternReportS3Object(AntipatternReportS3ObjectT &&value)
void SetRecommendationSet(RecommendationSetT &&value)
void SetStatusMessage(StatusMessageT &&value)
const Aws::String & GetId() const
bool ListAntipatternSeveritySummaryHasBeenSet() const
bool IdHasBeenSet() const
ServerDetail & WithStatusMessage(StatusMessageT &&value)
void SetServerType(ServerTypeT &&value)
ServerDetail & WithRecommendationSet(RecommendationSetT &&value)
ServerDetail & AddListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT &&value)
void SetAntipatternReportStatusMessage(AntipatternReportStatusMessageT &&value)
bool ApplicationComponentStrategySummaryHasBeenSet() const
void SetSystemInfo(SystemInfoT &&value)
bool LastAnalyzedTimestampHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue