/**
* 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 Baidu (Baidu Cloud Push) channel for
* an application.See Also:
AWS
* API Reference
The API key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline const Aws::String& GetApiKey() const{ return m_apiKey; } /** *The API key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; } /** *The API key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; } /** *The API key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); } /** *The API key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); } /** *The API key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline BaiduChannelRequest& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;} /** *The API key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline BaiduChannelRequest& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;} /** *The API key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline BaiduChannelRequest& WithApiKey(const char* value) { SetApiKey(value); return *this;} /** *Specifies whether to enable the Baidu channel for the application.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Specifies whether to enable the Baidu channel for the application.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Specifies whether to enable the Baidu channel for the application.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Specifies whether to enable the Baidu channel for the application.
*/ inline BaiduChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *The secret key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline const Aws::String& GetSecretKey() const{ return m_secretKey; } /** *The secret key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline bool SecretKeyHasBeenSet() const { return m_secretKeyHasBeenSet; } /** *The secret key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline void SetSecretKey(const Aws::String& value) { m_secretKeyHasBeenSet = true; m_secretKey = value; } /** *The secret key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline void SetSecretKey(Aws::String&& value) { m_secretKeyHasBeenSet = true; m_secretKey = std::move(value); } /** *The secret key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline void SetSecretKey(const char* value) { m_secretKeyHasBeenSet = true; m_secretKey.assign(value); } /** *The secret key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline BaiduChannelRequest& WithSecretKey(const Aws::String& value) { SetSecretKey(value); return *this;} /** *The secret key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline BaiduChannelRequest& WithSecretKey(Aws::String&& value) { SetSecretKey(std::move(value)); return *this;} /** *The secret key that you received from the Baidu Cloud Push service to * communicate with the service.
*/ inline BaiduChannelRequest& WithSecretKey(const char* value) { SetSecretKey(value); return *this;} private: Aws::String m_apiKey; bool m_apiKeyHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_secretKey; bool m_secretKeyHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws