AWS SDK for C++

AWS SDK for C++ Version 1.11.847

Loading...
Searching...
No Matches
IngressTlsProtocolExpression.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/mailmanager/MailManager_EXPORTS.h>
9#include <aws/mailmanager/model/IngressTlsProtocolAttribute.h>
10#include <aws/mailmanager/model/IngressTlsProtocolOperator.h>
11#include <aws/mailmanager/model/IngressTlsProtocolToEvaluate.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace MailManager {
22namespace Model {
23
31 public:
32 AWS_MAILMANAGER_API IngressTlsProtocolExpression() = default;
33 AWS_MAILMANAGER_API IngressTlsProtocolExpression(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_MAILMANAGER_API IngressTlsProtocolExpression& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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 IngressTlsProtocolExpression(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const IngressTlsProtocolToEvaluate & GetEvaluate() const
IngressTlsProtocolExpression & WithOperator(IngressTlsProtocolOperator value)
IngressTlsProtocolExpression & WithEvaluate(EvaluateT &&value)
AWS_MAILMANAGER_API IngressTlsProtocolExpression()=default
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
IngressTlsProtocolExpression & WithValue(IngressTlsProtocolAttribute value)
AWS_MAILMANAGER_API IngressTlsProtocolExpression & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)