7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/xray/model/ServiceId.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/xray/model/InsightState.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/xray/model/RequestImpactStatistics.h>
14#include <aws/xray/model/InsightCategory.h>
15#include <aws/xray/model/AnomalousService.h>
53 template<
typename InsightIdT = Aws::String>
54 void SetInsightId(InsightIdT&& value) { m_insightIdHasBeenSet =
true; m_insightId = std::forward<InsightIdT>(value); }
55 template<
typename InsightIdT = Aws::String>
65 template<
typename GroupARNT = Aws::String>
66 void SetGroupARN(GroupARNT&& value) { m_groupARNHasBeenSet =
true; m_groupARN = std::forward<GroupARNT>(value); }
67 template<
typename GroupARNT = Aws::String>
77 template<
typename GroupNameT = Aws::String>
78 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
79 template<
typename GroupNameT = Aws::String>
87 template<
typename RootCauseServiceIdT = ServiceId>
88 void SetRootCauseServiceId(RootCauseServiceIdT&& value) { m_rootCauseServiceIdHasBeenSet =
true; m_rootCauseServiceId = std::forward<RootCauseServiceIdT>(value); }
89 template<
typename RootCauseServiceIdT = ServiceId>
99 template<
typename CategoriesT = Aws::Vector<InsightCategory>>
100 void SetCategories(CategoriesT&& value) { m_categoriesHasBeenSet =
true; m_categories = std::forward<CategoriesT>(value); }
101 template<
typename CategoriesT = Aws::Vector<InsightCategory>>
122 template<
typename StartTimeT = Aws::Utils::DateTime>
123 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
124 template<
typename StartTimeT = Aws::Utils::DateTime>
134 template<
typename EndTimeT = Aws::Utils::DateTime>
135 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
136 template<
typename EndTimeT = Aws::Utils::DateTime>
146 template<
typename SummaryT = Aws::String>
147 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
148 template<
typename SummaryT = Aws::String>
160 template<
typename ClientRequestImpactStatisticsT = RequestImpactStatistics>
161 void SetClientRequestImpactStatistics(ClientRequestImpactStatisticsT&& value) { m_clientRequestImpactStatisticsHasBeenSet =
true; m_clientRequestImpactStatistics = std::forward<ClientRequestImpactStatisticsT>(value); }
162 template<
typename ClientRequestImpactStatisticsT = RequestImpactStatistics>
174 template<
typename RootCauseServiceRequestImpactStatisticsT = RequestImpactStatistics>
175 void SetRootCauseServiceRequestImpactStatistics(RootCauseServiceRequestImpactStatisticsT&& value) { m_rootCauseServiceRequestImpactStatisticsHasBeenSet =
true; m_rootCauseServiceRequestImpactStatistics = std::forward<RootCauseServiceRequestImpactStatisticsT>(value); }
176 template<
typename RootCauseServiceRequestImpactStatisticsT = RequestImpactStatistics>
186 template<
typename TopAnomalousServicesT = Aws::Vector<AnomalousService>>
187 void SetTopAnomalousServices(TopAnomalousServicesT&& value) { m_topAnomalousServicesHasBeenSet =
true; m_topAnomalousServices = std::forward<TopAnomalousServicesT>(value); }
188 template<
typename TopAnomalousServicesT = Aws::Vector<AnomalousService>>
190 template<
typename TopAnomalousServicesT = AnomalousService>
191 InsightSummary&
AddTopAnomalousServices(TopAnomalousServicesT&& value) { m_topAnomalousServicesHasBeenSet =
true; m_topAnomalousServices.emplace_back(std::forward<TopAnomalousServicesT>(value));
return *
this; }
200 template<
typename LastUpdateTimeT = Aws::Utils::DateTime>
201 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet =
true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
202 template<
typename LastUpdateTimeT = Aws::Utils::DateTime>
208 bool m_insightIdHasBeenSet =
false;
211 bool m_groupARNHasBeenSet =
false;
214 bool m_groupNameHasBeenSet =
false;
217 bool m_rootCauseServiceIdHasBeenSet =
false;
220 bool m_categoriesHasBeenSet =
false;
223 bool m_stateHasBeenSet =
false;
226 bool m_startTimeHasBeenSet =
false;
229 bool m_endTimeHasBeenSet =
false;
232 bool m_summaryHasBeenSet =
false;
234 RequestImpactStatistics m_clientRequestImpactStatistics;
235 bool m_clientRequestImpactStatisticsHasBeenSet =
false;
237 RequestImpactStatistics m_rootCauseServiceRequestImpactStatistics;
238 bool m_rootCauseServiceRequestImpactStatisticsHasBeenSet =
false;
241 bool m_topAnomalousServicesHasBeenSet =
false;
244 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