/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Input for CreatePlatformEndpoint action.See Also:
AWS
* API Reference
PlatformApplicationArn
returned from CreatePlatformApplication
* is used to create a an endpoint.
PlatformApplicationArn
returned from CreatePlatformApplication
* is used to create a an endpoint.
PlatformApplicationArn
returned from CreatePlatformApplication
* is used to create a an endpoint.
PlatformApplicationArn
returned from CreatePlatformApplication
* is used to create a an endpoint.
PlatformApplicationArn
returned from CreatePlatformApplication
* is used to create a an endpoint.
PlatformApplicationArn
returned from CreatePlatformApplication
* is used to create a an endpoint.
PlatformApplicationArn
returned from CreatePlatformApplication
* is used to create a an endpoint.
PlatformApplicationArn
returned from CreatePlatformApplication
* is used to create a an endpoint.
Unique identifier created by the notification service for an app on a device. * The specific name for Token will vary, depending on which notification service * is being used. For example, when using APNS as the notification service, you * need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) * or ADM, the device token equivalent is called the registration ID.
*/ inline const Aws::String& GetToken() const{ return m_token; } /** *Unique identifier created by the notification service for an app on a device. * The specific name for Token will vary, depending on which notification service * is being used. For example, when using APNS as the notification service, you * need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) * or ADM, the device token equivalent is called the registration ID.
*/ inline bool TokenHasBeenSet() const { return m_tokenHasBeenSet; } /** *Unique identifier created by the notification service for an app on a device. * The specific name for Token will vary, depending on which notification service * is being used. For example, when using APNS as the notification service, you * need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) * or ADM, the device token equivalent is called the registration ID.
*/ inline void SetToken(const Aws::String& value) { m_tokenHasBeenSet = true; m_token = value; } /** *Unique identifier created by the notification service for an app on a device. * The specific name for Token will vary, depending on which notification service * is being used. For example, when using APNS as the notification service, you * need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) * or ADM, the device token equivalent is called the registration ID.
*/ inline void SetToken(Aws::String&& value) { m_tokenHasBeenSet = true; m_token = std::move(value); } /** *Unique identifier created by the notification service for an app on a device. * The specific name for Token will vary, depending on which notification service * is being used. For example, when using APNS as the notification service, you * need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) * or ADM, the device token equivalent is called the registration ID.
*/ inline void SetToken(const char* value) { m_tokenHasBeenSet = true; m_token.assign(value); } /** *Unique identifier created by the notification service for an app on a device. * The specific name for Token will vary, depending on which notification service * is being used. For example, when using APNS as the notification service, you * need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) * or ADM, the device token equivalent is called the registration ID.
*/ inline CreatePlatformEndpointRequest& WithToken(const Aws::String& value) { SetToken(value); return *this;} /** *Unique identifier created by the notification service for an app on a device. * The specific name for Token will vary, depending on which notification service * is being used. For example, when using APNS as the notification service, you * need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) * or ADM, the device token equivalent is called the registration ID.
*/ inline CreatePlatformEndpointRequest& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;} /** *Unique identifier created by the notification service for an app on a device. * The specific name for Token will vary, depending on which notification service * is being used. For example, when using APNS as the notification service, you * need the device token. Alternatively, when using GCM (Firebase Cloud Messaging) * or ADM, the device token equivalent is called the registration ID.
*/ inline CreatePlatformEndpointRequest& WithToken(const char* value) { SetToken(value); return *this;} /** *Arbitrary user data to associate with the endpoint. Amazon SNS does not use * this data. The data must be in UTF-8 format and less than 2KB.
*/ inline const Aws::String& GetCustomUserData() const{ return m_customUserData; } /** *Arbitrary user data to associate with the endpoint. Amazon SNS does not use * this data. The data must be in UTF-8 format and less than 2KB.
*/ inline bool CustomUserDataHasBeenSet() const { return m_customUserDataHasBeenSet; } /** *Arbitrary user data to associate with the endpoint. Amazon SNS does not use * this data. The data must be in UTF-8 format and less than 2KB.
*/ inline void SetCustomUserData(const Aws::String& value) { m_customUserDataHasBeenSet = true; m_customUserData = value; } /** *Arbitrary user data to associate with the endpoint. Amazon SNS does not use * this data. The data must be in UTF-8 format and less than 2KB.
*/ inline void SetCustomUserData(Aws::String&& value) { m_customUserDataHasBeenSet = true; m_customUserData = std::move(value); } /** *Arbitrary user data to associate with the endpoint. Amazon SNS does not use * this data. The data must be in UTF-8 format and less than 2KB.
*/ inline void SetCustomUserData(const char* value) { m_customUserDataHasBeenSet = true; m_customUserData.assign(value); } /** *Arbitrary user data to associate with the endpoint. Amazon SNS does not use * this data. The data must be in UTF-8 format and less than 2KB.
*/ inline CreatePlatformEndpointRequest& WithCustomUserData(const Aws::String& value) { SetCustomUserData(value); return *this;} /** *Arbitrary user data to associate with the endpoint. Amazon SNS does not use * this data. The data must be in UTF-8 format and less than 2KB.
*/ inline CreatePlatformEndpointRequest& WithCustomUserData(Aws::String&& value) { SetCustomUserData(std::move(value)); return *this;} /** *Arbitrary user data to associate with the endpoint. Amazon SNS does not use * this data. The data must be in UTF-8 format and less than 2KB.
*/ inline CreatePlatformEndpointRequest& WithCustomUserData(const char* value) { SetCustomUserData(value); return *this;} /** *For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.
For a list of attributes, see
* SetEndpointAttributes
.