7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
53 inline void SetRuleName(
const char* value) { m_ruleNameHasBeenSet =
true; m_ruleName.assign(value); }
67 inline void SetClientID(
const char* value) { m_clientIDHasBeenSet =
true; m_clientID.assign(value); }
91 inline void SetRequestCount(
int value) { m_requestCountHasBeenSet =
true; m_requestCount = value; }
101 inline void SetSampledCount(
int value) { m_sampledCountHasBeenSet =
true; m_sampledCount = value; }
111 inline void SetBorrowCount(
int value) { m_borrowCountHasBeenSet =
true; m_borrowCount = value; }
117 bool m_ruleNameHasBeenSet =
false;
120 bool m_clientIDHasBeenSet =
false;
123 bool m_timestampHasBeenSet =
false;
126 bool m_requestCountHasBeenSet =
false;
129 bool m_sampledCountHasBeenSet =
false;
132 bool m_borrowCountHasBeenSet =
false;
const Aws::String & GetClientID() const
bool RuleNameHasBeenSet() const
bool TimestampHasBeenSet() const
SamplingStatisticsDocument & WithClientID(const Aws::String &value)
int GetRequestCount() const
void SetRuleName(const char *value)
void SetRuleName(const Aws::String &value)
SamplingStatisticsDocument & WithRuleName(const Aws::String &value)
void SetRuleName(Aws::String &&value)
AWS_XRAY_API SamplingStatisticsDocument(Aws::Utils::Json::JsonView jsonValue)
bool BorrowCountHasBeenSet() const
void SetClientID(const char *value)
AWS_XRAY_API SamplingStatisticsDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ClientIDHasBeenSet() const
SamplingStatisticsDocument & WithClientID(Aws::String &&value)
int GetSampledCount() const
void SetBorrowCount(int value)
SamplingStatisticsDocument & WithTimestamp(const Aws::Utils::DateTime &value)
SamplingStatisticsDocument & WithRuleName(Aws::String &&value)
AWS_XRAY_API SamplingStatisticsDocument()
void SetRequestCount(int value)
SamplingStatisticsDocument & WithBorrowCount(int value)
void SetSampledCount(int value)
const Aws::String & GetRuleName() const
const Aws::Utils::DateTime & GetTimestamp() const
void SetTimestamp(Aws::Utils::DateTime &&value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
SamplingStatisticsDocument & WithTimestamp(Aws::Utils::DateTime &&value)
bool RequestCountHasBeenSet() const
SamplingStatisticsDocument & WithRuleName(const char *value)
SamplingStatisticsDocument & WithRequestCount(int value)
void SetTimestamp(const Aws::Utils::DateTime &value)
void SetClientID(const Aws::String &value)
bool SampledCountHasBeenSet() const
SamplingStatisticsDocument & WithClientID(const char *value)
void SetClientID(Aws::String &&value)
SamplingStatisticsDocument & WithSampledCount(int value)
int GetBorrowCount() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue