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/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mq/model/UserSummary.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 MQ
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MQ_API ListUsersResult();
35
36
38
41 inline const Aws::String& GetBrokerId() const{ return m_brokerId; }
42 inline void SetBrokerId(const Aws::String& value) { m_brokerId = value; }
43 inline void SetBrokerId(Aws::String&& value) { m_brokerId = std::move(value); }
44 inline void SetBrokerId(const char* value) { m_brokerId.assign(value); }
45 inline ListUsersResult& WithBrokerId(const Aws::String& value) { SetBrokerId(value); return *this;}
46 inline ListUsersResult& WithBrokerId(Aws::String&& value) { SetBrokerId(std::move(value)); return *this;}
47 inline ListUsersResult& WithBrokerId(const char* value) { SetBrokerId(value); return *this;}
49
51
55 inline int GetMaxResults() const{ return m_maxResults; }
56 inline void SetMaxResults(int value) { m_maxResults = value; }
57 inline ListUsersResult& WithMaxResults(int value) { SetMaxResults(value); return *this;}
59
61
65 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
69 inline ListUsersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListUsersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListUsersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
79 inline const Aws::Vector<UserSummary>& GetUsers() const{ return m_users; }
80 inline void SetUsers(const Aws::Vector<UserSummary>& value) { m_users = value; }
81 inline void SetUsers(Aws::Vector<UserSummary>&& value) { m_users = std::move(value); }
82 inline ListUsersResult& WithUsers(const Aws::Vector<UserSummary>& value) { SetUsers(value); return *this;}
83 inline ListUsersResult& WithUsers(Aws::Vector<UserSummary>&& value) { SetUsers(std::move(value)); return *this;}
84 inline ListUsersResult& AddUsers(const UserSummary& value) { m_users.push_back(value); return *this; }
85 inline ListUsersResult& AddUsers(UserSummary&& value) { m_users.push_back(std::move(value)); return *this; }
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
94 inline ListUsersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
95 inline ListUsersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline ListUsersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::String m_brokerId;
101
102 int m_maxResults;
103
104 Aws::String m_nextToken;
105
107
108 Aws::String m_requestId;
109 };
110
111} // namespace Model
112} // namespace MQ
113} // namespace Aws
void SetRequestId(Aws::String &&value)
void SetRequestId(const char *value)
ListUsersResult & WithNextToken(const Aws::String &value)
void SetBrokerId(Aws::String &&value)
ListUsersResult & WithRequestId(const char *value)
ListUsersResult & WithRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
ListUsersResult & WithUsers(Aws::Vector< UserSummary > &&value)
ListUsersResult & AddUsers(const UserSummary &value)
AWS_MQ_API ListUsersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUsers(Aws::Vector< UserSummary > &&value)
const Aws::String & GetBrokerId() const
void SetNextToken(Aws::String &&value)
const Aws::Vector< UserSummary > & GetUsers() const
ListUsersResult & WithNextToken(Aws::String &&value)
ListUsersResult & WithBrokerId(const Aws::String &value)
void SetUsers(const Aws::Vector< UserSummary > &value)
AWS_MQ_API ListUsersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetBrokerId(const Aws::String &value)
ListUsersResult & WithUsers(const Aws::Vector< UserSummary > &value)
void SetBrokerId(const char *value)
ListUsersResult & WithBrokerId(Aws::String &&value)
void SetNextToken(const char *value)
ListUsersResult & WithBrokerId(const char *value)
void SetNextToken(const Aws::String &value)
ListUsersResult & WithNextToken(const char *value)
ListUsersResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
ListUsersResult & AddUsers(UserSummary &&value)
ListUsersResult & WithMaxResults(int value)
const Aws::String & GetNextToken() 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