7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/xray/XRay_EXPORTS.h>
42 template <
typename RuleNameT = Aws::String>
44 m_ruleNameHasBeenSet =
true;
45 m_ruleName = std::forward<RuleNameT>(value);
47 template <
typename RuleNameT = Aws::String>
60 template <
typename TimestampT = Aws::Utils::DateTime>
62 m_timestampHasBeenSet =
true;
63 m_timestamp = std::forward<TimestampT>(value);
65 template <
typename TimestampT = Aws::Utils::DateTime>
79 m_requestCountHasBeenSet =
true;
80 m_requestCount = value;
95 m_borrowCountHasBeenSet =
true;
96 m_borrowCount = value;
111 m_sampledCountHasBeenSet =
true;
112 m_sampledCount = value;
124 int m_requestCount{0};
126 int m_borrowCount{0};
128 int m_sampledCount{0};
129 bool m_ruleNameHasBeenSet =
false;
130 bool m_timestampHasBeenSet =
false;
131 bool m_requestCountHasBeenSet =
false;
132 bool m_borrowCountHasBeenSet =
false;
133 bool m_sampledCountHasBeenSet =
false;
bool SampledCountHasBeenSet() const
AWS_XRAY_API SamplingStatisticSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuleName() const
int GetRequestCount() const
SamplingStatisticSummary & WithRuleName(RuleNameT &&value)
bool TimestampHasBeenSet() const
SamplingStatisticSummary & WithRequestCount(int value)
bool RuleNameHasBeenSet() const
SamplingStatisticSummary & WithSampledCount(int value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
int GetBorrowCount() const
AWS_XRAY_API SamplingStatisticSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSampledCount(int value)
bool BorrowCountHasBeenSet() const
void SetBorrowCount(int value)
void SetTimestamp(TimestampT &&value)
void SetRuleName(RuleNameT &&value)
SamplingStatisticSummary & WithTimestamp(TimestampT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
bool RequestCountHasBeenSet() const
AWS_XRAY_API SamplingStatisticSummary()=default
void SetRequestCount(int value)
int GetSampledCount() const
SamplingStatisticSummary & WithBorrowCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue