7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
11#include <aws/resource-groups/model/GroupIdentifier.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ResourceGroups {
38 template <
typename GroupIdentifiersT = Aws::Vector<GroupIdentifier>>
40 m_groupIdentifiersHasBeenSet =
true;
41 m_groupIdentifiers = std::forward<GroupIdentifiersT>(value);
43 template <
typename GroupIdentifiersT = Aws::Vector<GroupIdentifier>>
48 template <
typename GroupIdentifiersT = GroupIdentifier>
50 m_groupIdentifiersHasBeenSet =
true;
51 m_groupIdentifiers.emplace_back(std::forward<GroupIdentifiersT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
100 bool m_groupIdentifiersHasBeenSet =
false;
101 bool m_nextTokenHasBeenSet =
false;
102 bool m_requestIdHasBeenSet =
false;
AWS_RESOURCEGROUPS_API ListGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
ListGroupsResult & AddGroupIdentifiers(GroupIdentifiersT &&value)
ListGroupsResult & WithGroupIdentifiers(GroupIdentifiersT &&value)
ListGroupsResult & WithNextToken(NextTokenT &&value)
AWS_RESOURCEGROUPS_API ListGroupsResult()=default
void SetRequestId(RequestIdT &&value)
ListGroupsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< GroupIdentifier > & GetGroupIdentifiers() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
void SetGroupIdentifiers(GroupIdentifiersT &&value)
AWS_RESOURCEGROUPS_API ListGroupsResult & operator=(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