AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRuleSetResult.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mailmanager/model/Rule.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace MailManager
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MAILMANAGER_API GetRuleSetResult();
36
37
39
42 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
43 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
44 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
45 inline GetRuleSetResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
46 inline GetRuleSetResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
48
50
53 inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; }
54 inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDate = value; }
55 inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDate = std::move(value); }
59
61
64 inline const Aws::String& GetRuleSetArn() const{ return m_ruleSetArn; }
65 inline void SetRuleSetArn(const Aws::String& value) { m_ruleSetArn = value; }
66 inline void SetRuleSetArn(Aws::String&& value) { m_ruleSetArn = std::move(value); }
67 inline void SetRuleSetArn(const char* value) { m_ruleSetArn.assign(value); }
68 inline GetRuleSetResult& WithRuleSetArn(const Aws::String& value) { SetRuleSetArn(value); return *this;}
69 inline GetRuleSetResult& WithRuleSetArn(Aws::String&& value) { SetRuleSetArn(std::move(value)); return *this;}
70 inline GetRuleSetResult& WithRuleSetArn(const char* value) { SetRuleSetArn(value); return *this;}
72
74
77 inline const Aws::String& GetRuleSetId() const{ return m_ruleSetId; }
78 inline void SetRuleSetId(const Aws::String& value) { m_ruleSetId = value; }
79 inline void SetRuleSetId(Aws::String&& value) { m_ruleSetId = std::move(value); }
80 inline void SetRuleSetId(const char* value) { m_ruleSetId.assign(value); }
81 inline GetRuleSetResult& WithRuleSetId(const Aws::String& value) { SetRuleSetId(value); return *this;}
82 inline GetRuleSetResult& WithRuleSetId(Aws::String&& value) { SetRuleSetId(std::move(value)); return *this;}
83 inline GetRuleSetResult& WithRuleSetId(const char* value) { SetRuleSetId(value); return *this;}
85
87
90 inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
91 inline void SetRuleSetName(const Aws::String& value) { m_ruleSetName = value; }
92 inline void SetRuleSetName(Aws::String&& value) { m_ruleSetName = std::move(value); }
93 inline void SetRuleSetName(const char* value) { m_ruleSetName.assign(value); }
94 inline GetRuleSetResult& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
95 inline GetRuleSetResult& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
96 inline GetRuleSetResult& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
98
100
103 inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
104 inline void SetRules(const Aws::Vector<Rule>& value) { m_rules = value; }
105 inline void SetRules(Aws::Vector<Rule>&& value) { m_rules = std::move(value); }
106 inline GetRuleSetResult& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
107 inline GetRuleSetResult& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
108 inline GetRuleSetResult& AddRules(const Rule& value) { m_rules.push_back(value); return *this; }
109 inline GetRuleSetResult& AddRules(Rule&& value) { m_rules.push_back(std::move(value)); return *this; }
111
113
114 inline const Aws::String& GetRequestId() const{ return m_requestId; }
115 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
116 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
117 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
118 inline GetRuleSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
119 inline GetRuleSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
120 inline GetRuleSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
122 private:
123
124 Aws::Utils::DateTime m_createdDate;
125
126 Aws::Utils::DateTime m_lastModificationDate;
127
128 Aws::String m_ruleSetArn;
129
130 Aws::String m_ruleSetId;
131
132 Aws::String m_ruleSetName;
133
134 Aws::Vector<Rule> m_rules;
135
136 Aws::String m_requestId;
137 };
138
139} // namespace Model
140} // namespace MailManager
141} // namespace Aws
GetRuleSetResult & WithRequestId(const char *value)
const Aws::String & GetRuleSetId() const
GetRuleSetResult & WithRuleSetArn(const char *value)
void SetRuleSetName(const Aws::String &value)
void SetLastModificationDate(const Aws::Utils::DateTime &value)
GetRuleSetResult & WithRuleSetName(Aws::String &&value)
GetRuleSetResult & WithRuleSetId(const char *value)
GetRuleSetResult & WithLastModificationDate(Aws::Utils::DateTime &&value)
const Aws::String & GetRuleSetArn() const
GetRuleSetResult & WithRequestId(const Aws::String &value)
GetRuleSetResult & WithRuleSetArn(Aws::String &&value)
GetRuleSetResult & AddRules(const Rule &value)
void SetLastModificationDate(Aws::Utils::DateTime &&value)
GetRuleSetResult & WithRuleSetId(const Aws::String &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
GetRuleSetResult & WithRuleSetArn(const Aws::String &value)
void SetRuleSetArn(const Aws::String &value)
GetRuleSetResult & WithRuleSetName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedDate() const
GetRuleSetResult & WithRules(const Aws::Vector< Rule > &value)
void SetRules(const Aws::Vector< Rule > &value)
const Aws::Vector< Rule > & GetRules() const
GetRuleSetResult & WithLastModificationDate(const Aws::Utils::DateTime &value)
AWS_MAILMANAGER_API GetRuleSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRules(Aws::Vector< Rule > &&value)
GetRuleSetResult & WithRuleSetName(const char *value)
GetRuleSetResult & WithRequestId(Aws::String &&value)
GetRuleSetResult & AddRules(Rule &&value)
AWS_MAILMANAGER_API GetRuleSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRuleSetResult & WithRules(Aws::Vector< Rule > &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
GetRuleSetResult & WithCreatedDate(Aws::Utils::DateTime &&value)
GetRuleSetResult & WithRuleSetId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRuleSetName() const
const Aws::Utils::DateTime & GetLastModificationDate() const
void SetRuleSetId(const Aws::String &value)
GetRuleSetResult & WithCreatedDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue