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>
63 template <
typename ClientIDT = Aws::String>
65 m_clientIDHasBeenSet =
true;
66 m_clientID = std::forward<ClientIDT>(value);
68 template <
typename ClientIDT = Aws::String>
81 template <
typename TimestampT = Aws::Utils::DateTime>
83 m_timestampHasBeenSet =
true;
84 m_timestamp = std::forward<TimestampT>(value);
86 template <
typename TimestampT = Aws::Utils::DateTime>
100 m_requestCountHasBeenSet =
true;
101 m_requestCount = value;
116 m_sampledCountHasBeenSet =
true;
117 m_sampledCount = value;
132 m_borrowCountHasBeenSet =
true;
133 m_borrowCount = value;
147 int m_requestCount{0};
149 int m_sampledCount{0};
151 int m_borrowCount{0};
152 bool m_ruleNameHasBeenSet =
false;
153 bool m_clientIDHasBeenSet =
false;
154 bool m_timestampHasBeenSet =
false;
155 bool m_requestCountHasBeenSet =
false;
156 bool m_sampledCountHasBeenSet =
false;
157 bool m_borrowCountHasBeenSet =
false;
const Aws::String & GetClientID() const
bool RuleNameHasBeenSet() const
bool TimestampHasBeenSet() const
SamplingStatisticsDocument & WithClientID(ClientIDT &&value)
int GetRequestCount() const
AWS_XRAY_API SamplingStatisticsDocument(Aws::Utils::Json::JsonView jsonValue)
SamplingStatisticsDocument & WithRuleName(RuleNameT &&value)
bool BorrowCountHasBeenSet() const
AWS_XRAY_API SamplingStatisticsDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ClientIDHasBeenSet() const
void SetRuleName(RuleNameT &&value)
int GetSampledCount() const
void SetTimestamp(TimestampT &&value)
void SetBorrowCount(int value)
void SetClientID(ClientIDT &&value)
void SetRequestCount(int value)
SamplingStatisticsDocument & WithBorrowCount(int value)
void SetSampledCount(int value)
const Aws::String & GetRuleName() const
const Aws::Utils::DateTime & GetTimestamp() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool RequestCountHasBeenSet() const
SamplingStatisticsDocument & WithRequestCount(int value)
SamplingStatisticsDocument & WithTimestamp(TimestampT &&value)
AWS_XRAY_API SamplingStatisticsDocument()=default
bool SampledCountHasBeenSet() const
SamplingStatisticsDocument & WithSampledCount(int value)
int GetBorrowCount() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue