/**
* 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 APNs (Apple Push Notification
* service) VoIP sandbox channel for an application.See Also:
AWS
* API Reference
The bundle identifier that's assigned to your iOS app. This identifier is * used for APNs tokens.
*/ inline const Aws::String& GetBundleId() const{ return m_bundleId; } /** *The bundle identifier that's assigned to your iOS app. This identifier is * used for APNs tokens.
*/ inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; } /** *The bundle identifier that's assigned to your iOS app. This identifier is * used for APNs tokens.
*/ inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; } /** *The bundle identifier that's assigned to your iOS app. This identifier is * used for APNs tokens.
*/ inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); } /** *The bundle identifier that's assigned to your iOS app. This identifier is * used for APNs tokens.
*/ inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); } /** *The bundle identifier that's assigned to your iOS app. This identifier is * used for APNs tokens.
*/ inline APNSVoipSandboxChannelRequest& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;} /** *The bundle identifier that's assigned to your iOS app. This identifier is * used for APNs tokens.
*/ inline APNSVoipSandboxChannelRequest& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;} /** *The bundle identifier that's assigned to your iOS app. This identifier is * used for APNs tokens.
*/ inline APNSVoipSandboxChannelRequest& WithBundleId(const char* value) { SetBundleId(value); return *this;} /** *The APNs client certificate that you received from Apple, if you want Amazon * Pinpoint to communicate with the APNs sandbox environment by using an APNs * certificate.
*/ inline const Aws::String& GetCertificate() const{ return m_certificate; } /** *The APNs client certificate that you received from Apple, if you want Amazon * Pinpoint to communicate with the APNs sandbox environment by using an APNs * certificate.
*/ inline bool CertificateHasBeenSet() const { return m_certificateHasBeenSet; } /** *The APNs client certificate that you received from Apple, if you want Amazon * Pinpoint to communicate with the APNs sandbox environment by using an APNs * certificate.
*/ inline void SetCertificate(const Aws::String& value) { m_certificateHasBeenSet = true; m_certificate = value; } /** *The APNs client certificate that you received from Apple, if you want Amazon * Pinpoint to communicate with the APNs sandbox environment by using an APNs * certificate.
*/ inline void SetCertificate(Aws::String&& value) { m_certificateHasBeenSet = true; m_certificate = std::move(value); } /** *The APNs client certificate that you received from Apple, if you want Amazon * Pinpoint to communicate with the APNs sandbox environment by using an APNs * certificate.
*/ inline void SetCertificate(const char* value) { m_certificateHasBeenSet = true; m_certificate.assign(value); } /** *The APNs client certificate that you received from Apple, if you want Amazon * Pinpoint to communicate with the APNs sandbox environment by using an APNs * certificate.
*/ inline APNSVoipSandboxChannelRequest& WithCertificate(const Aws::String& value) { SetCertificate(value); return *this;} /** *The APNs client certificate that you received from Apple, if you want Amazon * Pinpoint to communicate with the APNs sandbox environment by using an APNs * certificate.
*/ inline APNSVoipSandboxChannelRequest& WithCertificate(Aws::String&& value) { SetCertificate(std::move(value)); return *this;} /** *The APNs client certificate that you received from Apple, if you want Amazon * Pinpoint to communicate with the APNs sandbox environment by using an APNs * certificate.
*/ inline APNSVoipSandboxChannelRequest& WithCertificate(const char* value) { SetCertificate(value); return *this;} /** *The default authentication method that you want Amazon Pinpoint to use when * authenticating with the APNs sandbox environment for this channel, key or * certificate.
*/ inline const Aws::String& GetDefaultAuthenticationMethod() const{ return m_defaultAuthenticationMethod; } /** *The default authentication method that you want Amazon Pinpoint to use when * authenticating with the APNs sandbox environment for this channel, key or * certificate.
*/ inline bool DefaultAuthenticationMethodHasBeenSet() const { return m_defaultAuthenticationMethodHasBeenSet; } /** *The default authentication method that you want Amazon Pinpoint to use when * authenticating with the APNs sandbox environment for this channel, key or * certificate.
*/ inline void SetDefaultAuthenticationMethod(const Aws::String& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = value; } /** *The default authentication method that you want Amazon Pinpoint to use when * authenticating with the APNs sandbox environment for this channel, key or * certificate.
*/ inline void SetDefaultAuthenticationMethod(Aws::String&& value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod = std::move(value); } /** *The default authentication method that you want Amazon Pinpoint to use when * authenticating with the APNs sandbox environment for this channel, key or * certificate.
*/ inline void SetDefaultAuthenticationMethod(const char* value) { m_defaultAuthenticationMethodHasBeenSet = true; m_defaultAuthenticationMethod.assign(value); } /** *The default authentication method that you want Amazon Pinpoint to use when * authenticating with the APNs sandbox environment for this channel, key or * certificate.
*/ inline APNSVoipSandboxChannelRequest& WithDefaultAuthenticationMethod(const Aws::String& value) { SetDefaultAuthenticationMethod(value); return *this;} /** *The default authentication method that you want Amazon Pinpoint to use when * authenticating with the APNs sandbox environment for this channel, key or * certificate.
*/ inline APNSVoipSandboxChannelRequest& WithDefaultAuthenticationMethod(Aws::String&& value) { SetDefaultAuthenticationMethod(std::move(value)); return *this;} /** *The default authentication method that you want Amazon Pinpoint to use when * authenticating with the APNs sandbox environment for this channel, key or * certificate.
*/ inline APNSVoipSandboxChannelRequest& WithDefaultAuthenticationMethod(const char* value) { SetDefaultAuthenticationMethod(value); return *this;} /** *Specifies whether the APNs VoIP sandbox channel is enabled for the * application.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Specifies whether the APNs VoIP sandbox channel is enabled for the * application.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Specifies whether the APNs VoIP sandbox channel is enabled for the * application.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Specifies whether the APNs VoIP sandbox channel is enabled for the * application.
*/ inline APNSVoipSandboxChannelRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *The private key for the APNs client certificate that you want Amazon Pinpoint * to use to communicate with the APNs sandbox environment.
*/ inline const Aws::String& GetPrivateKey() const{ return m_privateKey; } /** *The private key for the APNs client certificate that you want Amazon Pinpoint * to use to communicate with the APNs sandbox environment.
*/ inline bool PrivateKeyHasBeenSet() const { return m_privateKeyHasBeenSet; } /** *The private key for the APNs client certificate that you want Amazon Pinpoint * to use to communicate with the APNs sandbox environment.
*/ inline void SetPrivateKey(const Aws::String& value) { m_privateKeyHasBeenSet = true; m_privateKey = value; } /** *The private key for the APNs client certificate that you want Amazon Pinpoint * to use to communicate with the APNs sandbox environment.
*/ inline void SetPrivateKey(Aws::String&& value) { m_privateKeyHasBeenSet = true; m_privateKey = std::move(value); } /** *The private key for the APNs client certificate that you want Amazon Pinpoint * to use to communicate with the APNs sandbox environment.
*/ inline void SetPrivateKey(const char* value) { m_privateKeyHasBeenSet = true; m_privateKey.assign(value); } /** *The private key for the APNs client certificate that you want Amazon Pinpoint * to use to communicate with the APNs sandbox environment.
*/ inline APNSVoipSandboxChannelRequest& WithPrivateKey(const Aws::String& value) { SetPrivateKey(value); return *this;} /** *The private key for the APNs client certificate that you want Amazon Pinpoint * to use to communicate with the APNs sandbox environment.
*/ inline APNSVoipSandboxChannelRequest& WithPrivateKey(Aws::String&& value) { SetPrivateKey(std::move(value)); return *this;} /** *The private key for the APNs client certificate that you want Amazon Pinpoint * to use to communicate with the APNs sandbox environment.
*/ inline APNSVoipSandboxChannelRequest& WithPrivateKey(const char* value) { SetPrivateKey(value); return *this;} /** *The identifier that's assigned to your Apple developer account team. This * identifier is used for APNs tokens.
*/ inline const Aws::String& GetTeamId() const{ return m_teamId; } /** *The identifier that's assigned to your Apple developer account team. This * identifier is used for APNs tokens.
*/ inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; } /** *The identifier that's assigned to your Apple developer account team. This * identifier is used for APNs tokens.
*/ inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; } /** *The identifier that's assigned to your Apple developer account team. This * identifier is used for APNs tokens.
*/ inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); } /** *The identifier that's assigned to your Apple developer account team. This * identifier is used for APNs tokens.
*/ inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); } /** *The identifier that's assigned to your Apple developer account team. This * identifier is used for APNs tokens.
*/ inline APNSVoipSandboxChannelRequest& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;} /** *The identifier that's assigned to your Apple developer account team. This * identifier is used for APNs tokens.
*/ inline APNSVoipSandboxChannelRequest& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;} /** *The identifier that's assigned to your Apple developer account team. This * identifier is used for APNs tokens.
*/ inline APNSVoipSandboxChannelRequest& WithTeamId(const char* value) { SetTeamId(value); return *this;} /** *The authentication key to use for APNs tokens.
*/ inline const Aws::String& GetTokenKey() const{ return m_tokenKey; } /** *The authentication key to use for APNs tokens.
*/ inline bool TokenKeyHasBeenSet() const { return m_tokenKeyHasBeenSet; } /** *The authentication key to use for APNs tokens.
*/ inline void SetTokenKey(const Aws::String& value) { m_tokenKeyHasBeenSet = true; m_tokenKey = value; } /** *The authentication key to use for APNs tokens.
*/ inline void SetTokenKey(Aws::String&& value) { m_tokenKeyHasBeenSet = true; m_tokenKey = std::move(value); } /** *The authentication key to use for APNs tokens.
*/ inline void SetTokenKey(const char* value) { m_tokenKeyHasBeenSet = true; m_tokenKey.assign(value); } /** *The authentication key to use for APNs tokens.
*/ inline APNSVoipSandboxChannelRequest& WithTokenKey(const Aws::String& value) { SetTokenKey(value); return *this;} /** *The authentication key to use for APNs tokens.
*/ inline APNSVoipSandboxChannelRequest& WithTokenKey(Aws::String&& value) { SetTokenKey(std::move(value)); return *this;} /** *The authentication key to use for APNs tokens.
*/ inline APNSVoipSandboxChannelRequest& WithTokenKey(const char* value) { SetTokenKey(value); return *this;} /** *The key identifier that's assigned to your APNs signing key, if you want * Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs * tokens.
*/ inline const Aws::String& GetTokenKeyId() const{ return m_tokenKeyId; } /** *The key identifier that's assigned to your APNs signing key, if you want * Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs * tokens.
*/ inline bool TokenKeyIdHasBeenSet() const { return m_tokenKeyIdHasBeenSet; } /** *The key identifier that's assigned to your APNs signing key, if you want * Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs * tokens.
*/ inline void SetTokenKeyId(const Aws::String& value) { m_tokenKeyIdHasBeenSet = true; m_tokenKeyId = value; } /** *The key identifier that's assigned to your APNs signing key, if you want * Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs * tokens.
*/ inline void SetTokenKeyId(Aws::String&& value) { m_tokenKeyIdHasBeenSet = true; m_tokenKeyId = std::move(value); } /** *The key identifier that's assigned to your APNs signing key, if you want * Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs * tokens.
*/ inline void SetTokenKeyId(const char* value) { m_tokenKeyIdHasBeenSet = true; m_tokenKeyId.assign(value); } /** *The key identifier that's assigned to your APNs signing key, if you want * Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs * tokens.
*/ inline APNSVoipSandboxChannelRequest& WithTokenKeyId(const Aws::String& value) { SetTokenKeyId(value); return *this;} /** *The key identifier that's assigned to your APNs signing key, if you want * Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs * tokens.
*/ inline APNSVoipSandboxChannelRequest& WithTokenKeyId(Aws::String&& value) { SetTokenKeyId(std::move(value)); return *this;} /** *The key identifier that's assigned to your APNs signing key, if you want * Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs * tokens.
*/ inline APNSVoipSandboxChannelRequest& WithTokenKeyId(const char* value) { SetTokenKeyId(value); return *this;} private: Aws::String m_bundleId; bool m_bundleIdHasBeenSet = false; Aws::String m_certificate; bool m_certificateHasBeenSet = false; Aws::String m_defaultAuthenticationMethod; bool m_defaultAuthenticationMethodHasBeenSet = false; bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_privateKey; bool m_privateKeyHasBeenSet = false; Aws::String m_teamId; bool m_teamIdHasBeenSet = false; Aws::String m_tokenKey; bool m_tokenKeyHasBeenSet = false; Aws::String m_tokenKeyId; bool m_tokenKeyIdHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws