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/RuleVerdictAttribute.h>
20namespace MailManager {
34 AWS_MAILMANAGER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 m_attributeHasBeenSet =
true;
59 template <
typename AnalysisT = Analysis>
61 m_analysisHasBeenSet =
true;
62 m_analysis = std::forward<AnalysisT>(value);
64 template <
typename AnalysisT = Analysis>
74 bool m_attributeHasBeenSet =
false;
75 bool m_analysisHasBeenSet =
false;
const Analysis & GetAnalysis() const
RuleVerdictToEvaluate & WithAttribute(RuleVerdictAttribute value)
bool AttributeHasBeenSet() const
AWS_MAILMANAGER_API RuleVerdictToEvaluate(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetAttribute(RuleVerdictAttribute value)
RuleVerdictToEvaluate & WithAnalysis(AnalysisT &&value)
RuleVerdictAttribute GetAttribute() const
AWS_MAILMANAGER_API RuleVerdictToEvaluate & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetAnalysis(AnalysisT &&value)
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_MAILMANAGER_API RuleVerdictToEvaluate()=default
bool AnalysisHasBeenSet() const