AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
47 inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
48 inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
49 inline ListIdentitiesRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
50 inline ListIdentitiesRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
51 inline ListIdentitiesRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
53
55
58 inline int GetMaxResults() const{ return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListIdentitiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
68 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
70 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
71 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
72 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
73 inline ListIdentitiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 inline ListIdentitiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
75 inline ListIdentitiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
77
79
84 inline bool GetHideDisabled() const{ return m_hideDisabled; }
85 inline bool HideDisabledHasBeenSet() const { return m_hideDisabledHasBeenSet; }
86 inline void SetHideDisabled(bool value) { m_hideDisabledHasBeenSet = true; m_hideDisabled = value; }
87 inline ListIdentitiesRequest& WithHideDisabled(bool value) { SetHideDisabled(value); return *this;}
89 private:
90
91 Aws::String m_identityPoolId;
92 bool m_identityPoolIdHasBeenSet = false;
93
94 int m_maxResults;
95 bool m_maxResultsHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99
100 bool m_hideDisabled;
101 bool m_hideDisabledHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace CognitoIdentity
106} // namespace Aws
ListIdentitiesRequest & WithIdentityPoolId(Aws::String &&value)
AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListIdentitiesRequest & WithNextToken(Aws::String &&value)
ListIdentitiesRequest & WithIdentityPoolId(const Aws::String &value)
ListIdentitiesRequest & WithIdentityPoolId(const char *value)
ListIdentitiesRequest & WithNextToken(const char *value)
AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListIdentitiesRequest & WithHideDisabled(bool value)
ListIdentitiesRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String