/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/cognito-identity/CognitoIdentity_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CognitoIdentity { namespace Model { /** * <p>Returned in response to a successful <code>MergeDeveloperIdentities</code> * action.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentitiesResponse">AWS * API Reference</a></p> */ class MergeDeveloperIdentitiesResult { public: AWS_COGNITOIDENTITY_API MergeDeveloperIdentitiesResult(); AWS_COGNITOIDENTITY_API MergeDeveloperIdentitiesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); AWS_COGNITOIDENTITY_API MergeDeveloperIdentitiesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); /** * <p>A unique identifier in the format REGION:GUID.</p> */ inline const Aws::String& GetIdentityId() const{ return m_identityId; } /** * <p>A unique identifier in the format REGION:GUID.</p> */ inline void SetIdentityId(const Aws::String& value) { m_identityId = value; } /** * <p>A unique identifier in the format REGION:GUID.</p> */ inline void SetIdentityId(Aws::String&& value) { m_identityId = std::move(value); } /** * <p>A unique identifier in the format REGION:GUID.</p> */ inline void SetIdentityId(const char* value) { m_identityId.assign(value); } /** * <p>A unique identifier in the format REGION:GUID.</p> */ inline MergeDeveloperIdentitiesResult& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;} /** * <p>A unique identifier in the format REGION:GUID.</p> */ inline MergeDeveloperIdentitiesResult& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;} /** * <p>A unique identifier in the format REGION:GUID.</p> */ inline MergeDeveloperIdentitiesResult& WithIdentityId(const char* value) { SetIdentityId(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 MergeDeveloperIdentitiesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline MergeDeveloperIdentitiesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline MergeDeveloperIdentitiesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_identityId; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentity } // namespace Aws