7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/xray/XRay_EXPORTS.h>
45 template <
typename RuleNameT = Aws::String>
47 m_ruleNameHasBeenSet =
true;
48 m_ruleName = std::forward<RuleNameT>(value);
50 template <
typename RuleNameT = Aws::String>
64 template <
typename ServiceNameT = Aws::String>
66 m_serviceNameHasBeenSet =
true;
67 m_serviceName = std::forward<ServiceNameT>(value);
69 template <
typename ServiceNameT = Aws::String>
82 template <
typename TimestampT = Aws::Utils::DateTime>
84 m_timestampHasBeenSet =
true;
85 m_timestamp = std::forward<TimestampT>(value);
87 template <
typename TimestampT = Aws::Utils::DateTime>
101 m_anomalyCountHasBeenSet =
true;
102 m_anomalyCount = value;
117 m_totalCountHasBeenSet =
true;
118 m_totalCount = value;
133 m_sampledAnomalyCountHasBeenSet =
true;
134 m_sampledAnomalyCount = value;
148 int m_anomalyCount{0};
152 int m_sampledAnomalyCount{0};
153 bool m_ruleNameHasBeenSet =
false;
154 bool m_serviceNameHasBeenSet =
false;
155 bool m_timestampHasBeenSet =
false;
156 bool m_anomalyCountHasBeenSet =
false;
157 bool m_totalCountHasBeenSet =
false;
158 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