AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
LongCondition.h
1
6#pragma once
7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/backupsearch/model/LongConditionOperator.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 BackupSearch
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BACKUPSEARCH_API LongCondition() = default;
36 AWS_BACKUPSEARCH_API LongCondition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BACKUPSEARCH_API LongCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetValue() const { return m_value; }
46 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
47 inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; }
48 inline LongCondition& WithValue(long long value) { SetValue(value); return *this;}
50
52
59 inline LongConditionOperator GetOperator() const { return m_operator; }
60 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
61 inline void SetOperator(LongConditionOperator value) { m_operatorHasBeenSet = true; m_operator = value; }
62 inline LongCondition& WithOperator(LongConditionOperator value) { SetOperator(value); return *this;}
64 private:
65
66 long long m_value{0};
67 bool m_valueHasBeenSet = false;
68
70 bool m_operatorHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace BackupSearch
75} // namespace Aws
AWS_BACKUPSEARCH_API LongCondition(Aws::Utils::Json::JsonView jsonValue)
LongConditionOperator GetOperator() const
AWS_BACKUPSEARCH_API LongCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUPSEARCH_API LongCondition()=default
LongCondition & WithValue(long long value)
void SetOperator(LongConditionOperator value)
LongCondition & WithOperator(LongConditionOperator value)
Aws::Utils::Json::JsonValue JsonValue