AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
48 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
49 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
50 inline Threshold& WithValue(const Aws::String& value) { SetValue(value); return *this;}
51 inline Threshold& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
52 inline Threshold& WithValue(const char* value) { SetValue(value); return *this;}
54
56
59 inline const Operator& GetOperator() const{ return m_operator; }
60 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
61 inline void SetOperator(const Operator& value) { m_operatorHasBeenSet = true; m_operator = value; }
62 inline void SetOperator(Operator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
63 inline Threshold& WithOperator(const Operator& value) { SetOperator(value); return *this;}
64 inline Threshold& WithOperator(Operator&& value) { SetOperator(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_value;
69 bool m_valueHasBeenSet = false;
70
71 Operator m_operator;
72 bool m_operatorHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CustomerProfiles
77} // namespace Aws
const Operator & GetOperator() const
Definition Threshold.h:59
void SetValue(Aws::String &&value)
Definition Threshold.h:48
void SetValue(const Aws::String &value)
Definition Threshold.h:47
AWS_CUSTOMERPROFILES_API Threshold(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const char *value)
Definition Threshold.h:49
void SetOperator(const Operator &value)
Definition Threshold.h:61
AWS_CUSTOMERPROFILES_API Threshold()
Threshold & WithValue(const char *value)
Definition Threshold.h:52
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetValue() const
Definition Threshold.h:45
Threshold & WithValue(Aws::String &&value)
Definition Threshold.h:51
Threshold & WithValue(const Aws::String &value)
Definition Threshold.h:50
AWS_CUSTOMERPROFILES_API Threshold & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOperator(Operator &&value)
Definition Threshold.h:62
Threshold & WithOperator(Operator &&value)
Definition Threshold.h:64
Threshold & WithOperator(const Operator &value)
Definition Threshold.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue