/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CognitoIdentity { namespace Model { /** *

Returned in response to a successful LookupDeveloperIdentity * action.

See Also:

AWS * API Reference

*/ class LookupDeveloperIdentityResult { public: AWS_COGNITOIDENTITY_API LookupDeveloperIdentityResult(); AWS_COGNITOIDENTITY_API LookupDeveloperIdentityResult(const Aws::AmazonWebServiceResult& result); AWS_COGNITOIDENTITY_API LookupDeveloperIdentityResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 void SetIdentityId(const Aws::String& value) { m_identityId = value; } /** *

A unique identifier in the format REGION:GUID.

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

A unique identifier in the format REGION:GUID.

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

A unique identifier in the format REGION:GUID.

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

A unique identifier in the format REGION:GUID.

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

A unique identifier in the format REGION:GUID.

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

This is the list of developer user identifiers associated with an identity * ID. Cognito supports the association of multiple developer user identifiers with * an identity ID.

*/ inline const Aws::Vector& GetDeveloperUserIdentifierList() const{ return m_developerUserIdentifierList; } /** *

This is the list of developer user identifiers associated with an identity * ID. Cognito supports the association of multiple developer user identifiers with * an identity ID.

*/ inline void SetDeveloperUserIdentifierList(const Aws::Vector& value) { m_developerUserIdentifierList = value; } /** *

This is the list of developer user identifiers associated with an identity * ID. Cognito supports the association of multiple developer user identifiers with * an identity ID.

*/ inline void SetDeveloperUserIdentifierList(Aws::Vector&& value) { m_developerUserIdentifierList = std::move(value); } /** *

This is the list of developer user identifiers associated with an identity * ID. Cognito supports the association of multiple developer user identifiers with * an identity ID.

*/ inline LookupDeveloperIdentityResult& WithDeveloperUserIdentifierList(const Aws::Vector& value) { SetDeveloperUserIdentifierList(value); return *this;} /** *

This is the list of developer user identifiers associated with an identity * ID. Cognito supports the association of multiple developer user identifiers with * an identity ID.

*/ inline LookupDeveloperIdentityResult& WithDeveloperUserIdentifierList(Aws::Vector&& value) { SetDeveloperUserIdentifierList(std::move(value)); return *this;} /** *

This is the list of developer user identifiers associated with an identity * ID. Cognito supports the association of multiple developer user identifiers with * an identity ID.

*/ inline LookupDeveloperIdentityResult& AddDeveloperUserIdentifierList(const Aws::String& value) { m_developerUserIdentifierList.push_back(value); return *this; } /** *

This is the list of developer user identifiers associated with an identity * ID. Cognito supports the association of multiple developer user identifiers with * an identity ID.

*/ inline LookupDeveloperIdentityResult& AddDeveloperUserIdentifierList(Aws::String&& value) { m_developerUserIdentifierList.push_back(std::move(value)); return *this; } /** *

This is the list of developer user identifiers associated with an identity * ID. Cognito supports the association of multiple developer user identifiers with * an identity ID.

*/ inline LookupDeveloperIdentityResult& AddDeveloperUserIdentifierList(const char* value) { m_developerUserIdentifierList.push_back(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 void SetNextToken(const Aws::String& value) { 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_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_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 LookupDeveloperIdentityResult& 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 LookupDeveloperIdentityResult& 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 LookupDeveloperIdentityResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline LookupDeveloperIdentityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline LookupDeveloperIdentityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline LookupDeveloperIdentityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_identityId; Aws::Vector m_developerUserIdentifierList; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentity } // namespace Aws