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

The attributes of an Endpoint.

See Also:

AWS * API Reference

*/ class EndpointAttributes { public: AWS_CHIMESDKIDENTITY_API EndpointAttributes(); AWS_CHIMESDKIDENTITY_API EndpointAttributes(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKIDENTITY_API EndpointAttributes& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIMESDKIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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