7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/GroupSummary.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
38 template <
typename NextTokenT = Aws::String>
40 m_nextTokenHasBeenSet =
true;
41 m_nextToken = std::forward<NextTokenT>(value);
43 template <
typename NextTokenT = Aws::String>
55 template <
typename ItemsT = Aws::Vector<GroupSummary>>
57 m_itemsHasBeenSet =
true;
58 m_items = std::forward<ItemsT>(value);
60 template <
typename ItemsT = Aws::Vector<GroupSummary>>
62 SetItems(std::forward<ItemsT>(value));
65 template <
typename ItemsT = GroupSummary>
67 m_itemsHasBeenSet =
true;
68 m_items.emplace_back(std::forward<ItemsT>(value));
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
93 bool m_nextTokenHasBeenSet =
false;
94 bool m_itemsHasBeenSet =
false;
95 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
ListGroupsResult & WithRequestId(RequestIdT &&value)
ListGroupsResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
const Aws::String & GetRequestId() const
void SetItems(ItemsT &&value)
AWS_QBUSINESS_API ListGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
ListGroupsResult & AddItems(ItemsT &&value)
AWS_QBUSINESS_API ListGroupsResult()=default
const Aws::Vector< GroupSummary > & GetItems() const
ListGroupsResult & WithItems(ItemsT &&value)
AWS_QBUSINESS_API ListGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue