7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/macie2/model/AllowListSummary.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename AllowListsT = Aws::Vector<AllowListSummary>>
43 void SetAllowLists(AllowListsT&& value) { m_allowListsHasBeenSet =
true; m_allowLists = std::forward<AllowListsT>(value); }
44 template<
typename AllowListsT = Aws::Vector<AllowListSummary>>
46 template<
typename AllowListsT = AllowListSummary>
56 template<
typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<
typename NextTokenT = Aws::String>
65 template<
typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
67 template<
typename RequestIdT = Aws::String>
73 bool m_allowListsHasBeenSet =
false;
76 bool m_nextTokenHasBeenSet =
false;
79 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
AWS_MACIE2_API ListAllowListsResult()=default
ListAllowListsResult & WithAllowLists(AllowListsT &&value)
AWS_MACIE2_API ListAllowListsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
ListAllowListsResult & WithRequestId(RequestIdT &&value)
ListAllowListsResult & AddAllowLists(AllowListsT &&value)
const Aws::Vector< AllowListSummary > & GetAllowLists() const
ListAllowListsResult & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
void SetAllowLists(AllowListsT &&value)
const Aws::String & GetRequestId() const
AWS_MACIE2_API ListAllowListsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue