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>
57 inline void SetInsightId(
const char* value) { m_insightIdHasBeenSet =
true; m_insightId.assign(value); }
71 inline void SetGroupARN(
const char* value) { m_groupARNHasBeenSet =
true; m_groupARN.assign(value); }
85 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
159 inline void SetSummary(
const char* value) { m_summaryHasBeenSet =
true; m_summary.assign(value); }
207 bool m_insightIdHasBeenSet =
false;
210 bool m_groupARNHasBeenSet =
false;
213 bool m_groupNameHasBeenSet =
false;
216 bool m_rootCauseServiceIdHasBeenSet =
false;
219 bool m_categoriesHasBeenSet =
false;
222 bool m_stateHasBeenSet =
false;
225 bool m_startTimeHasBeenSet =
false;
228 bool m_endTimeHasBeenSet =
false;
231 bool m_summaryHasBeenSet =
false;
234 bool m_clientRequestImpactStatisticsHasBeenSet =
false;
237 bool m_rootCauseServiceRequestImpactStatisticsHasBeenSet =
false;
240 bool m_topAnomalousServicesHasBeenSet =
false;
const InsightState & GetState() const
bool ClientRequestImpactStatisticsHasBeenSet() const
Insight & WithRootCauseServiceRequestImpactStatistics(const RequestImpactStatistics &value)
void SetClientRequestImpactStatistics(const RequestImpactStatistics &value)
void SetState(InsightState &&value)
void SetInsightId(Aws::String &&value)
void SetClientRequestImpactStatistics(RequestImpactStatistics &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRootCauseServiceRequestImpactStatistics(const RequestImpactStatistics &value)
void SetSummary(const char *value)
Insight & WithEndTime(Aws::Utils::DateTime &&value)
Insight & WithState(InsightState &&value)
bool TopAnomalousServicesHasBeenSet() const
const Aws::String & GetGroupName() const
const Aws::Utils::DateTime & GetEndTime() const
Insight & WithGroupName(const Aws::String &value)
void SetTopAnomalousServices(Aws::Vector< AnomalousService > &&value)
void SetCategories(Aws::Vector< InsightCategory > &&value)
void SetState(const InsightState &value)
bool RootCauseServiceRequestImpactStatisticsHasBeenSet() const
const Aws::Vector< InsightCategory > & GetCategories() const
void SetRootCauseServiceRequestImpactStatistics(RequestImpactStatistics &&value)
Insight & WithRootCauseServiceId(ServiceId &&value)
Insight & WithSummary(const Aws::String &value)
void SetEndTime(Aws::Utils::DateTime &&value)
Insight & AddTopAnomalousServices(const AnomalousService &value)
Insight & WithSummary(const char *value)
Insight & WithStartTime(Aws::Utils::DateTime &&value)
void SetInsightId(const char *value)
bool EndTimeHasBeenSet() const
Insight & WithGroupARN(Aws::String &&value)
void SetInsightId(const Aws::String &value)
Insight & WithStartTime(const Aws::Utils::DateTime &value)
Insight & WithSummary(Aws::String &&value)
Insight & WithGroupName(Aws::String &&value)
Insight & WithInsightId(const Aws::String &value)
const Aws::Vector< AnomalousService > & GetTopAnomalousServices() const
const Aws::String & GetInsightId() const
Insight & WithTopAnomalousServices(const Aws::Vector< AnomalousService > &value)
Insight & WithInsightId(Aws::String &&value)
const RequestImpactStatistics & GetRootCauseServiceRequestImpactStatistics() const
Insight & WithInsightId(const char *value)
bool CategoriesHasBeenSet() const
void SetEndTime(const Aws::Utils::DateTime &value)
Insight & WithRootCauseServiceId(const ServiceId &value)
AWS_XRAY_API Insight(Aws::Utils::Json::JsonView jsonValue)
bool SummaryHasBeenSet() const
const Aws::String & GetSummary() const
Insight & WithCategories(const Aws::Vector< InsightCategory > &value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetGroupName(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool InsightIdHasBeenSet() const
void SetGroupARN(const char *value)
Insight & WithGroupARN(const char *value)
Insight & WithClientRequestImpactStatistics(const RequestImpactStatistics &value)
Insight & WithCategories(Aws::Vector< InsightCategory > &&value)
const ServiceId & GetRootCauseServiceId() const
bool RootCauseServiceIdHasBeenSet() const
Insight & WithGroupName(const char *value)
void SetGroupARN(Aws::String &&value)
void SetRootCauseServiceId(const ServiceId &value)
Insight & WithEndTime(const Aws::Utils::DateTime &value)
void SetTopAnomalousServices(const Aws::Vector< AnomalousService > &value)
const Aws::String & GetGroupARN() const
bool StateHasBeenSet() const
Insight & WithRootCauseServiceRequestImpactStatistics(RequestImpactStatistics &&value)
void SetSummary(const Aws::String &value)
bool GroupARNHasBeenSet() const
Insight & WithState(const InsightState &value)
void SetCategories(const Aws::Vector< InsightCategory > &value)
Insight & AddCategories(InsightCategory &&value)
void SetGroupName(const Aws::String &value)
Insight & AddCategories(const InsightCategory &value)
Insight & AddTopAnomalousServices(AnomalousService &&value)
bool StartTimeHasBeenSet() const
Insight & WithClientRequestImpactStatistics(RequestImpactStatistics &&value)
void SetRootCauseServiceId(ServiceId &&value)
bool GroupNameHasBeenSet() const
Insight & WithTopAnomalousServices(Aws::Vector< AnomalousService > &&value)
void SetSummary(Aws::String &&value)
void SetGroupName(const char *value)
Insight & WithGroupARN(const Aws::String &value)
void SetGroupARN(const Aws::String &value)
const RequestImpactStatistics & GetClientRequestImpactStatistics() const
AWS_XRAY_API Insight & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue