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

The output for the GetIdentityPoolConfiguration operation.

See * Also:

AWS * API Reference

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

A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

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

A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

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

A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

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

A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

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

A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

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

A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

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

A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

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

Options to apply to this identity pool for push synchronization.

*/ inline const PushSync& GetPushSync() const{ return m_pushSync; } /** *

Options to apply to this identity pool for push synchronization.

*/ inline void SetPushSync(const PushSync& value) { m_pushSync = value; } /** *

Options to apply to this identity pool for push synchronization.

*/ inline void SetPushSync(PushSync&& value) { m_pushSync = std::move(value); } /** *

Options to apply to this identity pool for push synchronization.

*/ inline GetIdentityPoolConfigurationResult& WithPushSync(const PushSync& value) { SetPushSync(value); return *this;} /** *

Options to apply to this identity pool for push synchronization.

*/ inline GetIdentityPoolConfigurationResult& WithPushSync(PushSync&& value) { SetPushSync(std::move(value)); return *this;} /** * Options to apply to this identity pool for Amazon Cognito streams. */ inline const CognitoStreams& GetCognitoStreams() const{ return m_cognitoStreams; } /** * Options to apply to this identity pool for Amazon Cognito streams. */ inline void SetCognitoStreams(const CognitoStreams& value) { m_cognitoStreams = value; } /** * Options to apply to this identity pool for Amazon Cognito streams. */ inline void SetCognitoStreams(CognitoStreams&& value) { m_cognitoStreams = std::move(value); } /** * Options to apply to this identity pool for Amazon Cognito streams. */ inline GetIdentityPoolConfigurationResult& WithCognitoStreams(const CognitoStreams& value) { SetCognitoStreams(value); return *this;} /** * Options to apply to this identity pool for Amazon Cognito streams. */ inline GetIdentityPoolConfigurationResult& WithCognitoStreams(CognitoStreams&& value) { SetCognitoStreams(std::move(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 GetIdentityPoolConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetIdentityPoolConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetIdentityPoolConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_identityPoolId; PushSync m_pushSync; CognitoStreams m_cognitoStreams; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoSync } // namespace Aws