AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThresholdV2.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECT_API ThresholdV2();
36 AWS_CONNECT_API ThresholdV2(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetComparison() const{ return m_comparison; }
47 inline bool ComparisonHasBeenSet() const { return m_comparisonHasBeenSet; }
48 inline void SetComparison(const Aws::String& value) { m_comparisonHasBeenSet = true; m_comparison = value; }
49 inline void SetComparison(Aws::String&& value) { m_comparisonHasBeenSet = true; m_comparison = std::move(value); }
50 inline void SetComparison(const char* value) { m_comparisonHasBeenSet = true; m_comparison.assign(value); }
51 inline ThresholdV2& WithComparison(const Aws::String& value) { SetComparison(value); return *this;}
52 inline ThresholdV2& WithComparison(Aws::String&& value) { SetComparison(std::move(value)); return *this;}
53 inline ThresholdV2& WithComparison(const char* value) { SetComparison(value); return *this;}
55
57
60 inline double GetThresholdValue() const{ return m_thresholdValue; }
61 inline bool ThresholdValueHasBeenSet() const { return m_thresholdValueHasBeenSet; }
62 inline void SetThresholdValue(double value) { m_thresholdValueHasBeenSet = true; m_thresholdValue = value; }
63 inline ThresholdV2& WithThresholdValue(double value) { SetThresholdValue(value); return *this;}
65 private:
66
67 Aws::String m_comparison;
68 bool m_comparisonHasBeenSet = false;
69
70 double m_thresholdValue;
71 bool m_thresholdValueHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Connect
76} // namespace Aws
AWS_CONNECT_API ThresholdV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetThresholdValue(double value)
Definition ThresholdV2.h:62
void SetComparison(const char *value)
Definition ThresholdV2.h:50
void SetComparison(const Aws::String &value)
Definition ThresholdV2.h:48
ThresholdV2 & WithThresholdValue(double value)
Definition ThresholdV2.h:63
AWS_CONNECT_API ThresholdV2(Aws::Utils::Json::JsonView jsonValue)
void SetComparison(Aws::String &&value)
Definition ThresholdV2.h:49
const Aws::String & GetComparison() const
Definition ThresholdV2.h:46
ThresholdV2 & WithComparison(const Aws::String &value)
Definition ThresholdV2.h:51
ThresholdV2 & WithComparison(Aws::String &&value)
Definition ThresholdV2.h:52
ThresholdV2 & WithComparison(const char *value)
Definition ThresholdV2.h:53
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue