/** * 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 Pinpoint { namespace Model { /** *

Specifies the status and settings of the ADM (Amazon Device Messaging) * channel for an application.

See Also:

AWS * API Reference

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

The Client ID that you received from Amazon to send messages by using * ADM.

*/ inline const Aws::String& GetClientId() const{ return m_clientId; } /** *

The Client ID that you received from Amazon to send messages by using * ADM.

*/ inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; } /** *

The Client ID that you received from Amazon to send messages by using * ADM.

*/ inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; } /** *

The Client ID that you received from Amazon to send messages by using * ADM.

*/ inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); } /** *

The Client ID that you received from Amazon to send messages by using * ADM.

*/ inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); } /** *

The Client ID that you received from Amazon to send messages by using * ADM.

*/ inline ADMChannelRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;} /** *

The Client ID that you received from Amazon to send messages by using * ADM.

*/ inline ADMChannelRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;} /** *

The Client ID that you received from Amazon to send messages by using * ADM.

*/ inline ADMChannelRequest& WithClientId(const char* value) { SetClientId(value); return *this;} /** *

The Client Secret that you received from Amazon to send messages by using * ADM.

*/ inline const Aws::String& GetClientSecret() const{ return m_clientSecret; } /** *

The Client Secret that you received from Amazon to send messages by using * ADM.

*/ inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; } /** *

The Client Secret that you received from Amazon to send messages by using * ADM.

*/ inline void SetClientSecret(const Aws::String& value) { m_clientSecretHasBeenSet = true; m_clientSecret = value; } /** *

The Client Secret that you received from Amazon to send messages by using * ADM.

*/ inline void SetClientSecret(Aws::String&& value) { m_clientSecretHasBeenSet = true; m_clientSecret = std::move(value); } /** *

The Client Secret that you received from Amazon to send messages by using * ADM.

*/ inline void SetClientSecret(const char* value) { m_clientSecretHasBeenSet = true; m_clientSecret.assign(value); } /** *

The Client Secret that you received from Amazon to send messages by using * ADM.

*/ inline ADMChannelRequest& WithClientSecret(const Aws::String& value) { SetClientSecret(value); return *this;} /** *

The Client Secret that you received from Amazon to send messages by using * ADM.

*/ inline ADMChannelRequest& WithClientSecret(Aws::String&& value) { SetClientSecret(std::move(value)); return *this;} /** *

The Client Secret that you received from Amazon to send messages by using * ADM.

*/ inline ADMChannelRequest& WithClientSecret(const char* value) { SetClientSecret(value); return *this;} /** *

Specifies whether to enable the ADM channel for the application.

*/ inline bool GetEnabled() const{ return m_enabled; } /** *

Specifies whether to enable the ADM channel for the application.

*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *

Specifies whether to enable the ADM channel for the application.

*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *

Specifies whether to enable the ADM channel for the application.

*/ inline ADMChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} private: Aws::String m_clientId; bool m_clientIdHasBeenSet = false; Aws::String m_clientSecret; bool m_clientSecretHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws