7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
51 template<
typename RuleNameT = Aws::String>
52 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
53 template<
typename RuleNameT = Aws::String>
64 template<
typename ServiceNameT = Aws::String>
65 void SetServiceName(ServiceNameT&& value) { m_serviceNameHasBeenSet =
true; m_serviceName = std::forward<ServiceNameT>(value); }
66 template<
typename ServiceNameT = Aws::String>
76 template<
typename TimestampT = Aws::Utils::DateTime>
77 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
78 template<
typename TimestampT = Aws::Utils::DateTime>
88 inline void SetAnomalyCount(
int value) { m_anomalyCountHasBeenSet =
true; m_anomalyCount = value; }
98 inline void SetTotalCount(
int value) { m_totalCountHasBeenSet =
true; m_totalCount = value; }
114 bool m_ruleNameHasBeenSet =
false;
117 bool m_serviceNameHasBeenSet =
false;
120 bool m_timestampHasBeenSet =
false;
122 int m_anomalyCount{0};
123 bool m_anomalyCountHasBeenSet =
false;
126 bool m_totalCountHasBeenSet =
false;
128 int m_sampledAnomalyCount{0};
129 bool m_sampledAnomalyCountHasBeenSet =
false;
void SetTotalCount(int value)
bool RuleNameHasBeenSet() const
SamplingBoostStatisticsDocument & WithTotalCount(int value)
bool SampledAnomalyCountHasBeenSet() const
void SetRuleName(RuleNameT &&value)
AWS_XRAY_API SamplingBoostStatisticsDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSampledAnomalyCount(int value)
SamplingBoostStatisticsDocument & WithServiceName(ServiceNameT &&value)
AWS_XRAY_API SamplingBoostStatisticsDocument()=default
void SetAnomalyCount(int value)
const Aws::String & GetRuleName() const
const Aws::String & GetServiceName() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetTimestamp() const
void SetTimestamp(TimestampT &&value)
bool TotalCountHasBeenSet() const
int GetAnomalyCount() const
SamplingBoostStatisticsDocument & WithSampledAnomalyCount(int value)
bool TimestampHasBeenSet() const
int GetSampledAnomalyCount() const
bool ServiceNameHasBeenSet() const
AWS_XRAY_API SamplingBoostStatisticsDocument(Aws::Utils::Json::JsonView jsonValue)
SamplingBoostStatisticsDocument & WithTimestamp(TimestampT &&value)
bool AnomalyCountHasBeenSet() const
SamplingBoostStatisticsDocument & WithAnomalyCount(int value)
void SetServiceName(ServiceNameT &&value)
int GetTotalCount() const
SamplingBoostStatisticsDocument & WithRuleName(RuleNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue