AWS SDK for C++  1.9.108
AWS SDK for C++
ListGroupMembersResult.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 WorkMail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Member>& GetMembers() const{ return m_members; }
41 
45  inline void SetMembers(const Aws::Vector<Member>& value) { m_members = value; }
46 
50  inline void SetMembers(Aws::Vector<Member>&& value) { m_members = std::move(value); }
51 
55  inline ListGroupMembersResult& WithMembers(const Aws::Vector<Member>& value) { SetMembers(value); return *this;}
56 
60  inline ListGroupMembersResult& WithMembers(Aws::Vector<Member>&& value) { SetMembers(std::move(value)); return *this;}
61 
65  inline ListGroupMembersResult& AddMembers(const Member& value) { m_members.push_back(value); return *this; }
66 
70  inline ListGroupMembersResult& AddMembers(Member&& value) { m_members.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListGroupMembersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListGroupMembersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListGroupMembersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<Member> m_members;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace WorkMail
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::ListGroupMembersResult::WithNextToken
ListGroupMembersResult & WithNextToken(Aws::String &&value)
Definition: ListGroupMembersResult.h:107
Aws::WorkMail::Model::ListGroupMembersResult
Definition: ListGroupMembersResult.h:30
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
WorkMail_EXPORTS.h
Aws::WorkMail::Model::ListGroupMembersResult::SetMembers
void SetMembers(const Aws::Vector< Member > &value)
Definition: ListGroupMembersResult.h:45
AWSVector.h
Aws::WorkMail::Model::ListGroupMembersResult::WithMembers
ListGroupMembersResult & WithMembers(const Aws::Vector< Member > &value)
Definition: ListGroupMembersResult.h:55
Aws::WorkMail::Model::ListGroupMembersResult::AddMembers
ListGroupMembersResult & AddMembers(const Member &value)
Definition: ListGroupMembersResult.h:65
Aws::WorkMail::Model::ListGroupMembersResult::ListGroupMembersResult
ListGroupMembersResult()
Aws::WorkMail::Model::ListGroupMembersResult::ListGroupMembersResult
ListGroupMembersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkMail::Model::ListGroupMembersResult::WithNextToken
ListGroupMembersResult & WithNextToken(const char *value)
Definition: ListGroupMembersResult.h:113
AWSString.h
Aws::WorkMail::Model::ListGroupMembersResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListGroupMembersResult.h:95
Aws::WorkMail::Model::ListGroupMembersResult::SetMembers
void SetMembers(Aws::Vector< Member > &&value)
Definition: ListGroupMembersResult.h:50
Aws::WorkMail::Model::ListGroupMembersResult::WithMembers
ListGroupMembersResult & WithMembers(Aws::Vector< Member > &&value)
Definition: ListGroupMembersResult.h:60
Member.h
Aws::WorkMail::Model::Member
Definition: Member.h:35
Aws::WorkMail::Model::ListGroupMembersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGroupMembersResult.h:77
Aws::WorkMail::Model::ListGroupMembersResult::AddMembers
ListGroupMembersResult & AddMembers(Member &&value)
Definition: ListGroupMembersResult.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::WorkMail::Model::ListGroupMembersResult::GetMembers
const Aws::Vector< Member > & GetMembers() const
Definition: ListGroupMembersResult.h:40
Aws::WorkMail::Model::ListGroupMembersResult::operator=
ListGroupMembersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::ListGroupMembersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGroupMembersResult.h:83
Aws::WorkMail::Model::ListGroupMembersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGroupMembersResult.h:89
Aws::WorkMail::Model::ListGroupMembersResult::WithNextToken
ListGroupMembersResult & WithNextToken(const Aws::String &value)
Definition: ListGroupMembersResult.h:101