AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ConfidenceInterval.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace BedrockAgentCore {
17namespace Model {
18
26 public:
27 AWS_BEDROCKAGENTCORE_API ConfidenceInterval() = default;
28 AWS_BEDROCKAGENTCORE_API ConfidenceInterval(Aws::Utils::Json::JsonView jsonValue);
29 AWS_BEDROCKAGENTCORE_API ConfidenceInterval& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline double GetLower() const { return m_lower; }
37 inline bool LowerHasBeenSet() const { return m_lowerHasBeenSet; }
38 inline void SetLower(double value) {
39 m_lowerHasBeenSet = true;
40 m_lower = value;
41 }
42 inline ConfidenceInterval& WithLower(double value) {
43 SetLower(value);
44 return *this;
45 }
47
49
52 inline double GetUpper() const { return m_upper; }
53 inline bool UpperHasBeenSet() const { return m_upperHasBeenSet; }
54 inline void SetUpper(double value) {
55 m_upperHasBeenSet = true;
56 m_upper = value;
57 }
58 inline ConfidenceInterval& WithUpper(double value) {
59 SetUpper(value);
60 return *this;
61 }
63 private:
64 double m_lower{0.0};
65
66 double m_upper{0.0};
67 bool m_lowerHasBeenSet = false;
68 bool m_upperHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace BedrockAgentCore
73} // namespace Aws
ConfidenceInterval & WithLower(double value)
ConfidenceInterval & WithUpper(double value)
AWS_BEDROCKAGENTCORE_API ConfidenceInterval(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API ConfidenceInterval & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API ConfidenceInterval()=default
Aws::Utils::Json::JsonValue JsonValue