AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ListIdentitiesRequest.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentityRequest.h>
8#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CognitoIdentity {
15namespace Model {
16
23 public:
24 AWS_COGNITOIDENTITY_API ListIdentitiesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListIdentities"; }
31
32 AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override;
33
34 AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
40 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
41 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
42 template <typename IdentityPoolIdT = Aws::String>
43 void SetIdentityPoolId(IdentityPoolIdT&& value) {
44 m_identityPoolIdHasBeenSet = true;
45 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
46 }
47 template <typename IdentityPoolIdT = Aws::String>
48 ListIdentitiesRequest& WithIdentityPoolId(IdentityPoolIdT&& value) {
49 SetIdentityPoolId(std::forward<IdentityPoolIdT>(value));
50 return *this;
51 }
53
55
58 inline int GetMaxResults() const { return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) {
61 m_maxResultsHasBeenSet = true;
62 m_maxResults = value;
63 }
65 SetMaxResults(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetNextToken() const { return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 template <typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) {
78 m_nextTokenHasBeenSet = true;
79 m_nextToken = std::forward<NextTokenT>(value);
80 }
81 template <typename NextTokenT = Aws::String>
82 ListIdentitiesRequest& WithNextToken(NextTokenT&& value) {
83 SetNextToken(std::forward<NextTokenT>(value));
84 return *this;
85 }
87
89
94 inline bool GetHideDisabled() const { return m_hideDisabled; }
95 inline bool HideDisabledHasBeenSet() const { return m_hideDisabledHasBeenSet; }
96 inline void SetHideDisabled(bool value) {
97 m_hideDisabledHasBeenSet = true;
98 m_hideDisabled = value;
99 }
101 SetHideDisabled(value);
102 return *this;
103 }
105 private:
106 Aws::String m_identityPoolId;
107 bool m_identityPoolIdHasBeenSet = false;
108
109 int m_maxResults{0};
110 bool m_maxResultsHasBeenSet = false;
111
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114
115 bool m_hideDisabled{false};
116 bool m_hideDisabledHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace CognitoIdentity
121} // namespace Aws
ListIdentitiesRequest & WithNextToken(NextTokenT &&value)
AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COGNITOIDENTITY_API ListIdentitiesRequest()=default
ListIdentitiesRequest & WithIdentityPoolId(IdentityPoolIdT &&value)
AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String