/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Chime { namespace Model { /** *

Settings associated with an Amazon Chime user, including inbound and outbound * calling and text messaging.

See Also:

AWS * API Reference

*/ class UserSettings { public: AWS_CHIME_API UserSettings(); AWS_CHIME_API UserSettings(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API UserSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The telephony settings associated with the user.

*/ inline const TelephonySettings& GetTelephony() const{ return m_telephony; } /** *

The telephony settings associated with the user.

*/ inline bool TelephonyHasBeenSet() const { return m_telephonyHasBeenSet; } /** *

The telephony settings associated with the user.

*/ inline void SetTelephony(const TelephonySettings& value) { m_telephonyHasBeenSet = true; m_telephony = value; } /** *

The telephony settings associated with the user.

*/ inline void SetTelephony(TelephonySettings&& value) { m_telephonyHasBeenSet = true; m_telephony = std::move(value); } /** *

The telephony settings associated with the user.

*/ inline UserSettings& WithTelephony(const TelephonySettings& value) { SetTelephony(value); return *this;} /** *

The telephony settings associated with the user.

*/ inline UserSettings& WithTelephony(TelephonySettings&& value) { SetTelephony(std::move(value)); return *this;} private: TelephonySettings m_telephony; bool m_telephonyHasBeenSet = false; }; } // namespace Model } // namespace Chime } // namespace Aws