AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListUsersResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/awstransfer/model/ListedUser.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 Transfer
26{
27namespace Model
28{
30 {
31 public:
32 AWS_TRANSFER_API ListUsersResult();
35
36
38
44 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
45 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
46 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
47 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
48 inline ListUsersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
49 inline ListUsersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
50 inline ListUsersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
52
54
58 inline const Aws::String& GetServerId() const{ return m_serverId; }
59 inline void SetServerId(const Aws::String& value) { m_serverId = value; }
60 inline void SetServerId(Aws::String&& value) { m_serverId = std::move(value); }
61 inline void SetServerId(const char* value) { m_serverId.assign(value); }
62 inline ListUsersResult& WithServerId(const Aws::String& value) { SetServerId(value); return *this;}
63 inline ListUsersResult& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;}
64 inline ListUsersResult& WithServerId(const char* value) { SetServerId(value); return *this;}
66
68
72 inline const Aws::Vector<ListedUser>& GetUsers() const{ return m_users; }
73 inline void SetUsers(const Aws::Vector<ListedUser>& value) { m_users = value; }
74 inline void SetUsers(Aws::Vector<ListedUser>&& value) { m_users = std::move(value); }
75 inline ListUsersResult& WithUsers(const Aws::Vector<ListedUser>& value) { SetUsers(value); return *this;}
76 inline ListUsersResult& WithUsers(Aws::Vector<ListedUser>&& value) { SetUsers(std::move(value)); return *this;}
77 inline ListUsersResult& AddUsers(const ListedUser& value) { m_users.push_back(value); return *this; }
78 inline ListUsersResult& AddUsers(ListedUser&& value) { m_users.push_back(std::move(value)); return *this; }
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline ListUsersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline ListUsersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline ListUsersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_nextToken;
94
95 Aws::String m_serverId;
96
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace Transfer
104} // namespace Aws
const Aws::String & GetNextToken() const
void SetServerId(Aws::String &&value)
ListUsersResult & AddUsers(ListedUser &&value)
void SetServerId(const Aws::String &value)
ListUsersResult & WithNextToken(const Aws::String &value)
void SetUsers(const Aws::Vector< ListedUser > &value)
ListUsersResult & WithUsers(const Aws::Vector< ListedUser > &value)
ListUsersResult & WithNextToken(const char *value)
AWS_TRANSFER_API ListUsersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListUsersResult & WithRequestId(Aws::String &&value)
ListUsersResult & WithRequestId(const Aws::String &value)
ListUsersResult & WithServerId(const char *value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetServerId() const
const Aws::Vector< ListedUser > & GetUsers() const
ListUsersResult & WithRequestId(const char *value)
ListUsersResult & WithServerId(const Aws::String &value)
void SetNextToken(Aws::String &&value)
ListUsersResult & WithUsers(Aws::Vector< ListedUser > &&value)
ListUsersResult & WithServerId(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetUsers(Aws::Vector< ListedUser > &&value)
ListUsersResult & WithNextToken(Aws::String &&value)
AWS_TRANSFER_API ListUsersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
ListUsersResult & AddUsers(const ListedUser &value)
void SetNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue