7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cognito-idp/model/UserType.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CognitoIdentityProvider
47 template<
typename UsersT = Aws::Vector<UserType>>
48 void SetUsers(UsersT&& value) { m_usersHasBeenSet =
true; m_users = std::forward<UsersT>(value); }
49 template<
typename UsersT = Aws::Vector<UserType>>
51 template<
typename UsersT = UserType>
52 ListUsersResult&
AddUsers(UsersT&& value) { m_usersHasBeenSet =
true; m_users.emplace_back(std::forward<UsersT>(value));
return *
this; }
63 template<
typename PaginationTokenT = Aws::String>
64 void SetPaginationToken(PaginationTokenT&& value) { m_paginationTokenHasBeenSet =
true; m_paginationToken = std::forward<PaginationTokenT>(value); }
65 template<
typename PaginationTokenT = Aws::String>
72 template<
typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
74 template<
typename RequestIdT = Aws::String>
80 bool m_usersHasBeenSet =
false;
83 bool m_paginationTokenHasBeenSet =
false;
86 bool m_requestIdHasBeenSet =
false;
ListUsersResult & AddUsers(UsersT &&value)
void SetRequestId(RequestIdT &&value)
ListUsersResult & WithUsers(UsersT &&value)
AWS_COGNITOIDENTITYPROVIDER_API ListUsersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
ListUsersResult & WithPaginationToken(PaginationTokenT &&value)
const Aws::Vector< UserType > & GetUsers() const
AWS_COGNITOIDENTITYPROVIDER_API ListUsersResult()=default
const Aws::String & GetPaginationToken() const
void SetPaginationToken(PaginationTokenT &&value)
ListUsersResult & WithRequestId(RequestIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API ListUsersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUsers(UsersT &&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