7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
10#include <aws/resource-groups/model/GroupIdentifier.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace ResourceGroups {
37 template <
typename GroupIdentifiersT = Aws::Vector<GroupIdentifier>>
39 m_groupIdentifiersHasBeenSet =
true;
40 m_groupIdentifiers = std::forward<GroupIdentifiersT>(value);
42 template <
typename GroupIdentifiersT = Aws::Vector<GroupIdentifier>>
47 template <
typename GroupIdentifiersT = GroupIdentifier>
49 m_groupIdentifiersHasBeenSet =
true;
50 m_groupIdentifiers.emplace_back(std::forward<GroupIdentifiersT>(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>
96 bool m_groupIdentifiersHasBeenSet =
false;
97 bool m_nextTokenHasBeenSet =
false;
98 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
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