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>
55 template<
typename InsightIdT = Aws::String>
56 void SetInsightId(InsightIdT&& value) { m_insightIdHasBeenSet =
true; m_insightId = std::forward<InsightIdT>(value); }
57 template<
typename InsightIdT = Aws::String>
67 template<
typename GroupARNT = Aws::String>
68 void SetGroupARN(GroupARNT&& value) { m_groupARNHasBeenSet =
true; m_groupARN = std::forward<GroupARNT>(value); }
69 template<
typename GroupARNT = Aws::String>
79 template<
typename GroupNameT = Aws::String>
80 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
81 template<
typename GroupNameT = Aws::String>
89 template<
typename RootCauseServiceIdT = ServiceId>
90 void SetRootCauseServiceId(RootCauseServiceIdT&& value) { m_rootCauseServiceIdHasBeenSet =
true; m_rootCauseServiceId = std::forward<RootCauseServiceIdT>(value); }
91 template<
typename RootCauseServiceIdT = ServiceId>
101 template<
typename CategoriesT = Aws::Vector<InsightCategory>>
102 void SetCategories(CategoriesT&& value) { m_categoriesHasBeenSet =
true; m_categories = std::forward<CategoriesT>(value); }
103 template<
typename CategoriesT = Aws::Vector<InsightCategory>>
124 template<
typename StartTimeT = Aws::Utils::DateTime>
125 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
126 template<
typename StartTimeT = Aws::Utils::DateTime>
136 template<
typename EndTimeT = Aws::Utils::DateTime>
137 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
138 template<
typename EndTimeT = Aws::Utils::DateTime>
148 template<
typename SummaryT = Aws::String>
149 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
150 template<
typename SummaryT = Aws::String>
161 template<
typename ClientRequestImpactStatisticsT = RequestImpactStatistics>
162 void SetClientRequestImpactStatistics(ClientRequestImpactStatisticsT&& value) { m_clientRequestImpactStatisticsHasBeenSet =
true; m_clientRequestImpactStatistics = std::forward<ClientRequestImpactStatisticsT>(value); }
163 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 Insight&
AddTopAnomalousServices(TopAnomalousServicesT&& value) { m_topAnomalousServicesHasBeenSet =
true; m_topAnomalousServices.emplace_back(std::forward<TopAnomalousServicesT>(value));
return *
this; }
196 bool m_insightIdHasBeenSet =
false;
199 bool m_groupARNHasBeenSet =
false;
202 bool m_groupNameHasBeenSet =
false;
205 bool m_rootCauseServiceIdHasBeenSet =
false;
208 bool m_categoriesHasBeenSet =
false;
211 bool m_stateHasBeenSet =
false;
214 bool m_startTimeHasBeenSet =
false;
217 bool m_endTimeHasBeenSet =
false;
220 bool m_summaryHasBeenSet =
false;
222 RequestImpactStatistics m_clientRequestImpactStatistics;
223 bool m_clientRequestImpactStatisticsHasBeenSet =
false;
225 RequestImpactStatistics m_rootCauseServiceRequestImpactStatistics;
226 bool m_rootCauseServiceRequestImpactStatisticsHasBeenSet =
false;
229 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