AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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