AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UserSettings.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/TelephonySettings.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Chime {
20namespace Model {
21
29 public:
30 AWS_CHIME_API UserSettings() = default;
31 AWS_CHIME_API UserSettings(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const TelephonySettings& GetTelephony() const { return m_telephony; }
40 inline bool TelephonyHasBeenSet() const { return m_telephonyHasBeenSet; }
41 template <typename TelephonyT = TelephonySettings>
42 void SetTelephony(TelephonyT&& value) {
43 m_telephonyHasBeenSet = true;
44 m_telephony = std::forward<TelephonyT>(value);
45 }
46 template <typename TelephonyT = TelephonySettings>
47 UserSettings& WithTelephony(TelephonyT&& value) {
48 SetTelephony(std::forward<TelephonyT>(value));
49 return *this;
50 }
52 private:
53 TelephonySettings m_telephony;
54 bool m_telephonyHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Chime
59} // namespace Aws
void SetTelephony(TelephonyT &&value)
const TelephonySettings & GetTelephony() const
AWS_CHIME_API UserSettings()=default
AWS_CHIME_API UserSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
UserSettings & WithTelephony(TelephonyT &&value)
AWS_CHIME_API UserSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue