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

#pragma once
#include <aws/chime/Chime_EXPORTS.h>

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

  /**
   * <p>Settings related to the Amazon Chime account. This includes settings that
   * start or stop remote control of shared screens, or start or stop the dial-out
   * option in the Amazon Chime web application. For more information about these
   * settings, see <a
   * href="https://docs.aws.amazon.com/chime/latest/ag/policies.html">Use the
   * Policies Page</a> in the <i>Amazon Chime Administration Guide</i>.</p><p><h3>See
   * Also:</h3>   <a
   * href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AccountSettings">AWS
   * API Reference</a></p>
   */
  class AccountSettings
  {
  public:
    AWS_CHIME_API AccountSettings() = default;
    AWS_CHIME_API AccountSettings(Aws::Utils::Json::JsonView jsonValue);
    AWS_CHIME_API AccountSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
    AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;


    ///@{
    /**
     * <p>Setting that stops or starts remote control of shared screens during
     * meetings.</p>
     */
    inline bool GetDisableRemoteControl() const { return m_disableRemoteControl; }
    inline bool DisableRemoteControlHasBeenSet() const { return m_disableRemoteControlHasBeenSet; }
    inline void SetDisableRemoteControl(bool value) { m_disableRemoteControlHasBeenSet = true; m_disableRemoteControl = value; }
    inline AccountSettings& WithDisableRemoteControl(bool value) { SetDisableRemoteControl(value); return *this;}
    ///@}

    ///@{
    /**
     * <p>Setting that allows meeting participants to choose the <b>Call me at a phone
     * number</b> option. For more information, see <a
     * href="https://docs.aws.amazon.com/chime/latest/ug/chime-join-meeting.html">Join
     * a Meeting without the Amazon Chime App</a>.</p>
     */
    inline bool GetEnableDialOut() const { return m_enableDialOut; }
    inline bool EnableDialOutHasBeenSet() const { return m_enableDialOutHasBeenSet; }
    inline void SetEnableDialOut(bool value) { m_enableDialOutHasBeenSet = true; m_enableDialOut = value; }
    inline AccountSettings& WithEnableDialOut(bool value) { SetEnableDialOut(value); return *this;}
    ///@}
  private:

    bool m_disableRemoteControl{false};
    bool m_disableRemoteControlHasBeenSet = false;

    bool m_enableDialOut{false};
    bool m_enableDialOutHasBeenSet = false;
  };

} // namespace Model
} // namespace Chime
} // namespace Aws
