AWS SDK for C++

AWS SDK for C++ Version 1.11.847

Loading...
Searching...
No Matches
RuleIpToEvaluate.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/mailmanager/MailManager_EXPORTS.h>
9#include <aws/mailmanager/model/RuleIpEmailAttribute.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
28 public:
29 AWS_MAILMANAGER_API RuleIpToEvaluate() = default;
30 AWS_MAILMANAGER_API RuleIpToEvaluate(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_MAILMANAGER_API RuleIpToEvaluate& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
38 inline RuleIpEmailAttribute GetAttribute() const { return m_attribute; }
39 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
41 m_attributeHasBeenSet = true;
42 m_attribute = value;
43 }
45 SetAttribute(value);
46 return *this;
47 }
49 private:
51 bool m_attributeHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace MailManager
56} // namespace Aws
void SetAttribute(RuleIpEmailAttribute value)
AWS_MAILMANAGER_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_MAILMANAGER_API RuleIpToEvaluate()=default
AWS_MAILMANAGER_API RuleIpToEvaluate & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
RuleIpEmailAttribute GetAttribute() const
RuleIpToEvaluate & WithAttribute(RuleIpEmailAttribute value)
AWS_MAILMANAGER_API RuleIpToEvaluate(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)