7#include <aws/core/http/HttpResponse.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/MailManager_EXPORTS.h>
12#include <aws/mailmanager/model/Rule.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace MailManager {
38 template <
typename RuleSetIdT = Aws::String>
40 m_ruleSetIdHasBeenSet =
true;
41 m_ruleSetId = std::forward<RuleSetIdT>(value);
43 template <
typename RuleSetIdT = Aws::String>
55 template <
typename RuleSetArnT = Aws::String>
57 m_ruleSetArnHasBeenSet =
true;
58 m_ruleSetArn = std::forward<RuleSetArnT>(value);
60 template <
typename RuleSetArnT = Aws::String>
72 template <
typename RuleSetNameT = Aws::String>
74 m_ruleSetNameHasBeenSet =
true;
75 m_ruleSetName = std::forward<RuleSetNameT>(value);
77 template <
typename RuleSetNameT = Aws::String>
89 template <
typename CreatedDateT = Aws::Utils::DateTime>
91 m_createdDateHasBeenSet =
true;
92 m_createdDate = std::forward<CreatedDateT>(value);
94 template <
typename CreatedDateT = Aws::Utils::DateTime>
106 template <
typename LastModificationDateT = Aws::Utils::DateTime>
108 m_lastModificationDateHasBeenSet =
true;
109 m_lastModificationDate = std::forward<LastModificationDateT>(value);
111 template <
typename LastModificationDateT = Aws::Utils::DateTime>
123 template <
typename RulesT = Aws::Vector<Rule>>
125 m_rulesHasBeenSet =
true;
126 m_rules = std::forward<RulesT>(value);
128 template <
typename RulesT = Aws::Vector<Rule>>
130 SetRules(std::forward<RulesT>(value));
133 template <
typename RulesT = Rule>
135 m_rulesHasBeenSet =
true;
136 m_rules.emplace_back(std::forward<RulesT>(value));
144 template <
typename RequestIdT = Aws::String>
146 m_requestIdHasBeenSet =
true;
147 m_requestId = std::forward<RequestIdT>(value);
149 template <
typename RequestIdT = Aws::String>
172 bool m_ruleSetIdHasBeenSet =
false;
173 bool m_ruleSetArnHasBeenSet =
false;
174 bool m_ruleSetNameHasBeenSet =
false;
175 bool m_createdDateHasBeenSet =
false;
176 bool m_lastModificationDateHasBeenSet =
false;
177 bool m_rulesHasBeenSet =
false;
178 bool m_requestIdHasBeenSet =
false;
void SetRuleSetName(RuleSetNameT &&value)
GetRuleSetResult & AddRules(RulesT &&value)
GetRuleSetResult & WithRuleSetId(RuleSetIdT &&value)
const Aws::String & GetRuleSetId() const
GetRuleSetResult & WithRuleSetArn(RuleSetArnT &&value)
const Aws::String & GetRuleSetArn() const
GetRuleSetResult & WithCreatedDate(CreatedDateT &&value)
const Aws::String & GetRequestId() const
AWS_MAILMANAGER_API GetRuleSetResult()=default
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::Vector< Rule > & GetRules() const
GetRuleSetResult & WithRequestId(RequestIdT &&value)
GetRuleSetResult & WithRuleSetName(RuleSetNameT &&value)
AWS_MAILMANAGER_API GetRuleSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetLastModificationDate(LastModificationDateT &&value)
GetRuleSetResult & WithRules(RulesT &&value)
void SetRuleSetArn(RuleSetArnT &&value)
void SetRuleSetId(RuleSetIdT &&value)
void SetRules(RulesT &&value)
AWS_MAILMANAGER_API GetRuleSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRuleSetResult & WithLastModificationDate(LastModificationDateT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRuleSetName() const
const Aws::Utils::DateTime & GetLastModificationDate() const
void SetCreatedDate(CreatedDateT &&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