/** * 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 MergeDeveloperIdentities action.

See * Also:

AWS * API Reference

*/ class MergeDeveloperIdentitiesRequest : public CognitoIdentityRequest { public: AWS_COGNITOIDENTITY_API MergeDeveloperIdentitiesRequest(); // 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 "MergeDeveloperIdentities"; } AWS_COGNITOIDENTITY_API Aws::String SerializePayload() const override; AWS_COGNITOIDENTITY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

User identifier for the source user. The value should be a * DeveloperUserIdentifier.

*/ inline const Aws::String& GetSourceUserIdentifier() const{ return m_sourceUserIdentifier; } /** *

User identifier for the source user. The value should be a * DeveloperUserIdentifier.

*/ inline bool SourceUserIdentifierHasBeenSet() const { return m_sourceUserIdentifierHasBeenSet; } /** *

User identifier for the source user. The value should be a * DeveloperUserIdentifier.

*/ inline void SetSourceUserIdentifier(const Aws::String& value) { m_sourceUserIdentifierHasBeenSet = true; m_sourceUserIdentifier = value; } /** *

User identifier for the source user. The value should be a * DeveloperUserIdentifier.

*/ inline void SetSourceUserIdentifier(Aws::String&& value) { m_sourceUserIdentifierHasBeenSet = true; m_sourceUserIdentifier = std::move(value); } /** *

User identifier for the source user. The value should be a * DeveloperUserIdentifier.

*/ inline void SetSourceUserIdentifier(const char* value) { m_sourceUserIdentifierHasBeenSet = true; m_sourceUserIdentifier.assign(value); } /** *

User identifier for the source user. The value should be a * DeveloperUserIdentifier.

*/ inline MergeDeveloperIdentitiesRequest& WithSourceUserIdentifier(const Aws::String& value) { SetSourceUserIdentifier(value); return *this;} /** *

User identifier for the source user. The value should be a * DeveloperUserIdentifier.

*/ inline MergeDeveloperIdentitiesRequest& WithSourceUserIdentifier(Aws::String&& value) { SetSourceUserIdentifier(std::move(value)); return *this;} /** *

User identifier for the source user. The value should be a * DeveloperUserIdentifier.

*/ inline MergeDeveloperIdentitiesRequest& WithSourceUserIdentifier(const char* value) { SetSourceUserIdentifier(value); return *this;} /** *

User identifier for the destination user. The value should be a * DeveloperUserIdentifier.

*/ inline const Aws::String& GetDestinationUserIdentifier() const{ return m_destinationUserIdentifier; } /** *

User identifier for the destination user. The value should be a * DeveloperUserIdentifier.

*/ inline bool DestinationUserIdentifierHasBeenSet() const { return m_destinationUserIdentifierHasBeenSet; } /** *

User identifier for the destination user. The value should be a * DeveloperUserIdentifier.

*/ inline void SetDestinationUserIdentifier(const Aws::String& value) { m_destinationUserIdentifierHasBeenSet = true; m_destinationUserIdentifier = value; } /** *

User identifier for the destination user. The value should be a * DeveloperUserIdentifier.

*/ inline void SetDestinationUserIdentifier(Aws::String&& value) { m_destinationUserIdentifierHasBeenSet = true; m_destinationUserIdentifier = std::move(value); } /** *

User identifier for the destination user. The value should be a * DeveloperUserIdentifier.

*/ inline void SetDestinationUserIdentifier(const char* value) { m_destinationUserIdentifierHasBeenSet = true; m_destinationUserIdentifier.assign(value); } /** *

User identifier for the destination user. The value should be a * DeveloperUserIdentifier.

*/ inline MergeDeveloperIdentitiesRequest& WithDestinationUserIdentifier(const Aws::String& value) { SetDestinationUserIdentifier(value); return *this;} /** *

User identifier for the destination user. The value should be a * DeveloperUserIdentifier.

*/ inline MergeDeveloperIdentitiesRequest& WithDestinationUserIdentifier(Aws::String&& value) { SetDestinationUserIdentifier(std::move(value)); return *this;} /** *

User identifier for the destination user. The value should be a * DeveloperUserIdentifier.

*/ inline MergeDeveloperIdentitiesRequest& WithDestinationUserIdentifier(const char* value) { SetDestinationUserIdentifier(value); return *this;} /** *

The "domain" by which Cognito will refer to your users. This is a (pseudo) * domain name that you provide while creating an identity pool. This name acts as * a placeholder that allows your backend and the Cognito service to communicate * about the developer provider. For the DeveloperProviderName, you * can use letters as well as period (.), underscore (_), and dash (-).

*/ inline const Aws::String& GetDeveloperProviderName() const{ return m_developerProviderName; } /** *

The "domain" by which Cognito will refer to your users. This is a (pseudo) * domain name that you provide while creating an identity pool. This name acts as * a placeholder that allows your backend and the Cognito service to communicate * about the developer provider. For the DeveloperProviderName, you * can use letters as well as period (.), underscore (_), and dash (-).

*/ inline bool DeveloperProviderNameHasBeenSet() const { return m_developerProviderNameHasBeenSet; } /** *

The "domain" by which Cognito will refer to your users. This is a (pseudo) * domain name that you provide while creating an identity pool. This name acts as * a placeholder that allows your backend and the Cognito service to communicate * about the developer provider. For the DeveloperProviderName, you * can use letters as well as period (.), underscore (_), and dash (-).

*/ inline void SetDeveloperProviderName(const Aws::String& value) { m_developerProviderNameHasBeenSet = true; m_developerProviderName = value; } /** *

The "domain" by which Cognito will refer to your users. This is a (pseudo) * domain name that you provide while creating an identity pool. This name acts as * a placeholder that allows your backend and the Cognito service to communicate * about the developer provider. For the DeveloperProviderName, you * can use letters as well as period (.), underscore (_), and dash (-).

*/ inline void SetDeveloperProviderName(Aws::String&& value) { m_developerProviderNameHasBeenSet = true; m_developerProviderName = std::move(value); } /** *

The "domain" by which Cognito will refer to your users. This is a (pseudo) * domain name that you provide while creating an identity pool. This name acts as * a placeholder that allows your backend and the Cognito service to communicate * about the developer provider. For the DeveloperProviderName, you * can use letters as well as period (.), underscore (_), and dash (-).

*/ inline void SetDeveloperProviderName(const char* value) { m_developerProviderNameHasBeenSet = true; m_developerProviderName.assign(value); } /** *

The "domain" by which Cognito will refer to your users. This is a (pseudo) * domain name that you provide while creating an identity pool. This name acts as * a placeholder that allows your backend and the Cognito service to communicate * about the developer provider. For the DeveloperProviderName, you * can use letters as well as period (.), underscore (_), and dash (-).

*/ inline MergeDeveloperIdentitiesRequest& WithDeveloperProviderName(const Aws::String& value) { SetDeveloperProviderName(value); return *this;} /** *

The "domain" by which Cognito will refer to your users. This is a (pseudo) * domain name that you provide while creating an identity pool. This name acts as * a placeholder that allows your backend and the Cognito service to communicate * about the developer provider. For the DeveloperProviderName, you * can use letters as well as period (.), underscore (_), and dash (-).

*/ inline MergeDeveloperIdentitiesRequest& WithDeveloperProviderName(Aws::String&& value) { SetDeveloperProviderName(std::move(value)); return *this;} /** *

The "domain" by which Cognito will refer to your users. This is a (pseudo) * domain name that you provide while creating an identity pool. This name acts as * a placeholder that allows your backend and the Cognito service to communicate * about the developer provider. For the DeveloperProviderName, you * can use letters as well as period (.), underscore (_), and dash (-).

*/ inline MergeDeveloperIdentitiesRequest& WithDeveloperProviderName(const char* value) { SetDeveloperProviderName(value); return *this;} /** *

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 MergeDeveloperIdentitiesRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;} /** *

An identity pool ID in the format REGION:GUID.

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

An identity pool ID in the format REGION:GUID.

*/ inline MergeDeveloperIdentitiesRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;} private: Aws::String m_sourceUserIdentifier; bool m_sourceUserIdentifierHasBeenSet = false; Aws::String m_destinationUserIdentifier; bool m_destinationUserIdentifierHasBeenSet = false; Aws::String m_developerProviderName; bool m_developerProviderNameHasBeenSet = false; Aws::String m_identityPoolId; bool m_identityPoolIdHasBeenSet = false; }; } // namespace Model } // namespace CognitoIdentity } // namespace Aws