7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/macie2/model/AllowListCriteria.h>
11#include <aws/macie2/model/AllowListStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
46 template<
typename ArnT = Aws::String>
56 template<
typename CreatedAtT = Aws::Utils::DateTime>
57 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
58 template<
typename CreatedAtT = Aws::Utils::DateTime>
70 template<
typename CriteriaT = AllowListCriteria>
71 void SetCriteria(CriteriaT&& value) { m_criteriaHasBeenSet =
true; m_criteria = std::forward<CriteriaT>(value); }
72 template<
typename CriteriaT = AllowListCriteria>
81 template<
typename DescriptionT = Aws::String>
82 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
83 template<
typename DescriptionT = Aws::String>
92 template<
typename IdT = Aws::String>
93 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
94 template<
typename IdT = Aws::String>
103 template<
typename NameT = Aws::String>
104 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
105 template<
typename NameT = Aws::String>
115 template<
typename StatusT = AllowListStatus>
116 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
117 template<
typename StatusT = AllowListStatus>
127 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
129 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
133 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
143 template<
typename UpdatedAtT = Aws::Utils::DateTime>
144 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
145 template<
typename UpdatedAtT = Aws::Utils::DateTime>
152 template<
typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
154 template<
typename RequestIdT = Aws::String>
160 bool m_arnHasBeenSet =
false;
163 bool m_createdAtHasBeenSet =
false;
165 AllowListCriteria m_criteria;
166 bool m_criteriaHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
172 bool m_idHasBeenSet =
false;
175 bool m_nameHasBeenSet =
false;
177 AllowListStatus m_status;
178 bool m_statusHasBeenSet =
false;
181 bool m_tagsHasBeenSet =
false;
184 bool m_updatedAtHasBeenSet =
false;
187 bool m_requestIdHasBeenSet =
false;
const AllowListCriteria & GetCriteria() const
const Aws::String & GetId() const
const Aws::String & GetDescription() const
GetAllowListResult & WithDescription(DescriptionT &&value)
void SetStatus(StatusT &&value)
GetAllowListResult & WithArn(ArnT &&value)
AWS_MACIE2_API GetAllowListResult()=default
GetAllowListResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_MACIE2_API GetAllowListResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(TagsT &&value)
const Aws::String & GetRequestId() const
GetAllowListResult & WithName(NameT &&value)
void SetRequestId(RequestIdT &&value)
GetAllowListResult & WithUpdatedAt(UpdatedAtT &&value)
void SetName(NameT &&value)
const Aws::String & GetName() const
GetAllowListResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetAllowListResult & WithId(IdT &&value)
void SetArn(ArnT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetAllowListResult & WithStatus(StatusT &&value)
const AllowListStatus & GetStatus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAllowListResult & WithCriteria(CriteriaT &&value)
void SetCriteria(CriteriaT &&value)
GetAllowListResult & WithTags(TagsT &&value)
const Aws::String & GetArn() const
AWS_MACIE2_API GetAllowListResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAllowListResult & WithCreatedAt(CreatedAtT &&value)
void SetDescription(DescriptionT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
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
Aws::Utils::Json::JsonValue JsonValue