7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/model/GroupType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace CognitoIdentityProvider {
37 template <
typename GroupsT = Aws::Vector<GroupType>>
39 m_groupsHasBeenSet =
true;
40 m_groups = std::forward<GroupsT>(value);
42 template <
typename GroupsT = Aws::Vector<GroupType>>
47 template <
typename GroupsT = GroupType>
49 m_groupsHasBeenSet =
true;
50 m_groups.emplace_back(std::forward<GroupsT>(value));
63 template <
typename NextTokenT = Aws::String>
65 m_nextTokenHasBeenSet =
true;
66 m_nextToken = std::forward<NextTokenT>(value);
68 template <
typename NextTokenT = Aws::String>
78 template <
typename RequestIdT = Aws::String>
80 m_requestIdHasBeenSet =
true;
81 m_requestId = std::forward<RequestIdT>(value);
83 template <
typename RequestIdT = Aws::String>
95 bool m_groupsHasBeenSet =
false;
96 bool m_nextTokenHasBeenSet =
false;
97 bool m_requestIdHasBeenSet =
false;
AWS_COGNITOIDENTITYPROVIDER_API ListGroupsResult()=default
ListGroupsResult & WithNextToken(NextTokenT &&value)
AWS_COGNITOIDENTITYPROVIDER_API ListGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
void SetRequestId(RequestIdT &&value)
ListGroupsResult & WithGroups(GroupsT &&value)
const Aws::String & GetRequestId() const
void SetNextToken(NextTokenT &&value)
const Aws::Vector< GroupType > & GetGroups() const
AWS_COGNITOIDENTITYPROVIDER_API ListGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListGroupsResult & WithRequestId(RequestIdT &&value)
ListGroupsResult & AddGroups(GroupsT &&value)
void SetGroups(GroupsT &&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