AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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