AWS SDK for C++  1.9.154
AWS SDK for C++
ListUsersResult.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 Connect
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<UserSummary>& GetUserSummaryList() const{ return m_userSummaryList; }
41 
45  inline void SetUserSummaryList(const Aws::Vector<UserSummary>& value) { m_userSummaryList = value; }
46 
50  inline void SetUserSummaryList(Aws::Vector<UserSummary>&& value) { m_userSummaryList = std::move(value); }
51 
55  inline ListUsersResult& WithUserSummaryList(const Aws::Vector<UserSummary>& value) { SetUserSummaryList(value); return *this;}
56 
60  inline ListUsersResult& WithUserSummaryList(Aws::Vector<UserSummary>&& value) { SetUserSummaryList(std::move(value)); return *this;}
61 
65  inline ListUsersResult& AddUserSummaryList(const UserSummary& value) { m_userSummaryList.push_back(value); return *this; }
66 
70  inline ListUsersResult& AddUserSummaryList(UserSummary&& value) { m_userSummaryList.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 ListUsersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListUsersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListUsersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<UserSummary> m_userSummaryList;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace Connect
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::ListUsersResult::operator=
ListUsersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::ListUsersResult::WithNextToken
ListUsersResult & WithNextToken(const char *value)
Definition: ListUsersResult.h:113
Aws::Connect::Model::ListUsersResult::AddUserSummaryList
ListUsersResult & AddUserSummaryList(UserSummary &&value)
Definition: ListUsersResult.h:70
UserSummary.h
Aws::Connect::Model::ListUsersResult::ListUsersResult
ListUsersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Connect::Model::ListUsersResult::WithNextToken
ListUsersResult & WithNextToken(Aws::String &&value)
Definition: ListUsersResult.h:107
Aws::Connect::Model::UserSummary
Definition: UserSummary.h:32
Aws::Connect::Model::ListUsersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListUsersResult.h:83
Aws::Connect::Model::ListUsersResult::ListUsersResult
ListUsersResult()
Aws::Connect::Model::ListUsersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListUsersResult.h:89
AWSString.h
Aws::Connect::Model::ListUsersResult::SetUserSummaryList
void SetUserSummaryList(const Aws::Vector< UserSummary > &value)
Definition: ListUsersResult.h:45
Aws::Connect::Model::ListUsersResult::WithUserSummaryList
ListUsersResult & WithUserSummaryList(const Aws::Vector< UserSummary > &value)
Definition: ListUsersResult.h:55
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Connect::Model::ListUsersResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListUsersResult.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ListUsersResult::WithNextToken
ListUsersResult & WithNextToken(const Aws::String &value)
Definition: ListUsersResult.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListUsersResult::SetUserSummaryList
void SetUserSummaryList(Aws::Vector< UserSummary > &&value)
Definition: ListUsersResult.h:50
Aws::Connect::Model::ListUsersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListUsersResult.h:77
Aws::Connect::Model::ListUsersResult
Definition: ListUsersResult.h:30
Aws::Connect::Model::ListUsersResult::AddUserSummaryList
ListUsersResult & AddUserSummaryList(const UserSummary &value)
Definition: ListUsersResult.h:65
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ListUsersResult::WithUserSummaryList
ListUsersResult & WithUserSummaryList(Aws::Vector< UserSummary > &&value)
Definition: ListUsersResult.h:60
Connect_EXPORTS.h
Aws::Connect::Model::ListUsersResult::GetUserSummaryList
const Aws::Vector< UserSummary > & GetUserSummaryList() const
Definition: ListUsersResult.h:40