7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/greengrass/Greengrass_EXPORTS.h>
10#include <aws/greengrass/model/GroupInformation.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename GroupsT = Aws::Vector<GroupInformation>>
38 m_groupsHasBeenSet =
true;
39 m_groups = std::forward<GroupsT>(value);
41 template <
typename GroupsT = Aws::Vector<GroupInformation>>
46 template <
typename GroupsT = GroupInformation>
48 m_groupsHasBeenSet =
true;
49 m_groups.emplace_back(std::forward<GroupsT>(value));
60 template <
typename NextTokenT = Aws::String>
62 m_nextTokenHasBeenSet =
true;
63 m_nextToken = std::forward<NextTokenT>(value);
65 template <
typename NextTokenT = Aws::String>
75 template <
typename RequestIdT = Aws::String>
77 m_requestIdHasBeenSet =
true;
78 m_requestId = std::forward<RequestIdT>(value);
80 template <
typename RequestIdT = Aws::String>
92 bool m_groupsHasBeenSet =
false;
93 bool m_nextTokenHasBeenSet =
false;
94 bool m_requestIdHasBeenSet =
false;
ListGroupsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< GroupInformation > & GetGroups() const
AWS_GREENGRASS_API ListGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GREENGRASS_API ListGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGroups(GroupsT &&value)
void SetRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
AWS_GREENGRASS_API ListGroupsResult()=default
ListGroupsResult & AddGroups(GroupsT &&value)
ListGroupsResult & WithRequestId(RequestIdT &&value)
ListGroupsResult & WithGroups(GroupsT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue