AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListIdentitiesRequest.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/cognito-identity/CognitoIdentityRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CognitoIdentity
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_COGNITOIDENTITY_API ListIdentitiesRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ListIdentities"; }
34
35 AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override;
36
37 AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
45 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
46 template<typename IdentityPoolIdT = Aws::String>
47 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
48 template<typename IdentityPoolIdT = Aws::String>
49 ListIdentitiesRequest& WithIdentityPoolId(IdentityPoolIdT&& value) { SetIdentityPoolId(std::forward<IdentityPoolIdT>(value)); return *this;}
51
53
56 inline int GetMaxResults() const { return m_maxResults; }
57 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
58 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
59 inline ListIdentitiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61
63
66 inline const Aws::String& GetNextToken() const { return m_nextToken; }
67 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
68 template<typename NextTokenT = Aws::String>
69 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
70 template<typename NextTokenT = Aws::String>
71 ListIdentitiesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
73
75
80 inline bool GetHideDisabled() const { return m_hideDisabled; }
81 inline bool HideDisabledHasBeenSet() const { return m_hideDisabledHasBeenSet; }
82 inline void SetHideDisabled(bool value) { m_hideDisabledHasBeenSet = true; m_hideDisabled = value; }
83 inline ListIdentitiesRequest& WithHideDisabled(bool value) { SetHideDisabled(value); return *this;}
85 private:
86
87 Aws::String m_identityPoolId;
88 bool m_identityPoolIdHasBeenSet = false;
89
90 int m_maxResults{0};
91 bool m_maxResultsHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 bool m_hideDisabled{false};
97 bool m_hideDisabledHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CognitoIdentity
102} // 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
ListIdentitiesRequest & WithHideDisabled(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String