7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mailmanager/model/Rule.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename RuleSetIdT = Aws::String>
44 void SetRuleSetId(RuleSetIdT&& value) { m_ruleSetIdHasBeenSet =
true; m_ruleSetId = std::forward<RuleSetIdT>(value); }
45 template<
typename RuleSetIdT = Aws::String>
54 template<
typename RuleSetArnT = Aws::String>
55 void SetRuleSetArn(RuleSetArnT&& value) { m_ruleSetArnHasBeenSet =
true; m_ruleSetArn = std::forward<RuleSetArnT>(value); }
56 template<
typename RuleSetArnT = Aws::String>
65 template<
typename RuleSetNameT = Aws::String>
66 void SetRuleSetName(RuleSetNameT&& value) { m_ruleSetNameHasBeenSet =
true; m_ruleSetName = std::forward<RuleSetNameT>(value); }
67 template<
typename RuleSetNameT = Aws::String>
76 template<
typename CreatedDateT = Aws::Utils::DateTime>
77 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
78 template<
typename CreatedDateT = Aws::Utils::DateTime>
87 template<
typename LastModificationDateT = Aws::Utils::DateTime>
88 void SetLastModificationDate(LastModificationDateT&& value) { m_lastModificationDateHasBeenSet =
true; m_lastModificationDate = std::forward<LastModificationDateT>(value); }
89 template<
typename LastModificationDateT = Aws::Utils::DateTime>
98 template<
typename RulesT = Aws::Vector<Rule>>
99 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
100 template<
typename RulesT = Aws::Vector<Rule>>
102 template<
typename RulesT = Rule>
103 GetRuleSetResult&
AddRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules.emplace_back(std::forward<RulesT>(value));
return *
this; }
109 template<
typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
111 template<
typename RequestIdT = Aws::String>
117 bool m_ruleSetIdHasBeenSet =
false;
120 bool m_ruleSetArnHasBeenSet =
false;
123 bool m_ruleSetNameHasBeenSet =
false;
126 bool m_createdDateHasBeenSet =
false;
129 bool m_lastModificationDateHasBeenSet =
false;
132 bool m_rulesHasBeenSet =
false;
135 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