/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the status and settings of the GCM channel for an application. This
* channel enables Amazon Pinpoint to send push notifications through the Firebase
* Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM),
* service.See Also:
AWS
* API Reference
The Web API Key, also referred to as an API_KEY or server key, * that you received from Google to communicate with Google services.
*/ inline const Aws::String& GetApiKey() const{ return m_apiKey; } /** *The Web API Key, also referred to as an API_KEY or server key, * that you received from Google to communicate with Google services.
*/ inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; } /** *The Web API Key, also referred to as an API_KEY or server key, * that you received from Google to communicate with Google services.
*/ inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; } /** *The Web API Key, also referred to as an API_KEY or server key, * that you received from Google to communicate with Google services.
*/ inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); } /** *The Web API Key, also referred to as an API_KEY or server key, * that you received from Google to communicate with Google services.
*/ inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); } /** *The Web API Key, also referred to as an API_KEY or server key, * that you received from Google to communicate with Google services.
*/ inline GCMChannelRequest& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;} /** *The Web API Key, also referred to as an API_KEY or server key, * that you received from Google to communicate with Google services.
*/ inline GCMChannelRequest& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;} /** *The Web API Key, also referred to as an API_KEY or server key, * that you received from Google to communicate with Google services.
*/ inline GCMChannelRequest& WithApiKey(const char* value) { SetApiKey(value); return *this;} /** *Specifies whether to enable the GCM channel for the application.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Specifies whether to enable the GCM channel for the application.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Specifies whether to enable the GCM channel for the application.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Specifies whether to enable the GCM channel for the application.
*/ inline GCMChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} private: Aws::String m_apiKey; bool m_apiKeyHasBeenSet; bool m_enabled; bool m_enabledHasBeenSet; }; } // namespace Model } // namespace Pinpoint } // namespace Aws