AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CallingSettings.h
1
6#pragma once
7#include <aws/wickr/Wickr_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Wickr {
17namespace Model {
18
27 public:
28 AWS_WICKR_API CallingSettings() = default;
31 AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
37 inline bool GetCanStart11Call() const { return m_canStart11Call; }
38 inline bool CanStart11CallHasBeenSet() const { return m_canStart11CallHasBeenSet; }
39 inline void SetCanStart11Call(bool value) {
40 m_canStart11CallHasBeenSet = true;
41 m_canStart11Call = value;
42 }
43 inline CallingSettings& WithCanStart11Call(bool value) {
44 SetCanStart11Call(value);
45 return *this;
46 }
48
50
54 inline bool GetCanVideoCall() const { return m_canVideoCall; }
55 inline bool CanVideoCallHasBeenSet() const { return m_canVideoCallHasBeenSet; }
56 inline void SetCanVideoCall(bool value) {
57 m_canVideoCallHasBeenSet = true;
58 m_canVideoCall = value;
59 }
60 inline CallingSettings& WithCanVideoCall(bool value) {
61 SetCanVideoCall(value);
62 return *this;
63 }
65
67
71 inline bool GetForceTcpCall() const { return m_forceTcpCall; }
72 inline bool ForceTcpCallHasBeenSet() const { return m_forceTcpCallHasBeenSet; }
73 inline void SetForceTcpCall(bool value) {
74 m_forceTcpCallHasBeenSet = true;
75 m_forceTcpCall = value;
76 }
77 inline CallingSettings& WithForceTcpCall(bool value) {
78 SetForceTcpCall(value);
79 return *this;
80 }
82 private:
83 bool m_canStart11Call{false};
84
85 bool m_canVideoCall{false};
86
87 bool m_forceTcpCall{false};
88 bool m_canStart11CallHasBeenSet = false;
89 bool m_canVideoCallHasBeenSet = false;
90 bool m_forceTcpCallHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Wickr
95} // namespace Aws
AWS_WICKR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WICKR_API CallingSettings(Aws::Utils::Json::JsonView jsonValue)
CallingSettings & WithCanVideoCall(bool value)
AWS_WICKR_API CallingSettings()=default
CallingSettings & WithForceTcpCall(bool value)
AWS_WICKR_API CallingSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
CallingSettings & WithCanStart11Call(bool value)
Aws::Utils::Json::JsonValue JsonValue