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); }
66 inline void SetFixedRate(
double value) { m_fixedRateHasBeenSet =
true; m_fixedRate = value; }
76 inline void SetReservoirQuota(
int value) { m_reservoirQuotaHasBeenSet =
true; m_reservoirQuota = value; }
99 inline void SetInterval(
int value) { m_intervalHasBeenSet =
true; m_interval = value; }
105 bool m_ruleNameHasBeenSet =
false;
108 bool m_fixedRateHasBeenSet =
false;
110 int m_reservoirQuota;
111 bool m_reservoirQuotaHasBeenSet =
false;
114 bool m_reservoirQuotaTTLHasBeenSet =
false;
117 bool m_intervalHasBeenSet =
false;
AWS_XRAY_API SamplingTargetDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuleName(const char *value)
AWS_XRAY_API SamplingTargetDocument(Aws::Utils::Json::JsonView jsonValue)
SamplingTargetDocument & WithFixedRate(double value)
SamplingTargetDocument & WithReservoirQuota(int value)
SamplingTargetDocument & WithRuleName(Aws::String &&value)
void SetRuleName(const Aws::String &value)
void SetInterval(int value)
SamplingTargetDocument & WithReservoirQuotaTTL(const Aws::Utils::DateTime &value)
SamplingTargetDocument & WithReservoirQuotaTTL(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetReservoirQuotaTTL() const
AWS_XRAY_API SamplingTargetDocument()
SamplingTargetDocument & WithRuleName(const char *value)
const Aws::String & GetRuleName() const
SamplingTargetDocument & WithInterval(int value)
int GetReservoirQuota() const
SamplingTargetDocument & WithRuleName(const Aws::String &value)
void SetFixedRate(double value)
bool FixedRateHasBeenSet() const
void SetReservoirQuota(int value)
void SetRuleName(Aws::String &&value)
void SetReservoirQuotaTTL(Aws::Utils::DateTime &&value)
bool IntervalHasBeenSet() const
bool ReservoirQuotaHasBeenSet() const
void SetReservoirQuotaTTL(const Aws::Utils::DateTime &value)
bool RuleNameHasBeenSet() const
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
double GetFixedRate() const
bool ReservoirQuotaTTLHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue