AWS SDK for C++  1.9.158
AWS SDK for C++
ListGroupsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace QuickSight
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Group>& GetGroupList() const{ return m_groupList; }
41 
45  inline void SetGroupList(const Aws::Vector<Group>& value) { m_groupList = value; }
46 
50  inline void SetGroupList(Aws::Vector<Group>&& value) { m_groupList = std::move(value); }
51 
55  inline ListGroupsResult& WithGroupList(const Aws::Vector<Group>& value) { SetGroupList(value); return *this;}
56 
60  inline ListGroupsResult& WithGroupList(Aws::Vector<Group>&& value) { SetGroupList(std::move(value)); return *this;}
61 
65  inline ListGroupsResult& AddGroupList(const Group& value) { m_groupList.push_back(value); return *this; }
66 
70  inline ListGroupsResult& AddGroupList(Group&& value) { m_groupList.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline ListGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108 
112  inline const Aws::String& GetRequestId() const{ return m_requestId; }
113 
117  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 
122  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
123 
127  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
128 
132  inline ListGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
133 
137  inline ListGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
138 
142  inline ListGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
143 
144 
148  inline int GetStatus() const{ return m_status; }
149 
153  inline void SetStatus(int value) { m_status = value; }
154 
158  inline ListGroupsResult& WithStatus(int value) { SetStatus(value); return *this;}
159 
160  private:
161 
162  Aws::Vector<Group> m_groupList;
163 
164  Aws::String m_nextToken;
165 
166  Aws::String m_requestId;
167 
168  int m_status;
169  };
170 
171 } // namespace Model
172 } // namespace QuickSight
173 } // namespace Aws
Aws::QuickSight::Model::ListGroupsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: ListGroupsResult.h:112
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListGroupsResult::WithNextToken
ListGroupsResult & WithNextToken(const char *value)
Definition: ListGroupsResult.h:106
Aws::QuickSight::Model::ListGroupsResult::WithNextToken
ListGroupsResult & WithNextToken(Aws::String &&value)
Definition: ListGroupsResult.h:101
Aws::QuickSight::Model::ListGroupsResult
Definition: ListGroupsResult.h:30
Aws::QuickSight::Model::ListGroupsResult::WithGroupList
ListGroupsResult & WithGroupList(const Aws::Vector< Group > &value)
Definition: ListGroupsResult.h:55
Aws::QuickSight::Model::ListGroupsResult::SetGroupList
void SetGroupList(Aws::Vector< Group > &&value)
Definition: ListGroupsResult.h:50
Aws::QuickSight::Model::ListGroupsResult::WithGroupList
ListGroupsResult & WithGroupList(Aws::Vector< Group > &&value)
Definition: ListGroupsResult.h:60
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::ListGroupsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListGroupsResult.h:91
Aws::QuickSight::Model::ListGroupsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ListGroupsResult.h:117
Aws::QuickSight::Model::ListGroupsResult::WithRequestId
ListGroupsResult & WithRequestId(Aws::String &&value)
Definition: ListGroupsResult.h:137
AWSVector.h
Aws::QuickSight::Model::ListGroupsResult::SetStatus
void SetStatus(int value)
Definition: ListGroupsResult.h:153
Aws::QuickSight::Model::ListGroupsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ListGroupsResult.h:122
Aws::QuickSight::Model::ListGroupsResult::ListGroupsResult
ListGroupsResult()
Aws::QuickSight::Model::ListGroupsResult::AddGroupList
ListGroupsResult & AddGroupList(Group &&value)
Definition: ListGroupsResult.h:70
Aws::QuickSight::Model::ListGroupsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGroupsResult.h:86
Aws::QuickSight::Model::ListGroupsResult::SetGroupList
void SetGroupList(const Aws::Vector< Group > &value)
Definition: ListGroupsResult.h:45
Aws::QuickSight::Model::ListGroupsResult::GetGroupList
const Aws::Vector< Group > & GetGroupList() const
Definition: ListGroupsResult.h:40
AWSString.h
Aws::QuickSight::Model::ListGroupsResult::ListGroupsResult
ListGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListGroupsResult::WithNextToken
ListGroupsResult & WithNextToken(const Aws::String &value)
Definition: ListGroupsResult.h:96
Aws::QuickSight::Model::ListGroupsResult::WithRequestId
ListGroupsResult & WithRequestId(const char *value)
Definition: ListGroupsResult.h:142
Aws::QuickSight::Model::ListGroupsResult::operator=
ListGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListGroupsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGroupsResult.h:76
Aws::QuickSight::Model::ListGroupsResult::AddGroupList
ListGroupsResult & AddGroupList(const Group &value)
Definition: ListGroupsResult.h:65
Aws::QuickSight::Model::ListGroupsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGroupsResult.h:81
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::Group
Definition: Group.h:34
Aws::QuickSight::Model::ListGroupsResult::WithStatus
ListGroupsResult & WithStatus(int value)
Definition: ListGroupsResult.h:158
Aws::QuickSight::Model::ListGroupsResult::WithRequestId
ListGroupsResult & WithRequestId(const Aws::String &value)
Definition: ListGroupsResult.h:132
Aws::QuickSight::Model::ListGroupsResult::SetRequestId
void SetRequestId(const char *value)
Definition: ListGroupsResult.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Group.h
Aws::QuickSight::Model::ListGroupsResult::GetStatus
int GetStatus() const
Definition: ListGroupsResult.h:148