7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/model/GroupType.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace CognitoIdentityProvider {
38 template <
typename GroupsT = Aws::Vector<GroupType>>
40 m_groupsHasBeenSet =
true;
41 m_groups = std::forward<GroupsT>(value);
43 template <
typename GroupsT = Aws::Vector<GroupType>>
48 template <
typename GroupsT = GroupType>
50 m_groupsHasBeenSet =
true;
51 m_groups.emplace_back(std::forward<GroupsT>(value));
64 template <
typename NextTokenT = Aws::String>
66 m_nextTokenHasBeenSet =
true;
67 m_nextToken = std::forward<NextTokenT>(value);
69 template <
typename NextTokenT = Aws::String>
79 template <
typename RequestIdT = Aws::String>
81 m_requestIdHasBeenSet =
true;
82 m_requestId = std::forward<RequestIdT>(value);
84 template <
typename RequestIdT = Aws::String>
99 bool m_groupsHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
101 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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