7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/HierarchyGroup.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename UserHierarchyGroupsT = Aws::Vector<HierarchyGroup>>
43 void SetUserHierarchyGroups(UserHierarchyGroupsT&& value) { m_userHierarchyGroupsHasBeenSet =
true; m_userHierarchyGroups = std::forward<UserHierarchyGroupsT>(value); }
44 template<
typename UserHierarchyGroupsT = Aws::Vector<HierarchyGroup>>
46 template<
typename UserHierarchyGroupsT = HierarchyGroup>
56 template<
typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<
typename NextTokenT = Aws::String>
67 inline void SetApproximateTotalCount(
long long value) { m_approximateTotalCountHasBeenSet =
true; m_approximateTotalCount = value; }
74 template<
typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
76 template<
typename RequestIdT = Aws::String>
82 bool m_userHierarchyGroupsHasBeenSet =
false;
85 bool m_nextTokenHasBeenSet =
false;
87 long long m_approximateTotalCount{0};
88 bool m_approximateTotalCountHasBeenSet =
false;
91 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
SearchUserHierarchyGroupsResult & WithRequestId(RequestIdT &&value)
void SetNextToken(NextTokenT &&value)
SearchUserHierarchyGroupsResult & WithUserHierarchyGroups(UserHierarchyGroupsT &&value)
SearchUserHierarchyGroupsResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
long long GetApproximateTotalCount() const
void SetApproximateTotalCount(long long value)
AWS_CONNECT_API SearchUserHierarchyGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUserHierarchyGroups(UserHierarchyGroupsT &&value)
SearchUserHierarchyGroupsResult & AddUserHierarchyGroups(UserHierarchyGroupsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_CONNECT_API SearchUserHierarchyGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchUserHierarchyGroupsResult & WithApproximateTotalCount(long long value)
AWS_CONNECT_API SearchUserHierarchyGroupsResult()=default
const Aws::Vector< HierarchyGroup > & GetUserHierarchyGroups() 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