AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListUserGroupsResult.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/Group.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 ListUserGroupsResult() = default;
35
36
38
41 inline const Aws::Vector<Group>& GetGroupList() const { return m_groupList; }
42 template<typename GroupListT = Aws::Vector<Group>>
43 void SetGroupList(GroupListT&& value) { m_groupListHasBeenSet = true; m_groupList = std::forward<GroupListT>(value); }
44 template<typename GroupListT = Aws::Vector<Group>>
45 ListUserGroupsResult& WithGroupList(GroupListT&& value) { SetGroupList(std::forward<GroupListT>(value)); return *this;}
46 template<typename GroupListT = Group>
47 ListUserGroupsResult& AddGroupList(GroupListT&& value) { m_groupListHasBeenSet = true; m_groupList.emplace_back(std::forward<GroupListT>(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 ListUserGroupsResult& 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 ListUserGroupsResult& 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 ListUserGroupsResult& WithStatus(int value) { SetStatus(value); return *this;}
78 private:
79
80 Aws::Vector<Group> m_groupList;
81 bool m_groupListHasBeenSet = 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
ListUserGroupsResult & WithStatus(int value)
ListUserGroupsResult & WithNextToken(NextTokenT &&value)
AWS_QUICKSIGHT_API ListUserGroupsResult()=default
AWS_QUICKSIGHT_API ListUserGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListUserGroupsResult & WithRequestId(RequestIdT &&value)
ListUserGroupsResult & AddGroupList(GroupListT &&value)
ListUserGroupsResult & WithGroupList(GroupListT &&value)
AWS_QUICKSIGHT_API ListUserGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Group > & GetGroupList() 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