7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/Macie2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/macie2/model/AllowListCriteria.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
45 template<
typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<
typename ClientTokenT = Aws::String>
60 template<
typename CriteriaT = AllowListCriteria>
61 void SetCriteria(CriteriaT&& value) { m_criteriaHasBeenSet =
true; m_criteria = std::forward<CriteriaT>(value); }
62 template<
typename CriteriaT = AllowListCriteria>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
86 template<
typename NameT = Aws::String>
87 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
88 template<
typename NameT = Aws::String>
101 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
102 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
103 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
105 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
107 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
113 bool m_clientTokenHasBeenSet =
true;
115 AllowListCriteria m_criteria;
116 bool m_criteriaHasBeenSet =
false;
119 bool m_descriptionHasBeenSet =
false;
122 bool m_nameHasBeenSet =
false;
125 bool m_tagsHasBeenSet =
false;
CreateAllowListRequest & WithCriteria(CriteriaT &&value)
bool NameHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateAllowListRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
AWS_MACIE2_API Aws::String SerializePayload() const override
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetCriteria(CriteriaT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ClientTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool CriteriaHasBeenSet() const
const Aws::String & GetName() const
AWS_MACIE2_API CreateAllowListRequest()=default
const Aws::String & GetDescription() const
CreateAllowListRequest & WithTags(TagsT &&value)
const AllowListCriteria & GetCriteria() const
void SetClientToken(ClientTokenT &&value)
CreateAllowListRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateAllowListRequest & WithDescription(DescriptionT &&value)
CreateAllowListRequest & WithName(NameT &&value)
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String