7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
51 template<
typename RuleNameT = Aws::String>
52 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
53 template<
typename RuleNameT = Aws::String>
63 template<
typename ClientIDT = Aws::String>
64 void SetClientID(ClientIDT&& value) { m_clientIDHasBeenSet =
true; m_clientID = std::forward<ClientIDT>(value); }
65 template<
typename ClientIDT = Aws::String>
75 template<
typename TimestampT = Aws::Utils::DateTime>
76 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
77 template<
typename TimestampT = Aws::Utils::DateTime>
87 inline void SetRequestCount(
int value) { m_requestCountHasBeenSet =
true; m_requestCount = value; }
97 inline void SetSampledCount(
int value) { m_sampledCountHasBeenSet =
true; m_sampledCount = value; }
107 inline void SetBorrowCount(
int value) { m_borrowCountHasBeenSet =
true; m_borrowCount = value; }
113 bool m_ruleNameHasBeenSet =
false;
116 bool m_clientIDHasBeenSet =
false;
119 bool m_timestampHasBeenSet =
false;
121 int m_requestCount{0};
122 bool m_requestCountHasBeenSet =
false;
124 int m_sampledCount{0};
125 bool m_sampledCountHasBeenSet =
false;
127 int m_borrowCount{0};
128 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