AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Threshold.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/Operator.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CustomerProfiles
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CUSTOMERPROFILES_API Threshold() = default;
36 AWS_CUSTOMERPROFILES_API Threshold(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CUSTOMERPROFILES_API Threshold& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetValue() const { return m_value; }
46 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
47 template<typename ValueT = Aws::String>
48 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
49 template<typename ValueT = Aws::String>
50 Threshold& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
52
54
57 inline Operator GetOperator() const { return m_operator; }
58 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
59 inline void SetOperator(Operator value) { m_operatorHasBeenSet = true; m_operator = value; }
60 inline Threshold& WithOperator(Operator value) { SetOperator(value); return *this;}
62 private:
63
64 Aws::String m_value;
65 bool m_valueHasBeenSet = false;
66
67 Operator m_operator{Operator::NOT_SET};
68 bool m_operatorHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace CustomerProfiles
73} // namespace Aws
Threshold & WithOperator(Operator value)
Definition Threshold.h:60
AWS_CUSTOMERPROFILES_API Threshold()=default
AWS_CUSTOMERPROFILES_API Threshold(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetValue() const
Definition Threshold.h:45
Threshold & WithValue(ValueT &&value)
Definition Threshold.h:50
AWS_CUSTOMERPROFILES_API Threshold & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue