AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleBooleanExpression.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/RuleBooleanToEvaluate.h>
9#include <aws/mailmanager/model/RuleBooleanOperator.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 MailManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MAILMANAGER_API RuleBooleanExpression();
37 AWS_MAILMANAGER_API RuleBooleanExpression(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RuleBooleanToEvaluate& GetEvaluate() const{ return m_evaluate; }
47 inline bool EvaluateHasBeenSet() const { return m_evaluateHasBeenSet; }
48 inline void SetEvaluate(const RuleBooleanToEvaluate& value) { m_evaluateHasBeenSet = true; m_evaluate = value; }
49 inline void SetEvaluate(RuleBooleanToEvaluate&& value) { m_evaluateHasBeenSet = true; m_evaluate = std::move(value); }
50 inline RuleBooleanExpression& WithEvaluate(const RuleBooleanToEvaluate& value) { SetEvaluate(value); return *this;}
51 inline RuleBooleanExpression& WithEvaluate(RuleBooleanToEvaluate&& value) { SetEvaluate(std::move(value)); return *this;}
53
55
58 inline const RuleBooleanOperator& GetOperator() const{ return m_operator; }
59 inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; }
60 inline void SetOperator(const RuleBooleanOperator& value) { m_operatorHasBeenSet = true; m_operator = value; }
61 inline void SetOperator(RuleBooleanOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); }
62 inline RuleBooleanExpression& WithOperator(const RuleBooleanOperator& value) { SetOperator(value); return *this;}
63 inline RuleBooleanExpression& WithOperator(RuleBooleanOperator&& value) { SetOperator(std::move(value)); return *this;}
65 private:
66
67 RuleBooleanToEvaluate m_evaluate;
68 bool m_evaluateHasBeenSet = false;
69
70 RuleBooleanOperator m_operator;
71 bool m_operatorHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MailManager
76} // namespace Aws
RuleBooleanExpression & WithEvaluate(const RuleBooleanToEvaluate &value)
AWS_MAILMANAGER_API RuleBooleanExpression(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluate(RuleBooleanToEvaluate &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
RuleBooleanExpression & WithOperator(const RuleBooleanOperator &value)
AWS_MAILMANAGER_API RuleBooleanExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleBooleanExpression & WithEvaluate(RuleBooleanToEvaluate &&value)
const RuleBooleanOperator & GetOperator() const
void SetEvaluate(const RuleBooleanToEvaluate &value)
const RuleBooleanToEvaluate & GetEvaluate() const
void SetOperator(const RuleBooleanOperator &value)
RuleBooleanExpression & WithOperator(RuleBooleanOperator &&value)
Aws::Utils::Json::JsonValue JsonValue