7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
51 inline void SetRuleName(
const char* value) { m_ruleNameHasBeenSet =
true; m_ruleName.assign(value); }
66 inline void SetRuleARN(
const char* value) { m_ruleARNHasBeenSet =
true; m_ruleARN.assign(value); }
81 inline void SetResourceARN(
const char* value) { m_resourceARNHasBeenSet =
true; m_resourceARN.assign(value); }
93 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
104 inline void SetFixedRate(
double value) { m_fixedRateHasBeenSet =
true; m_fixedRate = value; }
116 inline void SetReservoirSize(
int value) { m_reservoirSizeHasBeenSet =
true; m_reservoirSize = value; }
128 inline void SetHost(
const char* value) { m_hostHasBeenSet =
true; m_host.assign(value); }
143 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
158 inline void SetServiceType(
const char* value) { m_serviceTypeHasBeenSet =
true; m_serviceType.assign(value); }
172 inline void SetHTTPMethod(
const char* value) { m_hTTPMethodHasBeenSet =
true; m_hTTPMethod.assign(value); }
186 inline void SetURLPath(
const char* value) { m_uRLPathHasBeenSet =
true; m_uRLPath.assign(value); }
213 bool m_ruleNameHasBeenSet =
false;
216 bool m_ruleARNHasBeenSet =
false;
219 bool m_resourceARNHasBeenSet =
false;
222 bool m_priorityHasBeenSet =
false;
225 bool m_fixedRateHasBeenSet =
false;
228 bool m_reservoirSizeHasBeenSet =
false;
231 bool m_hostHasBeenSet =
false;
234 bool m_serviceNameHasBeenSet =
false;
237 bool m_serviceTypeHasBeenSet =
false;
240 bool m_hTTPMethodHasBeenSet =
false;
243 bool m_uRLPathHasBeenSet =
false;
246 bool m_attributesHasBeenSet =
false;
void SetURLPath(const Aws::String &value)
SamplingRuleUpdate & WithFixedRate(double value)
SamplingRuleUpdate & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SamplingRuleUpdate & WithResourceARN(Aws::String &&value)
void SetResourceARN(const char *value)
const Aws::String & GetServiceName() const
void SetResourceARN(Aws::String &&value)
void SetHost(const char *value)
void SetRuleName(Aws::String &&value)
SamplingRuleUpdate & WithServiceName(const char *value)
void SetRuleName(const Aws::String &value)
SamplingRuleUpdate & WithRuleName(Aws::String &&value)
SamplingRuleUpdate & AddAttributes(const char *key, Aws::String &&value)
bool HostHasBeenSet() const
SamplingRuleUpdate & WithHTTPMethod(const char *value)
bool ReservoirSizeHasBeenSet() const
void SetServiceType(const Aws::String &value)
SamplingRuleUpdate & WithServiceType(const char *value)
void SetHTTPMethod(const char *value)
SamplingRuleUpdate & AddAttributes(const Aws::String &key, const Aws::String &value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool RuleARNHasBeenSet() const
const Aws::String & GetHTTPMethod() const
SamplingRuleUpdate & WithHTTPMethod(const Aws::String &value)
SamplingRuleUpdate & WithRuleARN(const char *value)
void SetHTTPMethod(Aws::String &&value)
SamplingRuleUpdate & WithHost(const Aws::String &value)
SamplingRuleUpdate & AddAttributes(Aws::String &&key, const Aws::String &value)
const Aws::String & GetURLPath() const
void SetHost(const Aws::String &value)
void SetResourceARN(const Aws::String &value)
SamplingRuleUpdate & WithRuleARN(Aws::String &&value)
bool ServiceNameHasBeenSet() const
SamplingRuleUpdate & WithResourceARN(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
bool FixedRateHasBeenSet() const
void SetServiceName(Aws::String &&value)
AWS_XRAY_API SamplingRuleUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HTTPMethodHasBeenSet() const
SamplingRuleUpdate & AddAttributes(Aws::String &&key, const char *value)
SamplingRuleUpdate & AddAttributes(Aws::String &&key, Aws::String &&value)
bool URLPathHasBeenSet() const
SamplingRuleUpdate & WithPriority(int value)
const Aws::String & GetHost() const
bool RuleNameHasBeenSet() const
SamplingRuleUpdate & WithHost(const char *value)
bool ResourceARNHasBeenSet() const
void SetRuleName(const char *value)
void SetServiceName(const char *value)
SamplingRuleUpdate & WithRuleARN(const Aws::String &value)
AWS_XRAY_API SamplingRuleUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetServiceName(const Aws::String &value)
SamplingRuleUpdate & WithHTTPMethod(Aws::String &&value)
void SetHost(Aws::String &&value)
void SetFixedRate(double value)
SamplingRuleUpdate & AddAttributes(const Aws::String &key, Aws::String &&value)
SamplingRuleUpdate & WithServiceType(const Aws::String &value)
bool PriorityHasBeenSet() const
SamplingRuleUpdate & WithURLPath(const char *value)
void SetURLPath(const char *value)
void SetRuleARN(Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
bool ServiceTypeHasBeenSet() const
SamplingRuleUpdate & WithRuleName(const char *value)
const Aws::String & GetResourceARN() const
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SamplingRuleUpdate & AddAttributes(const char *key, const char *value)
AWS_XRAY_API SamplingRuleUpdate()
SamplingRuleUpdate & WithReservoirSize(int value)
SamplingRuleUpdate & WithURLPath(const Aws::String &value)
SamplingRuleUpdate & WithRuleName(const Aws::String &value)
void SetReservoirSize(int value)
int GetReservoirSize() const
void SetServiceType(const char *value)
double GetFixedRate() const
SamplingRuleUpdate & WithResourceARN(const char *value)
SamplingRuleUpdate & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
SamplingRuleUpdate & WithServiceName(const Aws::String &value)
void SetServiceType(Aws::String &&value)
void SetPriority(int value)
void SetHTTPMethod(const Aws::String &value)
void SetURLPath(Aws::String &&value)
const Aws::String & GetServiceType() const
SamplingRuleUpdate & WithURLPath(Aws::String &&value)
const Aws::String & GetRuleName() const
SamplingRuleUpdate & WithHost(Aws::String &&value)
SamplingRuleUpdate & WithServiceType(Aws::String &&value)
SamplingRuleUpdate & WithServiceName(Aws::String &&value)
bool AttributesHasBeenSet() const
void SetRuleARN(const Aws::String &value)
void SetRuleARN(const char *value)
const Aws::String & GetRuleARN() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue