/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input for the SetIdentityPoolConfiguration operation.See
* Also:
AWS
* API Reference
A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This * is the ID of the pool to modify.
*/ 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. This * is the ID of the pool to modify.
*/ inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; } /** *A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This * is the ID of the pool to modify.
*/ inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; } /** *A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This * is the ID of the pool to modify.
*/ inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); } /** *A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This * is the ID of the pool to modify.
*/ inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); } /** *A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. This * is the ID of the pool to modify.
*/ inline SetIdentityPoolConfigurationRequest& 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. This * is the ID of the pool to modify.
*/ inline SetIdentityPoolConfigurationRequest& 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. This * is the ID of the pool to modify.
*/ inline SetIdentityPoolConfigurationRequest& 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 bool PushSyncHasBeenSet() const { return m_pushSyncHasBeenSet; } /** *Options to apply to this identity pool for push synchronization.
*/ inline void SetPushSync(const PushSync& value) { m_pushSyncHasBeenSet = true; m_pushSync = value; } /** *Options to apply to this identity pool for push synchronization.
*/ inline void SetPushSync(PushSync&& value) { m_pushSyncHasBeenSet = true; m_pushSync = std::move(value); } /** *Options to apply to this identity pool for push synchronization.
*/ inline SetIdentityPoolConfigurationRequest& WithPushSync(const PushSync& value) { SetPushSync(value); return *this;} /** *Options to apply to this identity pool for push synchronization.
*/ inline SetIdentityPoolConfigurationRequest& 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 bool CognitoStreamsHasBeenSet() const { return m_cognitoStreamsHasBeenSet; } /** * Options to apply to this identity pool for Amazon Cognito streams. */ inline void SetCognitoStreams(const CognitoStreams& value) { m_cognitoStreamsHasBeenSet = true; m_cognitoStreams = value; } /** * Options to apply to this identity pool for Amazon Cognito streams. */ inline void SetCognitoStreams(CognitoStreams&& value) { m_cognitoStreamsHasBeenSet = true; m_cognitoStreams = std::move(value); } /** * Options to apply to this identity pool for Amazon Cognito streams. */ inline SetIdentityPoolConfigurationRequest& WithCognitoStreams(const CognitoStreams& value) { SetCognitoStreams(value); return *this;} /** * Options to apply to this identity pool for Amazon Cognito streams. */ inline SetIdentityPoolConfigurationRequest& WithCognitoStreams(CognitoStreams&& value) { SetCognitoStreams(std::move(value)); return *this;} private: Aws::String m_identityPoolId; bool m_identityPoolIdHasBeenSet = false; PushSync m_pushSync; bool m_pushSyncHasBeenSet = false; CognitoStreams m_cognitoStreams; bool m_cognitoStreamsHasBeenSet = false; }; } // namespace Model } // namespace CognitoSync } // namespace Aws