7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mailmanager/MailManagerRequest.h>
11#include <aws/mailmanager/MailManager_EXPORTS.h>
12#include <aws/mailmanager/model/Rule.h>
13#include <aws/mailmanager/model/Tag.h>
18namespace MailManager {
44 template <
typename ClientTokenT = Aws::String>
46 m_clientTokenHasBeenSet =
true;
47 m_clientToken = std::forward<ClientTokenT>(value);
49 template <
typename ClientTokenT = Aws::String>
62 template <
typename RuleSetNameT = Aws::String>
64 m_ruleSetNameHasBeenSet =
true;
65 m_ruleSetName = std::forward<RuleSetNameT>(value);
67 template <
typename RuleSetNameT = Aws::String>
80 template <
typename RulesT = Aws::Vector<Rule>>
82 m_rulesHasBeenSet =
true;
83 m_rules = std::forward<RulesT>(value);
85 template <
typename RulesT = Aws::Vector<Rule>>
87 SetRules(std::forward<RulesT>(value));
90 template <
typename RulesT = Rule>
92 m_rulesHasBeenSet =
true;
93 m_rules.emplace_back(std::forward<RulesT>(value));
105 template <
typename TagsT = Aws::Vector<Tag>>
107 m_tagsHasBeenSet =
true;
108 m_tags = std::forward<TagsT>(value);
110 template <
typename TagsT = Aws::Vector<Tag>>
112 SetTags(std::forward<TagsT>(value));
115 template <
typename TagsT = Tag>
117 m_tagsHasBeenSet =
true;
118 m_tags.emplace_back(std::forward<TagsT>(value));
130 bool m_clientTokenHasBeenSet =
true;
131 bool m_ruleSetNameHasBeenSet =
false;
132 bool m_rulesHasBeenSet =
false;
133 bool m_tagsHasBeenSet =
false;
void SetRules(RulesT &&value)
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
CreateRuleSetRequest & WithTags(TagsT &&value)
AWS_MAILMANAGER_API CreateRuleSetRequest()=default
CreateRuleSetRequest & WithRules(RulesT &&value)
CreateRuleSetRequest & AddRules(RulesT &&value)
bool TagsHasBeenSet() const
CreateRuleSetRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
CreateRuleSetRequest & AddTags(TagsT &&value)
bool ClientTokenHasBeenSet() const
bool RuleSetNameHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetRuleSetName() const
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Tag > & GetTags() const
const Aws::Vector< Rule > & GetRules() const
void SetRuleSetName(RuleSetNameT &&value)
CreateRuleSetRequest & WithRuleSetName(RuleSetNameT &&value)
bool RulesHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector