/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CognitoIdentity { namespace Model { /** *

Input to the LookupDeveloperIdentityInput action.

See * Also:

AWS * API Reference

*/ class AWS_COGNITOIDENTITY_API LookupDeveloperIdentityRequest : public CognitoIdentityRequest { public: LookupDeveloperIdentityRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "LookupDeveloperIdentity"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An identity pool ID in the format REGION:GUID.

*/ inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; } /** *

An identity pool ID in the format REGION:GUID.

*/ inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; } /** *

An identity pool ID in the format REGION:GUID.

*/ inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; } /** *

An identity pool ID in the format REGION:GUID.

*/ inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); } /** *

An identity pool ID in the format REGION:GUID.

*/ inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); } /** *

An identity pool ID in the format REGION:GUID.

*/ inline LookupDeveloperIdentityRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;} /** *

An identity pool ID in the format REGION:GUID.

*/ inline LookupDeveloperIdentityRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;} /** *

An identity pool ID in the format REGION:GUID.

*/ inline LookupDeveloperIdentityRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;} /** *

A unique identifier in the format REGION:GUID.

*/ inline const Aws::String& GetIdentityId() const{ return m_identityId; } /** *

A unique identifier in the format REGION:GUID.

*/ inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; } /** *

A unique identifier in the format REGION:GUID.

*/ inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; } /** *

A unique identifier in the format REGION:GUID.

*/ inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); } /** *

A unique identifier in the format REGION:GUID.

*/ inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); } /** *

A unique identifier in the format REGION:GUID.

*/ inline LookupDeveloperIdentityRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;} /** *

A unique identifier in the format REGION:GUID.

*/ inline LookupDeveloperIdentityRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;} /** *

A unique identifier in the format REGION:GUID.

*/ inline LookupDeveloperIdentityRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;} /** *

A unique ID used by your backend authentication process to identify a user. * Typically, a developer identity provider would issue many developer user * identifiers, in keeping with the number of users.

*/ inline const Aws::String& GetDeveloperUserIdentifier() const{ return m_developerUserIdentifier; } /** *

A unique ID used by your backend authentication process to identify a user. * Typically, a developer identity provider would issue many developer user * identifiers, in keeping with the number of users.

*/ inline bool DeveloperUserIdentifierHasBeenSet() const { return m_developerUserIdentifierHasBeenSet; } /** *

A unique ID used by your backend authentication process to identify a user. * Typically, a developer identity provider would issue many developer user * identifiers, in keeping with the number of users.

*/ inline void SetDeveloperUserIdentifier(const Aws::String& value) { m_developerUserIdentifierHasBeenSet = true; m_developerUserIdentifier = value; } /** *

A unique ID used by your backend authentication process to identify a user. * Typically, a developer identity provider would issue many developer user * identifiers, in keeping with the number of users.

*/ inline void SetDeveloperUserIdentifier(Aws::String&& value) { m_developerUserIdentifierHasBeenSet = true; m_developerUserIdentifier = std::move(value); } /** *

A unique ID used by your backend authentication process to identify a user. * Typically, a developer identity provider would issue many developer user * identifiers, in keeping with the number of users.

*/ inline void SetDeveloperUserIdentifier(const char* value) { m_developerUserIdentifierHasBeenSet = true; m_developerUserIdentifier.assign(value); } /** *

A unique ID used by your backend authentication process to identify a user. * Typically, a developer identity provider would issue many developer user * identifiers, in keeping with the number of users.

*/ inline LookupDeveloperIdentityRequest& WithDeveloperUserIdentifier(const Aws::String& value) { SetDeveloperUserIdentifier(value); return *this;} /** *

A unique ID used by your backend authentication process to identify a user. * Typically, a developer identity provider would issue many developer user * identifiers, in keeping with the number of users.

*/ inline LookupDeveloperIdentityRequest& WithDeveloperUserIdentifier(Aws::String&& value) { SetDeveloperUserIdentifier(std::move(value)); return *this;} /** *

A unique ID used by your backend authentication process to identify a user. * Typically, a developer identity provider would issue many developer user * identifiers, in keeping with the number of users.

*/ inline LookupDeveloperIdentityRequest& WithDeveloperUserIdentifier(const char* value) { SetDeveloperUserIdentifier(value); return *this;} /** *

The maximum number of identities to return.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of identities to return.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of identities to return.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of identities to return.

*/ inline LookupDeveloperIdentityRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

A pagination token. The first call you make will have NextToken * set to null. After that the service will return NextToken values as * needed. For example, let's say you make a request with MaxResults * set to 10, and there are 20 matches in the database. The service will return a * pagination token as a part of the response. This token can be used to call the * API again and get results starting from the 11th match.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A pagination token. The first call you make will have NextToken * set to null. After that the service will return NextToken values as * needed. For example, let's say you make a request with MaxResults * set to 10, and there are 20 matches in the database. The service will return a * pagination token as a part of the response. This token can be used to call the * API again and get results starting from the 11th match.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A pagination token. The first call you make will have NextToken * set to null. After that the service will return NextToken values as * needed. For example, let's say you make a request with MaxResults * set to 10, and there are 20 matches in the database. The service will return a * pagination token as a part of the response. This token can be used to call the * API again and get results starting from the 11th match.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

A pagination token. The first call you make will have NextToken * set to null. After that the service will return NextToken values as * needed. For example, let's say you make a request with MaxResults * set to 10, and there are 20 matches in the database. The service will return a * pagination token as a part of the response. This token can be used to call the * API again and get results starting from the 11th match.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

A pagination token. The first call you make will have NextToken * set to null. After that the service will return NextToken values as * needed. For example, let's say you make a request with MaxResults * set to 10, and there are 20 matches in the database. The service will return a * pagination token as a part of the response. This token can be used to call the * API again and get results starting from the 11th match.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

A pagination token. The first call you make will have NextToken * set to null. After that the service will return NextToken values as * needed. For example, let's say you make a request with MaxResults * set to 10, and there are 20 matches in the database. The service will return a * pagination token as a part of the response. This token can be used to call the * API again and get results starting from the 11th match.

*/ inline LookupDeveloperIdentityRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A pagination token. The first call you make will have NextToken * set to null. After that the service will return NextToken values as * needed. For example, let's say you make a request with MaxResults * set to 10, and there are 20 matches in the database. The service will return a * pagination token as a part of the response. This token can be used to call the * API again and get results starting from the 11th match.

*/ inline LookupDeveloperIdentityRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A pagination token. The first call you make will have NextToken * set to null. After that the service will return NextToken values as * needed. For example, let's say you make a request with MaxResults * set to 10, and there are 20 matches in the database. The service will return a * pagination token as a part of the response. This token can be used to call the * API again and get results starting from the 11th match.

*/ inline LookupDeveloperIdentityRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_identityPoolId; bool m_identityPoolIdHasBeenSet; Aws::String m_identityId; bool m_identityIdHasBeenSet; Aws::String m_developerUserIdentifier; bool m_developerUserIdentifierHasBeenSet; int m_maxResults; bool m_maxResultsHasBeenSet; Aws::String m_nextToken; bool m_nextTokenHasBeenSet; }; } // namespace Model } // namespace CognitoIdentity } // namespace Aws