AWS SDK for C++

AWS SDK for C++ Version 1.11.761

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BackupSearch {
20namespace Model {
21
29 public:
30 AWS_BACKUPSEARCH_API LongCondition() = default;
31 AWS_BACKUPSEARCH_API LongCondition(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BACKUPSEARCH_API LongCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline long long GetValue() const { return m_value; }
40 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
41 inline void SetValue(long long value) {
42 m_valueHasBeenSet = true;
43 m_value = value;
44 }
45 inline LongCondition& WithValue(long long value) {
46 SetValue(value);
47 return *this;
48 }
50
52
59 inline LongConditionOperator GetOperator() const { return m_operator; }
60 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
62 m_operatorHasBeenSet = true;
63 m_operator = value;
64 }
66 SetOperator(value);
67 return *this;
68 }
70 private:
71 long long m_value{0};
72
74 bool m_valueHasBeenSet = false;
75 bool m_operatorHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace BackupSearch
80} // 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