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>
49 template <
typename InsightIdT = Aws::String>
51 m_insightIdHasBeenSet =
true;
52 m_insightId = std::forward<InsightIdT>(value);
54 template <
typename InsightIdT = Aws::String>
67 template <
typename GroupARNT = Aws::String>
69 m_groupARNHasBeenSet =
true;
70 m_groupARN = std::forward<GroupARNT>(value);
72 template <
typename GroupARNT = Aws::String>
85 template <
typename GroupNameT = Aws::String>
87 m_groupNameHasBeenSet =
true;
88 m_groupName = std::forward<GroupNameT>(value);
90 template <
typename GroupNameT = Aws::String>
101 template <
typename RootCauseServiceIdT = ServiceId>
103 m_rootCauseServiceIdHasBeenSet =
true;
104 m_rootCauseServiceId = std::forward<RootCauseServiceIdT>(value);
106 template <
typename RootCauseServiceIdT = ServiceId>
119 template <
typename CategoriesT = Aws::Vector<InsightCategory>>
121 m_categoriesHasBeenSet =
true;
122 m_categories = std::forward<CategoriesT>(value);
124 template <
typename CategoriesT = Aws::Vector<InsightCategory>>
130 m_categoriesHasBeenSet =
true;
131 m_categories.push_back(value);
143 m_stateHasBeenSet =
true;
158 template <
typename StartTimeT = Aws::Utils::DateTime>
160 m_startTimeHasBeenSet =
true;
161 m_startTime = std::forward<StartTimeT>(value);
163 template <
typename StartTimeT = Aws::Utils::DateTime>
176 template <
typename EndTimeT = Aws::Utils::DateTime>
178 m_endTimeHasBeenSet =
true;
179 m_endTime = std::forward<EndTimeT>(value);
181 template <
typename EndTimeT = Aws::Utils::DateTime>
194 template <
typename SummaryT = Aws::String>
196 m_summaryHasBeenSet =
true;
197 m_summary = std::forward<SummaryT>(value);
199 template <
typename SummaryT = Aws::String>
213 template <
typename ClientRequestImpactStatisticsT = RequestImpactStatistics>
215 m_clientRequestImpactStatisticsHasBeenSet =
true;
216 m_clientRequestImpactStatistics = std::forward<ClientRequestImpactStatisticsT>(value);
218 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));
288 RequestImpactStatistics m_clientRequestImpactStatistics;
290 RequestImpactStatistics m_rootCauseServiceRequestImpactStatistics;
293 bool m_insightIdHasBeenSet =
false;
294 bool m_groupARNHasBeenSet =
false;
295 bool m_groupNameHasBeenSet =
false;
296 bool m_rootCauseServiceIdHasBeenSet =
false;
297 bool m_categoriesHasBeenSet =
false;
298 bool m_stateHasBeenSet =
false;
299 bool m_startTimeHasBeenSet =
false;
300 bool m_endTimeHasBeenSet =
false;
301 bool m_summaryHasBeenSet =
false;
302 bool m_clientRequestImpactStatisticsHasBeenSet =
false;
303 bool m_rootCauseServiceRequestImpactStatisticsHasBeenSet =
false;
304 bool m_topAnomalousServicesHasBeenSet =
false;
void SetInsightId(InsightIdT &&value)
bool ClientRequestImpactStatisticsHasBeenSet() const
Insight & WithRootCauseServiceRequestImpactStatistics(RootCauseServiceRequestImpactStatisticsT &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool TopAnomalousServicesHasBeenSet() const
const Aws::String & GetGroupName() const
const Aws::Utils::DateTime & GetEndTime() const
Insight & WithRootCauseServiceId(RootCauseServiceIdT &&value)
Insight & WithStartTime(StartTimeT &&value)
bool RootCauseServiceRequestImpactStatisticsHasBeenSet() const
const Aws::Vector< InsightCategory > & GetCategories() const
void SetSummary(SummaryT &&value)
Insight & WithEndTime(EndTimeT &&value)
void SetRootCauseServiceRequestImpactStatistics(RootCauseServiceRequestImpactStatisticsT &&value)
void SetState(InsightState value)
Insight & WithClientRequestImpactStatistics(ClientRequestImpactStatisticsT &&value)
Insight & WithGroupARN(GroupARNT &&value)
void SetStartTime(StartTimeT &&value)
bool EndTimeHasBeenSet() const
Insight & WithState(InsightState value)
const Aws::Vector< AnomalousService > & GetTopAnomalousServices() const
const Aws::String & GetInsightId() const
Insight & WithInsightId(InsightIdT &&value)
const RequestImpactStatistics & GetRootCauseServiceRequestImpactStatistics() const
bool CategoriesHasBeenSet() const
void SetRootCauseServiceId(RootCauseServiceIdT &&value)
AWS_XRAY_API Insight(Aws::Utils::Json::JsonView jsonValue)
bool SummaryHasBeenSet() const
void SetClientRequestImpactStatistics(ClientRequestImpactStatisticsT &&value)
const Aws::String & GetSummary() const
void SetTopAnomalousServices(TopAnomalousServicesT &&value)
Insight & WithSummary(SummaryT &&value)
Insight & WithCategories(CategoriesT &&value)
const Aws::Utils::DateTime & GetStartTime() const
Insight & WithTopAnomalousServices(TopAnomalousServicesT &&value)
bool InsightIdHasBeenSet() const
const ServiceId & GetRootCauseServiceId() const
bool RootCauseServiceIdHasBeenSet() const
const Aws::String & GetGroupARN() const
bool StateHasBeenSet() const
InsightState GetState() const
bool GroupARNHasBeenSet() const
void SetCategories(CategoriesT &&value)
bool StartTimeHasBeenSet() const
void SetGroupName(GroupNameT &&value)
void SetGroupARN(GroupARNT &&value)
bool GroupNameHasBeenSet() const
void SetEndTime(EndTimeT &&value)
Insight & AddCategories(InsightCategory value)
Insight & WithGroupName(GroupNameT &&value)
const RequestImpactStatistics & GetClientRequestImpactStatistics() const
AWS_XRAY_API Insight & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API Insight()=default
Insight & AddTopAnomalousServices(TopAnomalousServicesT &&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