/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The attributes of an Endpoint
.See Also:
AWS
* API Reference
The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
*/ inline const Aws::String& GetDeviceToken() const{ return m_deviceToken; } /** *The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
*/ inline bool DeviceTokenHasBeenSet() const { return m_deviceTokenHasBeenSet; } /** *The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
*/ inline void SetDeviceToken(const Aws::String& value) { m_deviceTokenHasBeenSet = true; m_deviceToken = value; } /** *The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
*/ inline void SetDeviceToken(Aws::String&& value) { m_deviceTokenHasBeenSet = true; m_deviceToken = std::move(value); } /** *The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
*/ inline void SetDeviceToken(const char* value) { m_deviceTokenHasBeenSet = true; m_deviceToken.assign(value); } /** *The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
*/ inline EndpointAttributes& WithDeviceToken(const Aws::String& value) { SetDeviceToken(value); return *this;} /** *The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
*/ inline EndpointAttributes& WithDeviceToken(Aws::String&& value) { SetDeviceToken(std::move(value)); return *this;} /** *The device token for the GCM, APNS, and APNS_SANDBOX endpoint types.
*/ inline EndpointAttributes& WithDeviceToken(const char* value) { SetDeviceToken(value); return *this;} /** *The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
*/ inline const Aws::String& GetVoipDeviceToken() const{ return m_voipDeviceToken; } /** *The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
*/ inline bool VoipDeviceTokenHasBeenSet() const { return m_voipDeviceTokenHasBeenSet; } /** *The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
*/ inline void SetVoipDeviceToken(const Aws::String& value) { m_voipDeviceTokenHasBeenSet = true; m_voipDeviceToken = value; } /** *The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
*/ inline void SetVoipDeviceToken(Aws::String&& value) { m_voipDeviceTokenHasBeenSet = true; m_voipDeviceToken = std::move(value); } /** *The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
*/ inline void SetVoipDeviceToken(const char* value) { m_voipDeviceTokenHasBeenSet = true; m_voipDeviceToken.assign(value); } /** *The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
*/ inline EndpointAttributes& WithVoipDeviceToken(const Aws::String& value) { SetVoipDeviceToken(value); return *this;} /** *The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
*/ inline EndpointAttributes& WithVoipDeviceToken(Aws::String&& value) { SetVoipDeviceToken(std::move(value)); return *this;} /** *The VOIP device token for the APNS and APNS_SANDBOX endpoint types.
*/ inline EndpointAttributes& WithVoipDeviceToken(const char* value) { SetVoipDeviceToken(value); return *this;} private: Aws::String m_deviceToken; bool m_deviceTokenHasBeenSet = false; Aws::String m_voipDeviceToken; bool m_voipDeviceTokenHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKIdentity } // namespace Aws