7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/synthetics/Synthetics_EXPORTS.h>
10#include <aws/synthetics/model/GroupSummary.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename GroupsT = Aws::Vector<GroupSummary>>
38 m_groupsHasBeenSet =
true;
39 m_groups = std::forward<GroupsT>(value);
41 template <
typename GroupsT = Aws::Vector<GroupSummary>>
46 template <
typename GroupsT = GroupSummary>
48 m_groupsHasBeenSet =
true;
49 m_groups.emplace_back(std::forward<GroupsT>(value));
61 template <
typename NextTokenT = Aws::String>
63 m_nextTokenHasBeenSet =
true;
64 m_nextToken = std::forward<NextTokenT>(value);
66 template <
typename NextTokenT = Aws::String>
76 template <
typename RequestIdT = Aws::String>
78 m_requestIdHasBeenSet =
true;
79 m_requestId = std::forward<RequestIdT>(value);
81 template <
typename RequestIdT = Aws::String>
89 bool m_groupsHasBeenSet =
false;
92 bool m_nextTokenHasBeenSet =
false;
95 bool m_requestIdHasBeenSet =
false;
ListGroupsResult & AddGroups(GroupsT &&value)
AWS_SYNTHETICS_API ListGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
AWS_SYNTHETICS_API ListGroupsResult()=default
AWS_SYNTHETICS_API ListGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListGroupsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
ListGroupsResult & WithGroups(GroupsT &&value)
const Aws::String & GetRequestId() const
ListGroupsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< GroupSummary > & GetGroups() const
void SetNextToken(NextTokenT &&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