7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/model/SamplingStrategyName.h>
57 inline double GetValue()
const{
return m_value; }
59 inline void SetValue(
double value) { m_valueHasBeenSet =
true; m_value = value; }
65 bool m_nameHasBeenSet =
false;
68 bool m_valueHasBeenSet =
false;
AWS_XRAY_API SamplingStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
SamplingStrategy & WithName(const SamplingStrategyName &value)
bool NameHasBeenSet() const
const SamplingStrategyName & GetName() const
void SetName(SamplingStrategyName &&value)
void SetValue(double value)
AWS_XRAY_API SamplingStrategy()
bool ValueHasBeenSet() const
void SetName(const SamplingStrategyName &value)
SamplingStrategy & WithName(SamplingStrategyName &&value)
AWS_XRAY_API SamplingStrategy(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
SamplingStrategy & WithValue(double value)
Aws::Utils::Json::JsonValue JsonValue