7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
48 template<
typename RuleNameT = Aws::String>
49 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
50 template<
typename RuleNameT = Aws::String>
60 template<
typename TimestampT = Aws::Utils::DateTime>
61 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
62 template<
typename TimestampT = Aws::Utils::DateTime>
72 inline void SetRequestCount(
int value) { m_requestCountHasBeenSet =
true; m_requestCount = value; }
82 inline void SetBorrowCount(
int value) { m_borrowCountHasBeenSet =
true; m_borrowCount = value; }
92 inline void SetSampledCount(
int value) { m_sampledCountHasBeenSet =
true; m_sampledCount = value; }
98 bool m_ruleNameHasBeenSet =
false;
101 bool m_timestampHasBeenSet =
false;
103 int m_requestCount{0};
104 bool m_requestCountHasBeenSet =
false;
106 int m_borrowCount{0};
107 bool m_borrowCountHasBeenSet =
false;
109 int m_sampledCount{0};
110 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