AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleSet.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/DateTime.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
33 class RuleSet
34 {
35 public:
36 AWS_MAILMANAGER_API RuleSet();
37 AWS_MAILMANAGER_API RuleSet(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAILMANAGER_API RuleSet& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; }
47 inline bool LastModificationDateHasBeenSet() const { return m_lastModificationDateHasBeenSet; }
48 inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = value; }
49 inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = std::move(value); }
51 inline RuleSet& WithLastModificationDate(Aws::Utils::DateTime&& value) { SetLastModificationDate(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetRuleSetId() const{ return m_ruleSetId; }
59 inline bool RuleSetIdHasBeenSet() const { return m_ruleSetIdHasBeenSet; }
60 inline void SetRuleSetId(const Aws::String& value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId = value; }
61 inline void SetRuleSetId(Aws::String&& value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId = std::move(value); }
62 inline void SetRuleSetId(const char* value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId.assign(value); }
63 inline RuleSet& WithRuleSetId(const Aws::String& value) { SetRuleSetId(value); return *this;}
64 inline RuleSet& WithRuleSetId(Aws::String&& value) { SetRuleSetId(std::move(value)); return *this;}
65 inline RuleSet& WithRuleSetId(const char* value) { SetRuleSetId(value); return *this;}
67
69
72 inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
73 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
74 inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
75 inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
76 inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
77 inline RuleSet& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
78 inline RuleSet& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
79 inline RuleSet& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
81 private:
82
83 Aws::Utils::DateTime m_lastModificationDate;
84 bool m_lastModificationDateHasBeenSet = false;
85
86 Aws::String m_ruleSetId;
87 bool m_ruleSetIdHasBeenSet = false;
88
89 Aws::String m_ruleSetName;
90 bool m_ruleSetNameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace MailManager
95} // namespace Aws
const Aws::String & GetRuleSetId() const
Definition RuleSet.h:58
void SetLastModificationDate(const Aws::Utils::DateTime &value)
Definition RuleSet.h:48
void SetRuleSetName(const Aws::String &value)
Definition RuleSet.h:74
AWS_MAILMANAGER_API RuleSet()
RuleSet & WithLastModificationDate(const Aws::Utils::DateTime &value)
Definition RuleSet.h:50
AWS_MAILMANAGER_API RuleSet & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuleSetName(Aws::String &&value)
Definition RuleSet.h:75
RuleSet & WithLastModificationDate(Aws::Utils::DateTime &&value)
Definition RuleSet.h:51
RuleSet & WithRuleSetId(const Aws::String &value)
Definition RuleSet.h:63
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
RuleSet & WithRuleSetName(const char *value)
Definition RuleSet.h:79
RuleSet & WithRuleSetId(const char *value)
Definition RuleSet.h:65
void SetRuleSetId(const Aws::String &value)
Definition RuleSet.h:60
void SetLastModificationDate(Aws::Utils::DateTime &&value)
Definition RuleSet.h:49
RuleSet & WithRuleSetName(const Aws::String &value)
Definition RuleSet.h:77
const Aws::Utils::DateTime & GetLastModificationDate() const
Definition RuleSet.h:46
void SetRuleSetName(const char *value)
Definition RuleSet.h:76
AWS_MAILMANAGER_API RuleSet(Aws::Utils::Json::JsonView jsonValue)
void SetRuleSetId(const char *value)
Definition RuleSet.h:62
const Aws::String & GetRuleSetName() const
Definition RuleSet.h:72
RuleSet & WithRuleSetId(Aws::String &&value)
Definition RuleSet.h:64
RuleSet & WithRuleSetName(Aws::String &&value)
Definition RuleSet.h:78
void SetRuleSetId(Aws::String &&value)
Definition RuleSet.h:61
bool LastModificationDateHasBeenSet() const
Definition RuleSet.h:47
bool RuleSetNameHasBeenSet() const
Definition RuleSet.h:73
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue