/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/workspaces/WorkSpaces_EXPORTS.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Json {
class JsonValue;
class JsonView;
}  // namespace Json
}  // namespace Utils
namespace WorkSpaces {
namespace Model {

/**
 * <p>The client branding attributes for iOS device types. These attributes are
 * displayed on the iOS client login screen only.</p>  <p>Client
 * branding attributes are public facing. Ensure you do not include sensitive
 * information.</p> <p><h3>See Also:</h3>   <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/IosClientBrandingAttributes">AWS
 * API Reference</a></p>
 */
class IosClientBrandingAttributes {
 public:
  AWS_WORKSPACES_API IosClientBrandingAttributes() = default;
  AWS_WORKSPACES_API IosClientBrandingAttributes(Aws::Utils::Json::JsonView jsonValue);
  AWS_WORKSPACES_API IosClientBrandingAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
  AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;

  ///@{
  /**
   * <p>The logo. This is the standard-resolution display that has a 1:1 pixel
   * density (or @1x), where one pixel is equal to one point. The only image format
   * accepted is a binary data object that is converted from a <code>.png</code>
   * file.</p>
   */
  inline const Aws::String& GetLogoUrl() const { return m_logoUrl; }
  inline bool LogoUrlHasBeenSet() const { return m_logoUrlHasBeenSet; }
  template <typename LogoUrlT = Aws::String>
  void SetLogoUrl(LogoUrlT&& value) {
    m_logoUrlHasBeenSet = true;
    m_logoUrl = std::forward<LogoUrlT>(value);
  }
  template <typename LogoUrlT = Aws::String>
  IosClientBrandingAttributes& WithLogoUrl(LogoUrlT&& value) {
    SetLogoUrl(std::forward<LogoUrlT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The @2x version of the logo. This is the higher resolution display that
   * offers a scale factor of 2.0 (or @2x). The only image format accepted is a
   * binary data object that is converted from a <code>.png</code> file.</p>
   * <p> For more information about iOS image size and resolution, see <a
   * href="https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/">Image
   * Size and Resolution </a> in the <i>Apple Human Interface Guidelines</i>.</p>
   *
   */
  inline const Aws::String& GetLogo2xUrl() const { return m_logo2xUrl; }
  inline bool Logo2xUrlHasBeenSet() const { return m_logo2xUrlHasBeenSet; }
  template <typename Logo2xUrlT = Aws::String>
  void SetLogo2xUrl(Logo2xUrlT&& value) {
    m_logo2xUrlHasBeenSet = true;
    m_logo2xUrl = std::forward<Logo2xUrlT>(value);
  }
  template <typename Logo2xUrlT = Aws::String>
  IosClientBrandingAttributes& WithLogo2xUrl(Logo2xUrlT&& value) {
    SetLogo2xUrl(std::forward<Logo2xUrlT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The @3x version of the logo. This is the higher resolution display that
   * offers a scale factor of 3.0 (or @3x).The only image format accepted is a binary
   * data object that is converted from a <code>.png</code> file.</p>  <p> For
   * more information about iOS image size and resolution, see <a
   * href="https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/">Image
   * Size and Resolution </a> in the <i>Apple Human Interface Guidelines</i>.</p>
   *
   */
  inline const Aws::String& GetLogo3xUrl() const { return m_logo3xUrl; }
  inline bool Logo3xUrlHasBeenSet() const { return m_logo3xUrlHasBeenSet; }
  template <typename Logo3xUrlT = Aws::String>
  void SetLogo3xUrl(Logo3xUrlT&& value) {
    m_logo3xUrlHasBeenSet = true;
    m_logo3xUrl = std::forward<Logo3xUrlT>(value);
  }
  template <typename Logo3xUrlT = Aws::String>
  IosClientBrandingAttributes& WithLogo3xUrl(Logo3xUrlT&& value) {
    SetLogo3xUrl(std::forward<Logo3xUrlT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The support email. The company's customer support email address.</p>
   * <ul> <li> <p>In each platform type, the <code>SupportEmail</code> and
   * <code>SupportLink</code> parameters are mutually exclusive. You can specify one
   * parameter for each platform type, but not both.</p> </li> <li> <p>The default
   * email is <code>workspaces-feedback@amazon.com</code>.</p> </li> </ul>
   */
  inline const Aws::String& GetSupportEmail() const { return m_supportEmail; }
  inline bool SupportEmailHasBeenSet() const { return m_supportEmailHasBeenSet; }
  template <typename SupportEmailT = Aws::String>
  void SetSupportEmail(SupportEmailT&& value) {
    m_supportEmailHasBeenSet = true;
    m_supportEmail = std::forward<SupportEmailT>(value);
  }
  template <typename SupportEmailT = Aws::String>
  IosClientBrandingAttributes& WithSupportEmail(SupportEmailT&& value) {
    SetSupportEmail(std::forward<SupportEmailT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The support link. The link for the company's customer support page for their
   * WorkSpace.</p>  <ul> <li> <p>In each platform type, the
   * <code>SupportEmail</code> and <code>SupportLink</code> parameters are mutually
   * exclusive. You can specify one parameter for each platform type, but not
   * both.</p> </li> <li> <p>The default support link is
   * <code>workspaces-feedback@amazon.com</code>.</p> </li> </ul>
   */
  inline const Aws::String& GetSupportLink() const { return m_supportLink; }
  inline bool SupportLinkHasBeenSet() const { return m_supportLinkHasBeenSet; }
  template <typename SupportLinkT = Aws::String>
  void SetSupportLink(SupportLinkT&& value) {
    m_supportLinkHasBeenSet = true;
    m_supportLink = std::forward<SupportLinkT>(value);
  }
  template <typename SupportLinkT = Aws::String>
  IosClientBrandingAttributes& WithSupportLink(SupportLinkT&& value) {
    SetSupportLink(std::forward<SupportLinkT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The forgotten password link. This is the web address that users can go to if
   * they forget the password for their WorkSpace.</p>
   */
  inline const Aws::String& GetForgotPasswordLink() const { return m_forgotPasswordLink; }
  inline bool ForgotPasswordLinkHasBeenSet() const { return m_forgotPasswordLinkHasBeenSet; }
  template <typename ForgotPasswordLinkT = Aws::String>
  void SetForgotPasswordLink(ForgotPasswordLinkT&& value) {
    m_forgotPasswordLinkHasBeenSet = true;
    m_forgotPasswordLink = std::forward<ForgotPasswordLinkT>(value);
  }
  template <typename ForgotPasswordLinkT = Aws::String>
  IosClientBrandingAttributes& WithForgotPasswordLink(ForgotPasswordLinkT&& value) {
    SetForgotPasswordLink(std::forward<ForgotPasswordLinkT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The login message. Specified as a key value pair, in which the key is a
   * locale and the value is the localized message for that locale. The only key
   * supported is <code>en_US</code>. The HTML tags supported include the following:
   * <code>a, b, blockquote, br, cite, code, dd, dl, dt, div, em, i, li, ol, p, pre,
   * q, small, span, strike, strong, sub, sup, u, ul</code>.</p>
   */
  inline const Aws::Map<Aws::String, Aws::String>& GetLoginMessage() const { return m_loginMessage; }
  inline bool LoginMessageHasBeenSet() const { return m_loginMessageHasBeenSet; }
  template <typename LoginMessageT = Aws::Map<Aws::String, Aws::String>>
  void SetLoginMessage(LoginMessageT&& value) {
    m_loginMessageHasBeenSet = true;
    m_loginMessage = std::forward<LoginMessageT>(value);
  }
  template <typename LoginMessageT = Aws::Map<Aws::String, Aws::String>>
  IosClientBrandingAttributes& WithLoginMessage(LoginMessageT&& value) {
    SetLoginMessage(std::forward<LoginMessageT>(value));
    return *this;
  }
  template <typename LoginMessageKeyT = Aws::String, typename LoginMessageValueT = Aws::String>
  IosClientBrandingAttributes& AddLoginMessage(LoginMessageKeyT&& key, LoginMessageValueT&& value) {
    m_loginMessageHasBeenSet = true;
    m_loginMessage.emplace(std::forward<LoginMessageKeyT>(key), std::forward<LoginMessageValueT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_logoUrl;

  Aws::String m_logo2xUrl;

  Aws::String m_logo3xUrl;

  Aws::String m_supportEmail;

  Aws::String m_supportLink;

  Aws::String m_forgotPasswordLink;

  Aws::Map<Aws::String, Aws::String> m_loginMessage;
  bool m_logoUrlHasBeenSet = false;
  bool m_logo2xUrlHasBeenSet = false;
  bool m_logo3xUrlHasBeenSet = false;
  bool m_supportEmailHasBeenSet = false;
  bool m_supportLinkHasBeenSet = false;
  bool m_forgotPasswordLinkHasBeenSet = false;
  bool m_loginMessageHasBeenSet = false;
};

}  // namespace Model
}  // namespace WorkSpaces
}  // namespace Aws
