AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListUsersResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/User.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QUICKSIGHT_API ListUsersResult() = default;
35
36
38
41 inline const Aws::Vector<User>& GetUserList() const { return m_userList; }
42 template<typename UserListT = Aws::Vector<User>>
43 void SetUserList(UserListT&& value) { m_userListHasBeenSet = true; m_userList = std::forward<UserListT>(value); }
44 template<typename UserListT = Aws::Vector<User>>
45 ListUsersResult& WithUserList(UserListT&& value) { SetUserList(std::forward<UserListT>(value)); return *this;}
46 template<typename UserListT = User>
47 ListUsersResult& AddUserList(UserListT&& value) { m_userListHasBeenSet = true; m_userList.emplace_back(std::forward<UserListT>(value)); return *this; }
49
51
54 inline const Aws::String& GetNextToken() const { return m_nextToken; }
55 template<typename NextTokenT = Aws::String>
56 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
57 template<typename NextTokenT = Aws::String>
58 ListUsersResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 ListUsersResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69
71
74 inline int GetStatus() const { return m_status; }
75 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
76 inline ListUsersResult& WithStatus(int value) { SetStatus(value); return *this;}
78 private:
79
80 Aws::Vector<User> m_userList;
81 bool m_userListHasBeenSet = false;
82
83 Aws::String m_nextToken;
84 bool m_nextTokenHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88
89 int m_status{0};
90 bool m_statusHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace QuickSight
95} // namespace Aws
ListUsersResult & WithUserList(UserListT &&value)
ListUsersResult & WithNextToken(NextTokenT &&value)
AWS_QUICKSIGHT_API ListUsersResult()=default
ListUsersResult & WithRequestId(RequestIdT &&value)
ListUsersResult & AddUserList(UserListT &&value)
const Aws::String & GetRequestId() const
ListUsersResult & WithStatus(int value)
AWS_QUICKSIGHT_API ListUsersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
const Aws::Vector< User > & GetUserList() const
AWS_QUICKSIGHT_API ListUsersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue