/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A request to SubscribeToDatasetRequest.See Also:
AWS
* API Reference
A name-spaced GUID (for example, * us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The * ID of the pool to which the identity belongs.
*/ 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. The * ID of the pool to which the identity belongs.
*/ 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. The * ID of the pool to which the identity belongs.
*/ 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. The * ID of the pool to which the identity belongs.
*/ 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. The * ID of the pool to which the identity belongs.
*/ 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. The * ID of the pool to which the identity belongs.
*/ inline SubscribeToDatasetRequest& 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. The * ID of the pool to which the identity belongs.
*/ inline SubscribeToDatasetRequest& 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. The * ID of the pool to which the identity belongs.
*/ inline SubscribeToDatasetRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;} /** *Unique ID for this identity.
*/ inline const Aws::String& GetIdentityId() const{ return m_identityId; } /** *Unique ID for this identity.
*/ inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; } /** *Unique ID for this identity.
*/ inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; } /** *Unique ID for this identity.
*/ inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); } /** *Unique ID for this identity.
*/ inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); } /** *Unique ID for this identity.
*/ inline SubscribeToDatasetRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;} /** *Unique ID for this identity.
*/ inline SubscribeToDatasetRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;} /** *Unique ID for this identity.
*/ inline SubscribeToDatasetRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;} /** *The name of the dataset to subcribe to.
*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *The name of the dataset to subcribe to.
*/ inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; } /** *The name of the dataset to subcribe to.
*/ inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; } /** *The name of the dataset to subcribe to.
*/ inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); } /** *The name of the dataset to subcribe to.
*/ inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); } /** *The name of the dataset to subcribe to.
*/ inline SubscribeToDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *The name of the dataset to subcribe to.
*/ inline SubscribeToDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *The name of the dataset to subcribe to.
*/ inline SubscribeToDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *The unique ID generated for this device by Cognito.
*/ inline const Aws::String& GetDeviceId() const{ return m_deviceId; } /** *The unique ID generated for this device by Cognito.
*/ inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } /** *The unique ID generated for this device by Cognito.
*/ inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } /** *The unique ID generated for this device by Cognito.
*/ inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } /** *The unique ID generated for this device by Cognito.
*/ inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } /** *The unique ID generated for this device by Cognito.
*/ inline SubscribeToDatasetRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} /** *The unique ID generated for this device by Cognito.
*/ inline SubscribeToDatasetRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} /** *The unique ID generated for this device by Cognito.
*/ inline SubscribeToDatasetRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} private: Aws::String m_identityPoolId; bool m_identityPoolIdHasBeenSet = false; Aws::String m_identityId; bool m_identityIdHasBeenSet = false; Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; }; } // namespace Model } // namespace CognitoSync } // namespace Aws