/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { class ListUsersResult { public: AWS_QUICKSIGHT_API ListUsersResult(); AWS_QUICKSIGHT_API ListUsersResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API ListUsersResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of users.

*/ inline const Aws::Vector& GetUserList() const{ return m_userList; } /** *

The list of users.

*/ inline void SetUserList(const Aws::Vector& value) { m_userList = value; } /** *

The list of users.

*/ inline void SetUserList(Aws::Vector&& value) { m_userList = std::move(value); } /** *

The list of users.

*/ inline ListUsersResult& WithUserList(const Aws::Vector& value) { SetUserList(value); return *this;} /** *

The list of users.

*/ inline ListUsersResult& WithUserList(Aws::Vector&& value) { SetUserList(std::move(value)); return *this;} /** *

The list of users.

*/ inline ListUsersResult& AddUserList(const User& value) { m_userList.push_back(value); return *this; } /** *

The list of users.

*/ inline ListUsersResult& AddUserList(User&& value) { m_userList.push_back(std::move(value)); return *this; } /** *

A pagination token that can be used in a subsequent request.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A pagination token that can be used in a subsequent request.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

A pagination token that can be used in a subsequent request.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

A pagination token that can be used in a subsequent request.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

A pagination token that can be used in a subsequent request.

*/ inline ListUsersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A pagination token that can be used in a subsequent request.

*/ inline ListUsersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A pagination token that can be used in a subsequent request.

*/ inline ListUsersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListUsersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListUsersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListUsersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The HTTP status of the request.

*/ inline int GetStatus() const{ return m_status; } /** *

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline ListUsersResult& WithStatus(int value) { SetStatus(value); return *this;} private: Aws::Vector m_userList; Aws::String m_nextToken; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws