7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mailmanager/MailManager_EXPORTS.h>
11#include <aws/mailmanager/model/Rule.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace MailManager {
37 template <
typename RuleSetIdT = Aws::String>
39 m_ruleSetIdHasBeenSet =
true;
40 m_ruleSetId = std::forward<RuleSetIdT>(value);
42 template <
typename RuleSetIdT = Aws::String>
54 template <
typename RuleSetArnT = Aws::String>
56 m_ruleSetArnHasBeenSet =
true;
57 m_ruleSetArn = std::forward<RuleSetArnT>(value);
59 template <
typename RuleSetArnT = Aws::String>
71 template <
typename RuleSetNameT = Aws::String>
73 m_ruleSetNameHasBeenSet =
true;
74 m_ruleSetName = std::forward<RuleSetNameT>(value);
76 template <
typename RuleSetNameT = Aws::String>
88 template <
typename CreatedDateT = Aws::Utils::DateTime>
90 m_createdDateHasBeenSet =
true;
91 m_createdDate = std::forward<CreatedDateT>(value);
93 template <
typename CreatedDateT = Aws::Utils::DateTime>
105 template <
typename LastModificationDateT = Aws::Utils::DateTime>
107 m_lastModificationDateHasBeenSet =
true;
108 m_lastModificationDate = std::forward<LastModificationDateT>(value);
110 template <
typename LastModificationDateT = Aws::Utils::DateTime>
122 template <
typename RulesT = Aws::Vector<Rule>>
124 m_rulesHasBeenSet =
true;
125 m_rules = std::forward<RulesT>(value);
127 template <
typename RulesT = Aws::Vector<Rule>>
129 SetRules(std::forward<RulesT>(value));
132 template <
typename RulesT = Rule>
134 m_rulesHasBeenSet =
true;
135 m_rules.emplace_back(std::forward<RulesT>(value));
143 template <
typename RequestIdT = Aws::String>
145 m_requestIdHasBeenSet =
true;
146 m_requestId = std::forward<RequestIdT>(value);
148 template <
typename RequestIdT = Aws::String>
168 bool m_ruleSetIdHasBeenSet =
false;
169 bool m_ruleSetArnHasBeenSet =
false;
170 bool m_ruleSetNameHasBeenSet =
false;
171 bool m_createdDateHasBeenSet =
false;
172 bool m_lastModificationDateHasBeenSet =
false;
173 bool m_rulesHasBeenSet =
false;
174 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)
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