AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ProbabilisticRuleValueUpdate.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace XRay
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_XRAY_API ProbabilisticRuleValueUpdate() = default;
37
38
40
44 inline double GetDesiredSamplingPercentage() const { return m_desiredSamplingPercentage; }
45 inline bool DesiredSamplingPercentageHasBeenSet() const { return m_desiredSamplingPercentageHasBeenSet; }
46 inline void SetDesiredSamplingPercentage(double value) { m_desiredSamplingPercentageHasBeenSet = true; m_desiredSamplingPercentage = value; }
49 private:
50
51 double m_desiredSamplingPercentage{0.0};
52 bool m_desiredSamplingPercentageHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace XRay
57} // namespace Aws
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_XRAY_API ProbabilisticRuleValueUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_XRAY_API ProbabilisticRuleValueUpdate()=default
ProbabilisticRuleValueUpdate & WithDesiredSamplingPercentage(double value)
AWS_XRAY_API ProbabilisticRuleValueUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue