AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AssessmentSummary.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/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/migrationhubstrategy/model/AntipatternSeveritySummary.h>
14#include <aws/migrationhubstrategy/model/ApplicationComponentStatusSummary.h>
15#include <aws/migrationhubstrategy/model/StrategySummary.h>
16#include <aws/migrationhubstrategy/model/ApplicationComponentSummary.h>
17#include <aws/migrationhubstrategy/model/ServerStatusSummary.h>
18#include <aws/migrationhubstrategy/model/ServerSummary.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
43 {
44 public:
45 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentSummary() = default;
46 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentSummary(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const S3Object& GetAntipatternReportS3Object() const { return m_antipatternReportS3Object; }
56 inline bool AntipatternReportS3ObjectHasBeenSet() const { return m_antipatternReportS3ObjectHasBeenSet; }
57 template<typename AntipatternReportS3ObjectT = S3Object>
58 void SetAntipatternReportS3Object(AntipatternReportS3ObjectT&& value) { m_antipatternReportS3ObjectHasBeenSet = true; m_antipatternReportS3Object = std::forward<AntipatternReportS3ObjectT>(value); }
59 template<typename AntipatternReportS3ObjectT = S3Object>
60 AssessmentSummary& WithAntipatternReportS3Object(AntipatternReportS3ObjectT&& value) { SetAntipatternReportS3Object(std::forward<AntipatternReportS3ObjectT>(value)); return *this;}
62
64
67 inline AntipatternReportStatus GetAntipatternReportStatus() const { return m_antipatternReportStatus; }
68 inline bool AntipatternReportStatusHasBeenSet() const { return m_antipatternReportStatusHasBeenSet; }
69 inline void SetAntipatternReportStatus(AntipatternReportStatus value) { m_antipatternReportStatusHasBeenSet = true; m_antipatternReportStatus = value; }
72
74
77 inline const Aws::String& GetAntipatternReportStatusMessage() const { return m_antipatternReportStatusMessage; }
78 inline bool AntipatternReportStatusMessageHasBeenSet() const { return m_antipatternReportStatusMessageHasBeenSet; }
79 template<typename AntipatternReportStatusMessageT = Aws::String>
80 void SetAntipatternReportStatusMessage(AntipatternReportStatusMessageT&& value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage = std::forward<AntipatternReportStatusMessageT>(value); }
81 template<typename AntipatternReportStatusMessageT = Aws::String>
82 AssessmentSummary& WithAntipatternReportStatusMessage(AntipatternReportStatusMessageT&& value) { SetAntipatternReportStatusMessage(std::forward<AntipatternReportStatusMessageT>(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetLastAnalyzedTimestamp() const { return m_lastAnalyzedTimestamp; }
90 inline bool LastAnalyzedTimestampHasBeenSet() const { return m_lastAnalyzedTimestampHasBeenSet; }
91 template<typename LastAnalyzedTimestampT = Aws::Utils::DateTime>
92 void SetLastAnalyzedTimestamp(LastAnalyzedTimestampT&& value) { m_lastAnalyzedTimestampHasBeenSet = true; m_lastAnalyzedTimestamp = std::forward<LastAnalyzedTimestampT>(value); }
93 template<typename LastAnalyzedTimestampT = Aws::Utils::DateTime>
94 AssessmentSummary& WithLastAnalyzedTimestamp(LastAnalyzedTimestampT&& value) { SetLastAnalyzedTimestamp(std::forward<LastAnalyzedTimestampT>(value)); return *this;}
96
98
101 inline const Aws::Vector<AntipatternSeveritySummary>& GetListAntipatternSeveritySummary() const { return m_listAntipatternSeveritySummary; }
102 inline bool ListAntipatternSeveritySummaryHasBeenSet() const { return m_listAntipatternSeveritySummaryHasBeenSet; }
103 template<typename ListAntipatternSeveritySummaryT = Aws::Vector<AntipatternSeveritySummary>>
104 void SetListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT&& value) { m_listAntipatternSeveritySummaryHasBeenSet = true; m_listAntipatternSeveritySummary = std::forward<ListAntipatternSeveritySummaryT>(value); }
105 template<typename ListAntipatternSeveritySummaryT = Aws::Vector<AntipatternSeveritySummary>>
106 AssessmentSummary& WithListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT&& value) { SetListAntipatternSeveritySummary(std::forward<ListAntipatternSeveritySummaryT>(value)); return *this;}
107 template<typename ListAntipatternSeveritySummaryT = AntipatternSeveritySummary>
108 AssessmentSummary& AddListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT&& value) { m_listAntipatternSeveritySummaryHasBeenSet = true; m_listAntipatternSeveritySummary.emplace_back(std::forward<ListAntipatternSeveritySummaryT>(value)); return *this; }
110
112
115 inline const Aws::Vector<ApplicationComponentStatusSummary>& GetListApplicationComponentStatusSummary() const { return m_listApplicationComponentStatusSummary; }
116 inline bool ListApplicationComponentStatusSummaryHasBeenSet() const { return m_listApplicationComponentStatusSummaryHasBeenSet; }
117 template<typename ListApplicationComponentStatusSummaryT = Aws::Vector<ApplicationComponentStatusSummary>>
118 void SetListApplicationComponentStatusSummary(ListApplicationComponentStatusSummaryT&& value) { m_listApplicationComponentStatusSummaryHasBeenSet = true; m_listApplicationComponentStatusSummary = std::forward<ListApplicationComponentStatusSummaryT>(value); }
119 template<typename ListApplicationComponentStatusSummaryT = Aws::Vector<ApplicationComponentStatusSummary>>
120 AssessmentSummary& WithListApplicationComponentStatusSummary(ListApplicationComponentStatusSummaryT&& value) { SetListApplicationComponentStatusSummary(std::forward<ListApplicationComponentStatusSummaryT>(value)); return *this;}
121 template<typename ListApplicationComponentStatusSummaryT = ApplicationComponentStatusSummary>
122 AssessmentSummary& AddListApplicationComponentStatusSummary(ListApplicationComponentStatusSummaryT&& value) { m_listApplicationComponentStatusSummaryHasBeenSet = true; m_listApplicationComponentStatusSummary.emplace_back(std::forward<ListApplicationComponentStatusSummaryT>(value)); return *this; }
124
126
129 inline const Aws::Vector<StrategySummary>& GetListApplicationComponentStrategySummary() const { return m_listApplicationComponentStrategySummary; }
130 inline bool ListApplicationComponentStrategySummaryHasBeenSet() const { return m_listApplicationComponentStrategySummaryHasBeenSet; }
131 template<typename ListApplicationComponentStrategySummaryT = Aws::Vector<StrategySummary>>
132 void SetListApplicationComponentStrategySummary(ListApplicationComponentStrategySummaryT&& value) { m_listApplicationComponentStrategySummaryHasBeenSet = true; m_listApplicationComponentStrategySummary = std::forward<ListApplicationComponentStrategySummaryT>(value); }
133 template<typename ListApplicationComponentStrategySummaryT = Aws::Vector<StrategySummary>>
134 AssessmentSummary& WithListApplicationComponentStrategySummary(ListApplicationComponentStrategySummaryT&& value) { SetListApplicationComponentStrategySummary(std::forward<ListApplicationComponentStrategySummaryT>(value)); return *this;}
135 template<typename ListApplicationComponentStrategySummaryT = StrategySummary>
136 AssessmentSummary& AddListApplicationComponentStrategySummary(ListApplicationComponentStrategySummaryT&& value) { m_listApplicationComponentStrategySummaryHasBeenSet = true; m_listApplicationComponentStrategySummary.emplace_back(std::forward<ListApplicationComponentStrategySummaryT>(value)); return *this; }
138
140
143 inline const Aws::Vector<ApplicationComponentSummary>& GetListApplicationComponentSummary() const { return m_listApplicationComponentSummary; }
144 inline bool ListApplicationComponentSummaryHasBeenSet() const { return m_listApplicationComponentSummaryHasBeenSet; }
145 template<typename ListApplicationComponentSummaryT = Aws::Vector<ApplicationComponentSummary>>
146 void SetListApplicationComponentSummary(ListApplicationComponentSummaryT&& value) { m_listApplicationComponentSummaryHasBeenSet = true; m_listApplicationComponentSummary = std::forward<ListApplicationComponentSummaryT>(value); }
147 template<typename ListApplicationComponentSummaryT = Aws::Vector<ApplicationComponentSummary>>
148 AssessmentSummary& WithListApplicationComponentSummary(ListApplicationComponentSummaryT&& value) { SetListApplicationComponentSummary(std::forward<ListApplicationComponentSummaryT>(value)); return *this;}
149 template<typename ListApplicationComponentSummaryT = ApplicationComponentSummary>
150 AssessmentSummary& AddListApplicationComponentSummary(ListApplicationComponentSummaryT&& value) { m_listApplicationComponentSummaryHasBeenSet = true; m_listApplicationComponentSummary.emplace_back(std::forward<ListApplicationComponentSummaryT>(value)); return *this; }
152
154
157 inline const Aws::Vector<ServerStatusSummary>& GetListServerStatusSummary() const { return m_listServerStatusSummary; }
158 inline bool ListServerStatusSummaryHasBeenSet() const { return m_listServerStatusSummaryHasBeenSet; }
159 template<typename ListServerStatusSummaryT = Aws::Vector<ServerStatusSummary>>
160 void SetListServerStatusSummary(ListServerStatusSummaryT&& value) { m_listServerStatusSummaryHasBeenSet = true; m_listServerStatusSummary = std::forward<ListServerStatusSummaryT>(value); }
161 template<typename ListServerStatusSummaryT = Aws::Vector<ServerStatusSummary>>
162 AssessmentSummary& WithListServerStatusSummary(ListServerStatusSummaryT&& value) { SetListServerStatusSummary(std::forward<ListServerStatusSummaryT>(value)); return *this;}
163 template<typename ListServerStatusSummaryT = ServerStatusSummary>
164 AssessmentSummary& AddListServerStatusSummary(ListServerStatusSummaryT&& value) { m_listServerStatusSummaryHasBeenSet = true; m_listServerStatusSummary.emplace_back(std::forward<ListServerStatusSummaryT>(value)); return *this; }
166
168
171 inline const Aws::Vector<StrategySummary>& GetListServerStrategySummary() const { return m_listServerStrategySummary; }
172 inline bool ListServerStrategySummaryHasBeenSet() const { return m_listServerStrategySummaryHasBeenSet; }
173 template<typename ListServerStrategySummaryT = Aws::Vector<StrategySummary>>
174 void SetListServerStrategySummary(ListServerStrategySummaryT&& value) { m_listServerStrategySummaryHasBeenSet = true; m_listServerStrategySummary = std::forward<ListServerStrategySummaryT>(value); }
175 template<typename ListServerStrategySummaryT = Aws::Vector<StrategySummary>>
176 AssessmentSummary& WithListServerStrategySummary(ListServerStrategySummaryT&& value) { SetListServerStrategySummary(std::forward<ListServerStrategySummaryT>(value)); return *this;}
177 template<typename ListServerStrategySummaryT = StrategySummary>
178 AssessmentSummary& AddListServerStrategySummary(ListServerStrategySummaryT&& value) { m_listServerStrategySummaryHasBeenSet = true; m_listServerStrategySummary.emplace_back(std::forward<ListServerStrategySummaryT>(value)); return *this; }
180
182
185 inline const Aws::Vector<ServerSummary>& GetListServerSummary() const { return m_listServerSummary; }
186 inline bool ListServerSummaryHasBeenSet() const { return m_listServerSummaryHasBeenSet; }
187 template<typename ListServerSummaryT = Aws::Vector<ServerSummary>>
188 void SetListServerSummary(ListServerSummaryT&& value) { m_listServerSummaryHasBeenSet = true; m_listServerSummary = std::forward<ListServerSummaryT>(value); }
189 template<typename ListServerSummaryT = Aws::Vector<ServerSummary>>
190 AssessmentSummary& WithListServerSummary(ListServerSummaryT&& value) { SetListServerSummary(std::forward<ListServerSummaryT>(value)); return *this;}
191 template<typename ListServerSummaryT = ServerSummary>
192 AssessmentSummary& AddListServerSummary(ListServerSummaryT&& value) { m_listServerSummaryHasBeenSet = true; m_listServerSummary.emplace_back(std::forward<ListServerSummaryT>(value)); return *this; }
194 private:
195
196 S3Object m_antipatternReportS3Object;
197 bool m_antipatternReportS3ObjectHasBeenSet = false;
198
200 bool m_antipatternReportStatusHasBeenSet = false;
201
202 Aws::String m_antipatternReportStatusMessage;
203 bool m_antipatternReportStatusMessageHasBeenSet = false;
204
205 Aws::Utils::DateTime m_lastAnalyzedTimestamp{};
206 bool m_lastAnalyzedTimestampHasBeenSet = false;
207
208 Aws::Vector<AntipatternSeveritySummary> m_listAntipatternSeveritySummary;
209 bool m_listAntipatternSeveritySummaryHasBeenSet = false;
210
211 Aws::Vector<ApplicationComponentStatusSummary> m_listApplicationComponentStatusSummary;
212 bool m_listApplicationComponentStatusSummaryHasBeenSet = false;
213
214 Aws::Vector<StrategySummary> m_listApplicationComponentStrategySummary;
215 bool m_listApplicationComponentStrategySummaryHasBeenSet = false;
216
217 Aws::Vector<ApplicationComponentSummary> m_listApplicationComponentSummary;
218 bool m_listApplicationComponentSummaryHasBeenSet = false;
219
220 Aws::Vector<ServerStatusSummary> m_listServerStatusSummary;
221 bool m_listServerStatusSummaryHasBeenSet = false;
222
223 Aws::Vector<StrategySummary> m_listServerStrategySummary;
224 bool m_listServerStrategySummaryHasBeenSet = false;
225
226 Aws::Vector<ServerSummary> m_listServerSummary;
227 bool m_listServerSummaryHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace MigrationHubStrategyRecommendations
232} // namespace Aws
const Aws::Vector< StrategySummary > & GetListApplicationComponentStrategySummary() const
void SetListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT &&value)
AssessmentSummary & AddListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT &&value)
AssessmentSummary & WithListServerStrategySummary(ListServerStrategySummaryT &&value)
AssessmentSummary & WithListApplicationComponentStrategySummary(ListApplicationComponentStrategySummaryT &&value)
AssessmentSummary & WithListServerStatusSummary(ListServerStatusSummaryT &&value)
AssessmentSummary & WithListAntipatternSeveritySummary(ListAntipatternSeveritySummaryT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetListApplicationComponentStatusSummary(ListApplicationComponentStatusSummaryT &&value)
const Aws::Vector< ServerSummary > & GetListServerSummary() const
void SetAntipatternReportS3Object(AntipatternReportS3ObjectT &&value)
AssessmentSummary & WithListServerSummary(ListServerSummaryT &&value)
AssessmentSummary & WithAntipatternReportStatusMessage(AntipatternReportStatusMessageT &&value)
void SetListServerStrategySummary(ListServerStrategySummaryT &&value)
void SetListApplicationComponentSummary(ListApplicationComponentSummaryT &&value)
const Aws::Vector< ApplicationComponentStatusSummary > & GetListApplicationComponentStatusSummary() const
AssessmentSummary & WithAntipatternReportS3Object(AntipatternReportS3ObjectT &&value)
void SetListApplicationComponentStrategySummary(ListApplicationComponentStrategySummaryT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentSummary & AddListServerStrategySummary(ListServerStrategySummaryT &&value)
const Aws::Vector< StrategySummary > & GetListServerStrategySummary() const
AssessmentSummary & AddListApplicationComponentStrategySummary(ListApplicationComponentStrategySummaryT &&value)
AssessmentSummary & WithLastAnalyzedTimestamp(LastAnalyzedTimestampT &&value)
AssessmentSummary & WithAntipatternReportStatus(AntipatternReportStatus value)
const Aws::Vector< ServerStatusSummary > & GetListServerStatusSummary() const
const Aws::Vector< ApplicationComponentSummary > & GetListApplicationComponentSummary() const
AssessmentSummary & AddListApplicationComponentSummary(ListApplicationComponentSummaryT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentSummary(Aws::Utils::Json::JsonView jsonValue)
void SetAntipatternReportStatusMessage(AntipatternReportStatusMessageT &&value)
AssessmentSummary & WithListApplicationComponentStatusSummary(ListApplicationComponentStatusSummaryT &&value)
AssessmentSummary & WithListApplicationComponentSummary(ListApplicationComponentSummaryT &&value)
const Aws::Vector< AntipatternSeveritySummary > & GetListAntipatternSeveritySummary() const
AssessmentSummary & AddListServerSummary(ListServerSummaryT &&value)
AssessmentSummary & AddListApplicationComponentStatusSummary(ListApplicationComponentStatusSummaryT &&value)
AssessmentSummary & AddListServerStatusSummary(ListServerStatusSummaryT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API AssessmentSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue