AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
TelephonySettings.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Chime {
17namespace Model {
18
27 public:
28 AWS_CHIME_API TelephonySettings() = default;
31 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
37 inline bool GetInboundCalling() const { return m_inboundCalling; }
38 inline bool InboundCallingHasBeenSet() const { return m_inboundCallingHasBeenSet; }
39 inline void SetInboundCalling(bool value) {
40 m_inboundCallingHasBeenSet = true;
41 m_inboundCalling = value;
42 }
44 SetInboundCalling(value);
45 return *this;
46 }
48
50
53 inline bool GetOutboundCalling() const { return m_outboundCalling; }
54 inline bool OutboundCallingHasBeenSet() const { return m_outboundCallingHasBeenSet; }
55 inline void SetOutboundCalling(bool value) {
56 m_outboundCallingHasBeenSet = true;
57 m_outboundCalling = value;
58 }
60 SetOutboundCalling(value);
61 return *this;
62 }
64
66
69 inline bool GetSMS() const { return m_sMS; }
70 inline bool SMSHasBeenSet() const { return m_sMSHasBeenSet; }
71 inline void SetSMS(bool value) {
72 m_sMSHasBeenSet = true;
73 m_sMS = value;
74 }
75 inline TelephonySettings& WithSMS(bool value) {
76 SetSMS(value);
77 return *this;
78 }
80 private:
81 bool m_inboundCalling{false};
82
83 bool m_outboundCalling{false};
84
85 bool m_sMS{false};
86 bool m_inboundCallingHasBeenSet = false;
87 bool m_outboundCallingHasBeenSet = false;
88 bool m_sMSHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Chime
93} // namespace Aws
AWS_CHIME_API TelephonySettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API TelephonySettings(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API TelephonySettings()=default
TelephonySettings & WithInboundCalling(bool value)
TelephonySettings & WithOutboundCalling(bool value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
TelephonySettings & WithSMS(bool value)
Aws::Utils::Json::JsonValue JsonValue