7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
50 inline void SetRuleName(
const char* value) { m_ruleNameHasBeenSet =
true; m_ruleName.assign(value); }
74 inline void SetRequestCount(
int value) { m_requestCountHasBeenSet =
true; m_requestCount = value; }
84 inline void SetBorrowCount(
int value) { m_borrowCountHasBeenSet =
true; m_borrowCount = value; }
94 inline void SetSampledCount(
int value) { m_sampledCountHasBeenSet =
true; m_sampledCount = value; }
100 bool m_ruleNameHasBeenSet =
false;
103 bool m_timestampHasBeenSet =
false;
106 bool m_requestCountHasBeenSet =
false;
109 bool m_borrowCountHasBeenSet =
false;
112 bool m_sampledCountHasBeenSet =
false;
SamplingStatisticSummary & WithTimestamp(const Aws::Utils::DateTime &value)
bool SampledCountHasBeenSet() const
AWS_XRAY_API SamplingStatisticSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(const Aws::Utils::DateTime &value)
SamplingStatisticSummary & WithRuleName(Aws::String &&value)
const Aws::String & GetRuleName() const
int GetRequestCount() const
bool TimestampHasBeenSet() const
void SetTimestamp(Aws::Utils::DateTime &&value)
SamplingStatisticSummary & WithRequestCount(int value)
bool RuleNameHasBeenSet() const
SamplingStatisticSummary & WithSampledCount(int value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
int GetBorrowCount() const
SamplingStatisticSummary & WithRuleName(const char *value)
AWS_XRAY_API SamplingStatisticSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSampledCount(int value)
bool BorrowCountHasBeenSet() const
void SetBorrowCount(int value)
AWS_XRAY_API SamplingStatisticSummary()
void SetRuleName(Aws::String &&value)
SamplingStatisticSummary & WithTimestamp(Aws::Utils::DateTime &&value)
SamplingStatisticSummary & WithRuleName(const Aws::String &value)
void SetRuleName(const char *value)
const Aws::Utils::DateTime & GetTimestamp() const
bool RequestCountHasBeenSet() const
void SetRuleName(const Aws::String &value)
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