AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerDetail.h
1
6#pragma once
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>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MigrationHubStrategyRecommendations
32{
33namespace Model
34{
35
42 {
43 public:
44 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerDetail();
45 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerDetail(Aws::Utils::Json::JsonView jsonValue);
46 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const S3Object& GetAntipatternReportS3Object() const{ return m_antipatternReportS3Object; }
55 inline bool AntipatternReportS3ObjectHasBeenSet() const { return m_antipatternReportS3ObjectHasBeenSet; }
56 inline void SetAntipatternReportS3Object(const S3Object& value) { m_antipatternReportS3ObjectHasBeenSet = true; m_antipatternReportS3Object = value; }
57 inline void SetAntipatternReportS3Object(S3Object&& value) { m_antipatternReportS3ObjectHasBeenSet = true; m_antipatternReportS3Object = std::move(value); }
59 inline ServerDetail& WithAntipatternReportS3Object(S3Object&& value) { SetAntipatternReportS3Object(std::move(value)); return *this;}
61
63
66 inline const AntipatternReportStatus& GetAntipatternReportStatus() const{ return m_antipatternReportStatus; }
67 inline bool AntipatternReportStatusHasBeenSet() const { return m_antipatternReportStatusHasBeenSet; }
68 inline void SetAntipatternReportStatus(const AntipatternReportStatus& value) { m_antipatternReportStatusHasBeenSet = true; m_antipatternReportStatus = value; }
69 inline void SetAntipatternReportStatus(AntipatternReportStatus&& value) { m_antipatternReportStatusHasBeenSet = true; m_antipatternReportStatus = std::move(value); }
73
75
78 inline const Aws::String& GetAntipatternReportStatusMessage() const{ return m_antipatternReportStatusMessage; }
79 inline bool AntipatternReportStatusMessageHasBeenSet() const { return m_antipatternReportStatusMessageHasBeenSet; }
80 inline void SetAntipatternReportStatusMessage(const Aws::String& value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage = value; }
81 inline void SetAntipatternReportStatusMessage(Aws::String&& value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage = std::move(value); }
82 inline void SetAntipatternReportStatusMessage(const char* value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage.assign(value); }
85 inline ServerDetail& WithAntipatternReportStatusMessage(const char* value) { SetAntipatternReportStatusMessage(value); return *this;}
87
89
92 inline const Aws::Vector<StrategySummary>& GetApplicationComponentStrategySummary() const{ return m_applicationComponentStrategySummary; }
93 inline bool ApplicationComponentStrategySummaryHasBeenSet() const { return m_applicationComponentStrategySummaryHasBeenSet; }
94 inline void SetApplicationComponentStrategySummary(const Aws::Vector<StrategySummary>& value) { m_applicationComponentStrategySummaryHasBeenSet = true; m_applicationComponentStrategySummary = value; }
95 inline void SetApplicationComponentStrategySummary(Aws::Vector<StrategySummary>&& value) { m_applicationComponentStrategySummaryHasBeenSet = true; m_applicationComponentStrategySummary = std::move(value); }
98 inline ServerDetail& AddApplicationComponentStrategySummary(const StrategySummary& value) { m_applicationComponentStrategySummaryHasBeenSet = true; m_applicationComponentStrategySummary.push_back(value); return *this; }
99 inline ServerDetail& AddApplicationComponentStrategySummary(StrategySummary&& value) { m_applicationComponentStrategySummaryHasBeenSet = true; m_applicationComponentStrategySummary.push_back(std::move(value)); return *this; }
101
103
106 inline const RunTimeAssessmentStatus& GetDataCollectionStatus() const{ return m_dataCollectionStatus; }
107 inline bool DataCollectionStatusHasBeenSet() const { return m_dataCollectionStatusHasBeenSet; }
108 inline void SetDataCollectionStatus(const RunTimeAssessmentStatus& value) { m_dataCollectionStatusHasBeenSet = true; m_dataCollectionStatus = value; }
109 inline void SetDataCollectionStatus(RunTimeAssessmentStatus&& value) { m_dataCollectionStatusHasBeenSet = true; m_dataCollectionStatus = std::move(value); }
113
115
118 inline const Aws::String& GetId() const{ return m_id; }
119 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
120 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
121 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
122 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
123 inline ServerDetail& WithId(const Aws::String& value) { SetId(value); return *this;}
124 inline ServerDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
125 inline ServerDetail& WithId(const char* value) { SetId(value); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetLastAnalyzedTimestamp() const{ return m_lastAnalyzedTimestamp; }
133 inline bool LastAnalyzedTimestampHasBeenSet() const { return m_lastAnalyzedTimestampHasBeenSet; }
134 inline void SetLastAnalyzedTimestamp(const Aws::Utils::DateTime& value) { m_lastAnalyzedTimestampHasBeenSet = true; m_lastAnalyzedTimestamp = value; }
135 inline void SetLastAnalyzedTimestamp(Aws::Utils::DateTime&& value) { m_lastAnalyzedTimestampHasBeenSet = true; m_lastAnalyzedTimestamp = std::move(value); }
137 inline ServerDetail& WithLastAnalyzedTimestamp(Aws::Utils::DateTime&& value) { SetLastAnalyzedTimestamp(std::move(value)); return *this;}
139
141
144 inline const Aws::Vector<AntipatternSeveritySummary>& GetListAntipatternSeveritySummary() const{ return m_listAntipatternSeveritySummary; }
145 inline bool ListAntipatternSeveritySummaryHasBeenSet() const { return m_listAntipatternSeveritySummaryHasBeenSet; }
146 inline void SetListAntipatternSeveritySummary(const Aws::Vector<AntipatternSeveritySummary>& value) { m_listAntipatternSeveritySummaryHasBeenSet = true; m_listAntipatternSeveritySummary = value; }
147 inline void SetListAntipatternSeveritySummary(Aws::Vector<AntipatternSeveritySummary>&& value) { m_listAntipatternSeveritySummaryHasBeenSet = true; m_listAntipatternSeveritySummary = std::move(value); }
150 inline ServerDetail& AddListAntipatternSeveritySummary(const AntipatternSeveritySummary& value) { m_listAntipatternSeveritySummaryHasBeenSet = true; m_listAntipatternSeveritySummary.push_back(value); return *this; }
151 inline ServerDetail& AddListAntipatternSeveritySummary(AntipatternSeveritySummary&& value) { m_listAntipatternSeveritySummaryHasBeenSet = true; m_listAntipatternSeveritySummary.push_back(std::move(value)); return *this; }
153
155
158 inline const Aws::String& GetName() const{ return m_name; }
159 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
160 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
161 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
162 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
163 inline ServerDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
164 inline ServerDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
165 inline ServerDetail& WithName(const char* value) { SetName(value); return *this;}
167
169
172 inline const RecommendationSet& GetRecommendationSet() const{ return m_recommendationSet; }
173 inline bool RecommendationSetHasBeenSet() const { return m_recommendationSetHasBeenSet; }
174 inline void SetRecommendationSet(const RecommendationSet& value) { m_recommendationSetHasBeenSet = true; m_recommendationSet = value; }
175 inline void SetRecommendationSet(RecommendationSet&& value) { m_recommendationSetHasBeenSet = true; m_recommendationSet = std::move(value); }
176 inline ServerDetail& WithRecommendationSet(const RecommendationSet& value) { SetRecommendationSet(value); return *this;}
177 inline ServerDetail& WithRecommendationSet(RecommendationSet&& value) { SetRecommendationSet(std::move(value)); return *this;}
179
181
184 inline const ServerError& GetServerError() const{ return m_serverError; }
185 inline bool ServerErrorHasBeenSet() const { return m_serverErrorHasBeenSet; }
186 inline void SetServerError(const ServerError& value) { m_serverErrorHasBeenSet = true; m_serverError = value; }
187 inline void SetServerError(ServerError&& value) { m_serverErrorHasBeenSet = true; m_serverError = std::move(value); }
188 inline ServerDetail& WithServerError(const ServerError& value) { SetServerError(value); return *this;}
189 inline ServerDetail& WithServerError(ServerError&& value) { SetServerError(std::move(value)); return *this;}
191
193
196 inline const Aws::String& GetServerType() const{ return m_serverType; }
197 inline bool ServerTypeHasBeenSet() const { return m_serverTypeHasBeenSet; }
198 inline void SetServerType(const Aws::String& value) { m_serverTypeHasBeenSet = true; m_serverType = value; }
199 inline void SetServerType(Aws::String&& value) { m_serverTypeHasBeenSet = true; m_serverType = std::move(value); }
200 inline void SetServerType(const char* value) { m_serverTypeHasBeenSet = true; m_serverType.assign(value); }
201 inline ServerDetail& WithServerType(const Aws::String& value) { SetServerType(value); return *this;}
202 inline ServerDetail& WithServerType(Aws::String&& value) { SetServerType(std::move(value)); return *this;}
203 inline ServerDetail& WithServerType(const char* value) { SetServerType(value); return *this;}
205
207
211 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
212 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
213 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
214 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
215 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
216 inline ServerDetail& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
217 inline ServerDetail& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
218 inline ServerDetail& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
220
222
225 inline const SystemInfo& GetSystemInfo() const{ return m_systemInfo; }
226 inline bool SystemInfoHasBeenSet() const { return m_systemInfoHasBeenSet; }
227 inline void SetSystemInfo(const SystemInfo& value) { m_systemInfoHasBeenSet = true; m_systemInfo = value; }
228 inline void SetSystemInfo(SystemInfo&& value) { m_systemInfoHasBeenSet = true; m_systemInfo = std::move(value); }
229 inline ServerDetail& WithSystemInfo(const SystemInfo& value) { SetSystemInfo(value); return *this;}
230 inline ServerDetail& WithSystemInfo(SystemInfo&& value) { SetSystemInfo(std::move(value)); return *this;}
232 private:
233
234 S3Object m_antipatternReportS3Object;
235 bool m_antipatternReportS3ObjectHasBeenSet = false;
236
237 AntipatternReportStatus m_antipatternReportStatus;
238 bool m_antipatternReportStatusHasBeenSet = false;
239
240 Aws::String m_antipatternReportStatusMessage;
241 bool m_antipatternReportStatusMessageHasBeenSet = false;
242
243 Aws::Vector<StrategySummary> m_applicationComponentStrategySummary;
244 bool m_applicationComponentStrategySummaryHasBeenSet = false;
245
246 RunTimeAssessmentStatus m_dataCollectionStatus;
247 bool m_dataCollectionStatusHasBeenSet = false;
248
249 Aws::String m_id;
250 bool m_idHasBeenSet = false;
251
252 Aws::Utils::DateTime m_lastAnalyzedTimestamp;
253 bool m_lastAnalyzedTimestampHasBeenSet = false;
254
255 Aws::Vector<AntipatternSeveritySummary> m_listAntipatternSeveritySummary;
256 bool m_listAntipatternSeveritySummaryHasBeenSet = false;
257
258 Aws::String m_name;
259 bool m_nameHasBeenSet = false;
260
261 RecommendationSet m_recommendationSet;
262 bool m_recommendationSetHasBeenSet = false;
263
264 ServerError m_serverError;
265 bool m_serverErrorHasBeenSet = false;
266
267 Aws::String m_serverType;
268 bool m_serverTypeHasBeenSet = false;
269
270 Aws::String m_statusMessage;
271 bool m_statusMessageHasBeenSet = false;
272
273 SystemInfo m_systemInfo;
274 bool m_systemInfoHasBeenSet = false;
275 };
276
277} // namespace Model
278} // namespace MigrationHubStrategyRecommendations
279} // namespace Aws
ServerDetail & WithServerType(const Aws::String &value)
ServerDetail & AddListAntipatternSeveritySummary(const AntipatternSeveritySummary &value)
ServerDetail & WithRecommendationSet(RecommendationSet &&value)
ServerDetail & WithRecommendationSet(const RecommendationSet &value)
ServerDetail & WithAntipatternReportS3Object(S3Object &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerDetail()
ServerDetail & WithAntipatternReportStatus(AntipatternReportStatus &&value)
void SetRecommendationSet(const RecommendationSet &value)
ServerDetail & WithAntipatternReportStatusMessage(const char *value)
ServerDetail & WithLastAnalyzedTimestamp(Aws::Utils::DateTime &&value)
void SetListAntipatternSeveritySummary(const Aws::Vector< AntipatternSeveritySummary > &value)
ServerDetail & AddApplicationComponentStrategySummary(StrategySummary &&value)
ServerDetail & WithLastAnalyzedTimestamp(const Aws::Utils::DateTime &value)
void SetAntipatternReportStatus(const AntipatternReportStatus &value)
void SetDataCollectionStatus(RunTimeAssessmentStatus &&value)
void SetApplicationComponentStrategySummary(const Aws::Vector< StrategySummary > &value)
ServerDetail & WithServerError(const ServerError &value)
ServerDetail & WithName(const Aws::String &value)
ServerDetail & WithDataCollectionStatus(RunTimeAssessmentStatus &&value)
ServerDetail & WithStatusMessage(const Aws::String &value)
ServerDetail & WithAntipatternReportS3Object(const S3Object &value)
ServerDetail & WithAntipatternReportStatusMessage(const Aws::String &value)
void SetListAntipatternSeveritySummary(Aws::Vector< AntipatternSeveritySummary > &&value)
void SetLastAnalyzedTimestamp(const Aws::Utils::DateTime &value)
ServerDetail & WithId(const Aws::String &value)
ServerDetail & AddListAntipatternSeveritySummary(AntipatternSeveritySummary &&value)
void SetLastAnalyzedTimestamp(Aws::Utils::DateTime &&value)
void SetApplicationComponentStrategySummary(Aws::Vector< StrategySummary > &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerDetail(Aws::Utils::Json::JsonView jsonValue)
ServerDetail & WithDataCollectionStatus(const RunTimeAssessmentStatus &value)
const Aws::Utils::DateTime & GetLastAnalyzedTimestamp() const
const Aws::Vector< StrategySummary > & GetApplicationComponentStrategySummary() const
ServerDetail & WithAntipatternReportStatusMessage(Aws::String &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API ServerDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataCollectionStatus(const RunTimeAssessmentStatus &value)
ServerDetail & WithListAntipatternSeveritySummary(const Aws::Vector< AntipatternSeveritySummary > &value)
ServerDetail & WithListAntipatternSeveritySummary(Aws::Vector< AntipatternSeveritySummary > &&value)
ServerDetail & WithApplicationComponentStrategySummary(const Aws::Vector< StrategySummary > &value)
const Aws::Vector< AntipatternSeveritySummary > & GetListAntipatternSeveritySummary() const
ServerDetail & WithAntipatternReportStatus(const AntipatternReportStatus &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const RunTimeAssessmentStatus & GetDataCollectionStatus() const
ServerDetail & AddApplicationComponentStrategySummary(const StrategySummary &value)
void SetAntipatternReportStatus(AntipatternReportStatus &&value)
ServerDetail & WithSystemInfo(const SystemInfo &value)
const AntipatternReportStatus & GetAntipatternReportStatus() const
ServerDetail & WithApplicationComponentStrategySummary(Aws::Vector< StrategySummary > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue