7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/xray/XRay_EXPORTS.h>
11#include <aws/xray/model/AnomalousService.h>
12#include <aws/xray/model/InsightCategory.h>
13#include <aws/xray/model/InsightState.h>
14#include <aws/xray/model/RequestImpactStatistics.h>
15#include <aws/xray/model/ServiceId.h>
47 template <
typename InsightIdT = Aws::String>
49 m_insightIdHasBeenSet =
true;
50 m_insightId = std::forward<InsightIdT>(value);
52 template <
typename InsightIdT = Aws::String>
65 template <
typename GroupARNT = Aws::String>
67 m_groupARNHasBeenSet =
true;
68 m_groupARN = std::forward<GroupARNT>(value);
70 template <
typename GroupARNT = Aws::String>
83 template <
typename GroupNameT = Aws::String>
85 m_groupNameHasBeenSet =
true;
86 m_groupName = std::forward<GroupNameT>(value);
88 template <
typename GroupNameT = Aws::String>
99 template <
typename RootCauseServiceIdT = ServiceId>
101 m_rootCauseServiceIdHasBeenSet =
true;
102 m_rootCauseServiceId = std::forward<RootCauseServiceIdT>(value);
104 template <
typename RootCauseServiceIdT = ServiceId>
117 template <
typename CategoriesT = Aws::Vector<InsightCategory>>
119 m_categoriesHasBeenSet =
true;
120 m_categories = std::forward<CategoriesT>(value);
122 template <
typename CategoriesT = Aws::Vector<InsightCategory>>
128 m_categoriesHasBeenSet =
true;
129 m_categories.push_back(value);
141 m_stateHasBeenSet =
true;
156 template <
typename StartTimeT = Aws::Utils::DateTime>
158 m_startTimeHasBeenSet =
true;
159 m_startTime = std::forward<StartTimeT>(value);
161 template <
typename StartTimeT = Aws::Utils::DateTime>
174 template <
typename EndTimeT = Aws::Utils::DateTime>
176 m_endTimeHasBeenSet =
true;
177 m_endTime = std::forward<EndTimeT>(value);
179 template <
typename EndTimeT = Aws::Utils::DateTime>
192 template <
typename SummaryT = Aws::String>
194 m_summaryHasBeenSet =
true;
195 m_summary = std::forward<SummaryT>(value);
197 template <
typename SummaryT = Aws::String>
212 template <
typename ClientRequestImpactStatisticsT = RequestImpactStatistics>
214 m_clientRequestImpactStatisticsHasBeenSet =
true;
215 m_clientRequestImpactStatistics = std::forward<ClientRequestImpactStatisticsT>(value);
217 template <
typename ClientRequestImpactStatisticsT = RequestImpactStatistics>
231 return m_rootCauseServiceRequestImpactStatistics;
234 template <
typename RootCauseServiceRequestImpactStatisticsT = RequestImpactStatistics>
236 m_rootCauseServiceRequestImpactStatisticsHasBeenSet =
true;
237 m_rootCauseServiceRequestImpactStatistics = std::forward<RootCauseServiceRequestImpactStatisticsT>(value);
239 template <
typename RootCauseServiceRequestImpactStatisticsT = RequestImpactStatistics>
252 template <
typename TopAnomalousServicesT = Aws::Vector<AnomalousService>>
254 m_topAnomalousServicesHasBeenSet =
true;
255 m_topAnomalousServices = std::forward<TopAnomalousServicesT>(value);
257 template <
typename TopAnomalousServicesT = Aws::Vector<AnomalousService>>
262 template <
typename TopAnomalousServicesT = AnomalousService>
264 m_topAnomalousServicesHasBeenSet =
true;
265 m_topAnomalousServices.emplace_back(std::forward<TopAnomalousServicesT>(value));
276 template <
typename LastUpdateTimeT = Aws::Utils::DateTime>
278 m_lastUpdateTimeHasBeenSet =
true;
279 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
281 template <
typename LastUpdateTimeT = Aws::Utils::DateTime>
306 RequestImpactStatistics m_clientRequestImpactStatistics;
308 RequestImpactStatistics m_rootCauseServiceRequestImpactStatistics;
313 bool m_insightIdHasBeenSet =
false;
314 bool m_groupARNHasBeenSet =
false;
315 bool m_groupNameHasBeenSet =
false;
316 bool m_rootCauseServiceIdHasBeenSet =
false;
317 bool m_categoriesHasBeenSet =
false;
318 bool m_stateHasBeenSet =
false;
319 bool m_startTimeHasBeenSet =
false;
320 bool m_endTimeHasBeenSet =
false;
321 bool m_summaryHasBeenSet =
false;
322 bool m_clientRequestImpactStatisticsHasBeenSet =
false;
323 bool m_rootCauseServiceRequestImpactStatisticsHasBeenSet =
false;
324 bool m_topAnomalousServicesHasBeenSet =
false;
325 bool m_lastUpdateTimeHasBeenSet =
false;
InsightSummary & WithStartTime(StartTimeT &&value)
bool StartTimeHasBeenSet() const
const Aws::Vector< InsightCategory > & GetCategories() const
const Aws::String & GetInsightId() const
const Aws::String & GetGroupName() const
const RequestImpactStatistics & GetClientRequestImpactStatistics() const
const Aws::String & GetGroupARN() const
bool TopAnomalousServicesHasBeenSet() const
bool GroupARNHasBeenSet() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
InsightSummary & WithCategories(CategoriesT &&value)
AWS_XRAY_API InsightSummary(Aws::Utils::Json::JsonView jsonValue)
InsightSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
bool GroupNameHasBeenSet() const
InsightSummary & WithSummary(SummaryT &&value)
bool EndTimeHasBeenSet() const
bool RootCauseServiceRequestImpactStatisticsHasBeenSet() const
bool ClientRequestImpactStatisticsHasBeenSet() const
InsightSummary & AddCategories(InsightCategory value)
InsightSummary & WithTopAnomalousServices(TopAnomalousServicesT &&value)
void SetEndTime(EndTimeT &&value)
InsightSummary & WithInsightId(InsightIdT &&value)
void SetInsightId(InsightIdT &&value)
AWS_XRAY_API InsightSummary()=default
InsightSummary & WithGroupARN(GroupARNT &&value)
InsightSummary & WithRootCauseServiceId(RootCauseServiceIdT &&value)
void SetGroupARN(GroupARNT &&value)
bool CategoriesHasBeenSet() const
AWS_XRAY_API InsightSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetState(InsightState value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
void SetGroupName(GroupNameT &&value)
const Aws::String & GetSummary() const
void SetRootCauseServiceRequestImpactStatistics(RootCauseServiceRequestImpactStatisticsT &&value)
bool InsightIdHasBeenSet() const
InsightSummary & WithRootCauseServiceRequestImpactStatistics(RootCauseServiceRequestImpactStatisticsT &&value)
bool StateHasBeenSet() const
bool RootCauseServiceIdHasBeenSet() const
bool LastUpdateTimeHasBeenSet() const
const RequestImpactStatistics & GetRootCauseServiceRequestImpactStatistics() const
void SetStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
bool SummaryHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
InsightSummary & WithEndTime(EndTimeT &&value)
InsightSummary & WithClientRequestImpactStatistics(ClientRequestImpactStatisticsT &&value)
const ServiceId & GetRootCauseServiceId() const
InsightSummary & AddTopAnomalousServices(TopAnomalousServicesT &&value)
void SetTopAnomalousServices(TopAnomalousServicesT &&value)
void SetClientRequestImpactStatistics(ClientRequestImpactStatisticsT &&value)
InsightSummary & WithGroupName(GroupNameT &&value)
InsightState GetState() const
void SetCategories(CategoriesT &&value)
void SetSummary(SummaryT &&value)
const Aws::Utils::DateTime & GetEndTime() const
InsightSummary & WithState(InsightState value)
void SetRootCauseServiceId(RootCauseServiceIdT &&value)
const Aws::Vector< AnomalousService > & GetTopAnomalousServices() 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