AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListUsersRequest.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/chime/model/UserType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Chime
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CHIME_API ListUsersRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListUsers"; }
36
37 AWS_CHIME_API Aws::String SerializePayload() const override;
38
39 AWS_CHIME_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline ListUsersRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline ListUsersRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline ListUsersRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
60 inline const Aws::String& GetUserEmail() const{ return m_userEmail; }
61 inline bool UserEmailHasBeenSet() const { return m_userEmailHasBeenSet; }
62 inline void SetUserEmail(const Aws::String& value) { m_userEmailHasBeenSet = true; m_userEmail = value; }
63 inline void SetUserEmail(Aws::String&& value) { m_userEmailHasBeenSet = true; m_userEmail = std::move(value); }
64 inline void SetUserEmail(const char* value) { m_userEmailHasBeenSet = true; m_userEmail.assign(value); }
65 inline ListUsersRequest& WithUserEmail(const Aws::String& value) { SetUserEmail(value); return *this;}
66 inline ListUsersRequest& WithUserEmail(Aws::String&& value) { SetUserEmail(std::move(value)); return *this;}
67 inline ListUsersRequest& WithUserEmail(const char* value) { SetUserEmail(value); return *this;}
69
71
74 inline const UserType& GetUserType() const{ return m_userType; }
75 inline bool UserTypeHasBeenSet() const { return m_userTypeHasBeenSet; }
76 inline void SetUserType(const UserType& value) { m_userTypeHasBeenSet = true; m_userType = value; }
77 inline void SetUserType(UserType&& value) { m_userTypeHasBeenSet = true; m_userType = std::move(value); }
78 inline ListUsersRequest& WithUserType(const UserType& value) { SetUserType(value); return *this;}
79 inline ListUsersRequest& WithUserType(UserType&& value) { SetUserType(std::move(value)); return *this;}
81
83
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline ListUsersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92
94
97 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
98 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
99 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
100 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 inline ListUsersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
103 inline ListUsersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
104 inline ListUsersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
106 private:
107
108 Aws::String m_accountId;
109 bool m_accountIdHasBeenSet = false;
110
111 Aws::String m_userEmail;
112 bool m_userEmailHasBeenSet = false;
113
114 UserType m_userType;
115 bool m_userTypeHasBeenSet = false;
116
117 int m_maxResults;
118 bool m_maxResultsHasBeenSet = false;
119
120 Aws::String m_nextToken;
121 bool m_nextTokenHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Chime
126} // namespace Aws
ListUsersRequest & WithUserEmail(const char *value)
void SetUserType(const UserType &value)
ListUsersRequest & WithNextToken(const char *value)
ListUsersRequest & WithUserType(UserType &&value)
ListUsersRequest & WithNextToken(const Aws::String &value)
void SetNextToken(const Aws::String &value)
void SetAccountId(const char *value)
const Aws::String & GetUserEmail() const
void SetUserEmail(const Aws::String &value)
ListUsersRequest & WithUserEmail(const Aws::String &value)
ListUsersRequest & WithUserEmail(Aws::String &&value)
void SetAccountId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListUsersRequest & WithNextToken(Aws::String &&value)
AWS_CHIME_API Aws::String SerializePayload() const override
AWS_CHIME_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListUsersRequest & WithAccountId(Aws::String &&value)
const Aws::String & GetAccountId() const
void SetUserEmail(Aws::String &&value)
ListUsersRequest & WithAccountId(const char *value)
ListUsersRequest & WithAccountId(const Aws::String &value)
void SetNextToken(Aws::String &&value)
void SetUserEmail(const char *value)
const Aws::String & GetNextToken() const
ListUsersRequest & WithMaxResults(int value)
void SetAccountId(const Aws::String &value)
ListUsersRequest & WithUserType(const UserType &value)
const UserType & GetUserType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String