7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/RuleDmarcOperator.h>
11#include <aws/mailmanager/model/RuleDmarcPolicy.h>
21namespace MailManager {
35 AWS_MAILMANAGER_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 m_operatorHasBeenSet =
true;
64 template <
typename ValuesT = Aws::Vector<RuleDmarcPolicy>>
66 m_valuesHasBeenSet =
true;
67 m_values = std::forward<ValuesT>(value);
69 template <
typename ValuesT = Aws::Vector<RuleDmarcPolicy>>
75 m_valuesHasBeenSet =
true;
76 m_values.push_back(value);
84 bool m_operatorHasBeenSet =
false;
85 bool m_valuesHasBeenSet =
false;
void SetValues(ValuesT &&value)
RuleDmarcExpression & WithValues(ValuesT &&value)
RuleDmarcOperator GetOperator() const
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_MAILMANAGER_API RuleDmarcExpression(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_MAILMANAGER_API RuleDmarcExpression()=default
void SetOperator(RuleDmarcOperator value)
RuleDmarcExpression & WithOperator(RuleDmarcOperator value)
RuleDmarcExpression & AddValues(RuleDmarcPolicy value)
AWS_MAILMANAGER_API RuleDmarcExpression & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ValuesHasBeenSet() const
const Aws::Vector< RuleDmarcPolicy > & GetValues() const
bool OperatorHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector