AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AdminListDevicesRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CognitoIdentityProvider
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_COGNITOIDENTITYPROVIDER_API AdminListDevicesRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "AdminListDevices"; }
35
36 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
37
38 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
46 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
47 template<typename UserPoolIdT = Aws::String>
48 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::forward<UserPoolIdT>(value); }
49 template<typename UserPoolIdT = Aws::String>
50 AdminListDevicesRequest& WithUserPoolId(UserPoolIdT&& value) { SetUserPoolId(std::forward<UserPoolIdT>(value)); return *this;}
52
54
61 inline const Aws::String& GetUsername() const { return m_username; }
62 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
63 template<typename UsernameT = Aws::String>
64 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
65 template<typename UsernameT = Aws::String>
66 AdminListDevicesRequest& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
68
70
74 inline int GetLimit() const { return m_limit; }
75 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
76 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
77 inline AdminListDevicesRequest& WithLimit(int value) { SetLimit(value); return *this;}
79
81
89 inline const Aws::String& GetPaginationToken() const { return m_paginationToken; }
90 inline bool PaginationTokenHasBeenSet() const { return m_paginationTokenHasBeenSet; }
91 template<typename PaginationTokenT = Aws::String>
92 void SetPaginationToken(PaginationTokenT&& value) { m_paginationTokenHasBeenSet = true; m_paginationToken = std::forward<PaginationTokenT>(value); }
93 template<typename PaginationTokenT = Aws::String>
94 AdminListDevicesRequest& WithPaginationToken(PaginationTokenT&& value) { SetPaginationToken(std::forward<PaginationTokenT>(value)); return *this;}
96 private:
97
98 Aws::String m_userPoolId;
99 bool m_userPoolIdHasBeenSet = false;
100
101 Aws::String m_username;
102 bool m_usernameHasBeenSet = false;
103
104 int m_limit{0};
105 bool m_limitHasBeenSet = false;
106
107 Aws::String m_paginationToken;
108 bool m_paginationTokenHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CognitoIdentityProvider
113} // namespace Aws
AdminListDevicesRequest & WithUsername(UsernameT &&value)
AdminListDevicesRequest & WithPaginationToken(PaginationTokenT &&value)
AWS_COGNITOIDENTITYPROVIDER_API AdminListDevicesRequest()=default
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AdminListDevicesRequest & WithUserPoolId(UserPoolIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String