AWS SDK for C++

AWS SDK for C++ Version 1.11.847

Loading...
Searching...
No Matches
RuleNumberToEvaluate.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/mailmanager/MailManager_EXPORTS.h>
9#include <aws/mailmanager/model/RuleNumberEmailAttribute.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace MailManager {
20namespace Model {
21
29 public:
30 AWS_MAILMANAGER_API RuleNumberToEvaluate() = default;
31 AWS_MAILMANAGER_API RuleNumberToEvaluate(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_MAILMANAGER_API RuleNumberToEvaluate& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
39 inline RuleNumberEmailAttribute GetAttribute() const { return m_attribute; }
40 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
42 m_attributeHasBeenSet = true;
43 m_attribute = value;
44 }
46 SetAttribute(value);
47 return *this;
48 }
50 private:
52 bool m_attributeHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace MailManager
57} // namespace Aws
RuleNumberToEvaluate & WithAttribute(RuleNumberEmailAttribute value)
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
RuleNumberEmailAttribute GetAttribute() const
AWS_MAILMANAGER_API RuleNumberToEvaluate(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetAttribute(RuleNumberEmailAttribute value)
AWS_MAILMANAGER_API RuleNumberToEvaluate()=default
AWS_MAILMANAGER_API RuleNumberToEvaluate & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)