7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/xray/model/RequestImpactStatistics.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/xray/model/AnomalousService.h>
53 template<
typename SummaryT = Aws::String>
54 void SetSummary(SummaryT&& value) { m_summaryHasBeenSet =
true; m_summary = std::forward<SummaryT>(value); }
55 template<
typename SummaryT = Aws::String>
65 template<
typename EventTimeT = Aws::Utils::DateTime>
66 void SetEventTime(EventTimeT&& value) { m_eventTimeHasBeenSet =
true; m_eventTime = std::forward<EventTimeT>(value); }
67 template<
typename EventTimeT = Aws::Utils::DateTime>
78 template<
typename ClientRequestImpactStatisticsT = RequestImpactStatistics>
79 void SetClientRequestImpactStatistics(ClientRequestImpactStatisticsT&& value) { m_clientRequestImpactStatisticsHasBeenSet =
true; m_clientRequestImpactStatistics = std::forward<ClientRequestImpactStatisticsT>(value); }
80 template<
typename ClientRequestImpactStatisticsT = RequestImpactStatistics>
91 template<
typename RootCauseServiceRequestImpactStatisticsT = RequestImpactStatistics>
92 void SetRootCauseServiceRequestImpactStatistics(RootCauseServiceRequestImpactStatisticsT&& value) { m_rootCauseServiceRequestImpactStatisticsHasBeenSet =
true; m_rootCauseServiceRequestImpactStatistics = std::forward<RootCauseServiceRequestImpactStatisticsT>(value); }
93 template<
typename RootCauseServiceRequestImpactStatisticsT = RequestImpactStatistics>
103 template<
typename TopAnomalousServicesT = Aws::Vector<AnomalousService>>
104 void SetTopAnomalousServices(TopAnomalousServicesT&& value) { m_topAnomalousServicesHasBeenSet =
true; m_topAnomalousServices = std::forward<TopAnomalousServicesT>(value); }
105 template<
typename TopAnomalousServicesT = Aws::Vector<AnomalousService>>
107 template<
typename TopAnomalousServicesT = AnomalousService>
108 InsightEvent&
AddTopAnomalousServices(TopAnomalousServicesT&& value) { m_topAnomalousServicesHasBeenSet =
true; m_topAnomalousServices.emplace_back(std::forward<TopAnomalousServicesT>(value));
return *
this; }
113 bool m_summaryHasBeenSet =
false;
116 bool m_eventTimeHasBeenSet =
false;
118 RequestImpactStatistics m_clientRequestImpactStatistics;
119 bool m_clientRequestImpactStatisticsHasBeenSet =
false;
121 RequestImpactStatistics m_rootCauseServiceRequestImpactStatistics;
122 bool m_rootCauseServiceRequestImpactStatisticsHasBeenSet =
false;
125 bool m_topAnomalousServicesHasBeenSet =
false;
bool EventTimeHasBeenSet() const
InsightEvent & WithEventTime(EventTimeT &&value)
InsightEvent & WithSummary(SummaryT &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRootCauseServiceRequestImpactStatistics(RootCauseServiceRequestImpactStatisticsT &&value)
InsightEvent & WithTopAnomalousServices(TopAnomalousServicesT &&value)
bool ClientRequestImpactStatisticsHasBeenSet() const
void SetClientRequestImpactStatistics(ClientRequestImpactStatisticsT &&value)
InsightEvent & AddTopAnomalousServices(TopAnomalousServicesT &&value)
const Aws::String & GetSummary() const
InsightEvent & WithClientRequestImpactStatistics(ClientRequestImpactStatisticsT &&value)
const RequestImpactStatistics & GetClientRequestImpactStatistics() const
void SetTopAnomalousServices(TopAnomalousServicesT &&value)
AWS_XRAY_API InsightEvent(Aws::Utils::Json::JsonView jsonValue)
void SetEventTime(EventTimeT &&value)
bool SummaryHasBeenSet() const
InsightEvent & WithRootCauseServiceRequestImpactStatistics(RootCauseServiceRequestImpactStatisticsT &&value)
bool TopAnomalousServicesHasBeenSet() const
const RequestImpactStatistics & GetRootCauseServiceRequestImpactStatistics() const
void SetSummary(SummaryT &&value)
const Aws::Vector< AnomalousService > & GetTopAnomalousServices() const
AWS_XRAY_API InsightEvent()=default
AWS_XRAY_API InsightEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RootCauseServiceRequestImpactStatisticsHasBeenSet() const
const Aws::Utils::DateTime & GetEventTime() 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