This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-chime/include/aws/chime/model/UserSettings.h

80 lines
2.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
#include <aws/chime/model/TelephonySettings.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Chime
{
namespace Model
{
/**
* <p>Settings associated with an Amazon Chime user, including inbound and outbound
* calling and text messaging.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UserSettings">AWS
* API Reference</a></p>
*/
class AWS_CHIME_API UserSettings
{
public:
UserSettings();
UserSettings(Aws::Utils::Json::JsonView jsonValue);
UserSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The telephony settings associated with the user.</p>
*/
inline const TelephonySettings& GetTelephony() const{ return m_telephony; }
/**
* <p>The telephony settings associated with the user.</p>
*/
inline bool TelephonyHasBeenSet() const { return m_telephonyHasBeenSet; }
/**
* <p>The telephony settings associated with the user.</p>
*/
inline void SetTelephony(const TelephonySettings& value) { m_telephonyHasBeenSet = true; m_telephony = value; }
/**
* <p>The telephony settings associated with the user.</p>
*/
inline void SetTelephony(TelephonySettings&& value) { m_telephonyHasBeenSet = true; m_telephony = std::move(value); }
/**
* <p>The telephony settings associated with the user.</p>
*/
inline UserSettings& WithTelephony(const TelephonySettings& value) { SetTelephony(value); return *this;}
/**
* <p>The telephony settings associated with the user.</p>
*/
inline UserSettings& WithTelephony(TelephonySettings&& value) { SetTelephony(std::move(value)); return *this;}
private:
TelephonySettings m_telephony;
bool m_telephonyHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws