/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 GetId request.

See Also:

AWS * API Reference

*/ class AWS_COGNITOIDENTITY_API GetIdResult { public: GetIdResult(); GetIdResult(const Aws::AmazonWebServiceResult& result); GetIdResult& 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 GetIdResult& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;} /** *

A unique identifier in the format REGION:GUID.

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

A unique identifier in the format REGION:GUID.

*/ inline GetIdResult& WithIdentityId(const char* value) { SetIdentityId(value); return *this;} private: Aws::String m_identityId; }; } // namespace Model } // namespace CognitoIdentity } // namespace Aws