AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
IngressTlsProtocolExpression.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/IngressTlsProtocolAttribute.h>
9#include <aws/mailmanager/model/IngressTlsProtocolOperator.h>
10#include <aws/mailmanager/model/IngressTlsProtocolToEvaluate.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MailManager {
22namespace Model {
23
31 public:
32 AWS_MAILMANAGER_API IngressTlsProtocolExpression() = default;
35 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const IngressTlsProtocolToEvaluate& GetEvaluate() const { return m_evaluate; }
42 inline bool EvaluateHasBeenSet() const { return m_evaluateHasBeenSet; }
43 template <typename EvaluateT = IngressTlsProtocolToEvaluate>
44 void SetEvaluate(EvaluateT&& value) {
45 m_evaluateHasBeenSet = true;
46 m_evaluate = std::forward<EvaluateT>(value);
47 }
48 template <typename EvaluateT = IngressTlsProtocolToEvaluate>
50 SetEvaluate(std::forward<EvaluateT>(value));
51 return *this;
52 }
54
56
59 inline IngressTlsProtocolOperator 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
72
75 inline IngressTlsProtocolAttribute GetValue() const { return m_value; }
76 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
78 m_valueHasBeenSet = true;
79 m_value = value;
80 }
82 SetValue(value);
83 return *this;
84 }
86 private:
88
90
92 bool m_evaluateHasBeenSet = false;
93 bool m_operatorHasBeenSet = false;
94 bool m_valueHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace MailManager
99} // namespace Aws
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const IngressTlsProtocolToEvaluate & GetEvaluate() const
IngressTlsProtocolExpression & WithOperator(IngressTlsProtocolOperator value)
IngressTlsProtocolExpression & WithEvaluate(EvaluateT &&value)
AWS_MAILMANAGER_API IngressTlsProtocolExpression & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API IngressTlsProtocolExpression()=default
AWS_MAILMANAGER_API IngressTlsProtocolExpression(Aws::Utils::Json::JsonView jsonValue)
IngressTlsProtocolExpression & WithValue(IngressTlsProtocolAttribute value)
Aws::Utils::Json::JsonValue JsonValue