7#include <aws/crt/cbor/Cbor.h>
8#include <aws/mailmanager/MailManager_EXPORTS.h>
9#include <aws/mailmanager/model/Analysis.h>
10#include <aws/mailmanager/model/RuleBooleanEmailAttribute.h>
11#include <aws/mailmanager/model/RuleIsInAddressList.h>
21namespace MailManager {
35 AWS_MAILMANAGER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 m_attributeHasBeenSet =
true;
60 template <
typename AnalysisT = Analysis>
62 m_analysisHasBeenSet =
true;
63 m_analysis = std::forward<AnalysisT>(value);
65 template <
typename AnalysisT = Analysis>
79 template <
typename IsInAddressListT = RuleIsInAddressList>
81 m_isInAddressListHasBeenSet =
true;
82 m_isInAddressList = std::forward<IsInAddressListT>(value);
84 template <
typename IsInAddressListT = RuleIsInAddressList>
95 RuleIsInAddressList m_isInAddressList;
96 bool m_attributeHasBeenSet =
false;
97 bool m_analysisHasBeenSet =
false;
98 bool m_isInAddressListHasBeenSet =
false;
const Analysis & GetAnalysis() const
void SetAnalysis(AnalysisT &&value)
bool IsInAddressListHasBeenSet() const
void SetIsInAddressList(IsInAddressListT &&value)
void SetAttribute(RuleBooleanEmailAttribute value)
const RuleIsInAddressList & GetIsInAddressList() const
RuleBooleanToEvaluate & WithAnalysis(AnalysisT &&value)
RuleBooleanToEvaluate & WithAttribute(RuleBooleanEmailAttribute value)
AWS_MAILMANAGER_API RuleBooleanToEvaluate(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
RuleBooleanToEvaluate & WithIsInAddressList(IsInAddressListT &&value)
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_MAILMANAGER_API RuleBooleanToEvaluate()=default
bool AnalysisHasBeenSet() const
AWS_MAILMANAGER_API RuleBooleanToEvaluate & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool AttributeHasBeenSet() const
RuleBooleanEmailAttribute GetAttribute() const
RuleBooleanEmailAttribute