AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleStringToEvaluate.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/RuleStringEmailAttribute.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MailManager
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MAILMANAGER_API RuleStringToEvaluate();
37 AWS_MAILMANAGER_API RuleStringToEvaluate(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RuleStringEmailAttribute& GetAttribute() const{ return m_attribute; }
47 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
48 inline void SetAttribute(const RuleStringEmailAttribute& value) { m_attributeHasBeenSet = true; m_attribute = value; }
49 inline void SetAttribute(RuleStringEmailAttribute&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
50 inline RuleStringToEvaluate& WithAttribute(const RuleStringEmailAttribute& value) { SetAttribute(value); return *this;}
51 inline RuleStringToEvaluate& WithAttribute(RuleStringEmailAttribute&& value) { SetAttribute(std::move(value)); return *this;}
53
55
59 inline const Aws::String& GetMimeHeaderAttribute() const{ return m_mimeHeaderAttribute; }
60 inline bool MimeHeaderAttributeHasBeenSet() const { return m_mimeHeaderAttributeHasBeenSet; }
61 inline void SetMimeHeaderAttribute(const Aws::String& value) { m_mimeHeaderAttributeHasBeenSet = true; m_mimeHeaderAttribute = value; }
62 inline void SetMimeHeaderAttribute(Aws::String&& value) { m_mimeHeaderAttributeHasBeenSet = true; m_mimeHeaderAttribute = std::move(value); }
63 inline void SetMimeHeaderAttribute(const char* value) { m_mimeHeaderAttributeHasBeenSet = true; m_mimeHeaderAttribute.assign(value); }
65 inline RuleStringToEvaluate& WithMimeHeaderAttribute(Aws::String&& value) { SetMimeHeaderAttribute(std::move(value)); return *this;}
66 inline RuleStringToEvaluate& WithMimeHeaderAttribute(const char* value) { SetMimeHeaderAttribute(value); return *this;}
68 private:
69
70 RuleStringEmailAttribute m_attribute;
71 bool m_attributeHasBeenSet = false;
72
73 Aws::String m_mimeHeaderAttribute;
74 bool m_mimeHeaderAttributeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace MailManager
79} // namespace Aws
RuleStringToEvaluate & WithMimeHeaderAttribute(Aws::String &&value)
void SetAttribute(const RuleStringEmailAttribute &value)
RuleStringToEvaluate & WithMimeHeaderAttribute(const Aws::String &value)
void SetAttribute(RuleStringEmailAttribute &&value)
AWS_MAILMANAGER_API RuleStringToEvaluate(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMimeHeaderAttribute(const Aws::String &value)
const RuleStringEmailAttribute & GetAttribute() const
RuleStringToEvaluate & WithAttribute(const RuleStringEmailAttribute &value)
RuleStringToEvaluate & WithAttribute(RuleStringEmailAttribute &&value)
RuleStringToEvaluate & WithMimeHeaderAttribute(const char *value)
AWS_MAILMANAGER_API RuleStringToEvaluate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue