AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PhoneNumberCapabilities.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 PhoneNumberCapabilities() = default;
31 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
37 inline bool GetInboundCall() const { return m_inboundCall; }
38 inline bool InboundCallHasBeenSet() const { return m_inboundCallHasBeenSet; }
39 inline void SetInboundCall(bool value) {
40 m_inboundCallHasBeenSet = true;
41 m_inboundCall = value;
42 }
44 SetInboundCall(value);
45 return *this;
46 }
48
50
53 inline bool GetOutboundCall() const { return m_outboundCall; }
54 inline bool OutboundCallHasBeenSet() const { return m_outboundCallHasBeenSet; }
55 inline void SetOutboundCall(bool value) {
56 m_outboundCallHasBeenSet = true;
57 m_outboundCall = value;
58 }
60 SetOutboundCall(value);
61 return *this;
62 }
64
66
69 inline bool GetInboundSMS() const { return m_inboundSMS; }
70 inline bool InboundSMSHasBeenSet() const { return m_inboundSMSHasBeenSet; }
71 inline void SetInboundSMS(bool value) {
72 m_inboundSMSHasBeenSet = true;
73 m_inboundSMS = value;
74 }
76 SetInboundSMS(value);
77 return *this;
78 }
80
82
85 inline bool GetOutboundSMS() const { return m_outboundSMS; }
86 inline bool OutboundSMSHasBeenSet() const { return m_outboundSMSHasBeenSet; }
87 inline void SetOutboundSMS(bool value) {
88 m_outboundSMSHasBeenSet = true;
89 m_outboundSMS = value;
90 }
92 SetOutboundSMS(value);
93 return *this;
94 }
96
98
101 inline bool GetInboundMMS() const { return m_inboundMMS; }
102 inline bool InboundMMSHasBeenSet() const { return m_inboundMMSHasBeenSet; }
103 inline void SetInboundMMS(bool value) {
104 m_inboundMMSHasBeenSet = true;
105 m_inboundMMS = value;
106 }
108 SetInboundMMS(value);
109 return *this;
110 }
112
114
117 inline bool GetOutboundMMS() const { return m_outboundMMS; }
118 inline bool OutboundMMSHasBeenSet() const { return m_outboundMMSHasBeenSet; }
119 inline void SetOutboundMMS(bool value) {
120 m_outboundMMSHasBeenSet = true;
121 m_outboundMMS = value;
122 }
124 SetOutboundMMS(value);
125 return *this;
126 }
128 private:
129 bool m_inboundCall{false};
130
131 bool m_outboundCall{false};
132
133 bool m_inboundSMS{false};
134
135 bool m_outboundSMS{false};
136
137 bool m_inboundMMS{false};
138
139 bool m_outboundMMS{false};
140 bool m_inboundCallHasBeenSet = false;
141 bool m_outboundCallHasBeenSet = false;
142 bool m_inboundSMSHasBeenSet = false;
143 bool m_outboundSMSHasBeenSet = false;
144 bool m_inboundMMSHasBeenSet = false;
145 bool m_outboundMMSHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace Chime
150} // namespace Aws
PhoneNumberCapabilities & WithOutboundSMS(bool value)
PhoneNumberCapabilities & WithInboundMMS(bool value)
AWS_CHIME_API PhoneNumberCapabilities(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API PhoneNumberCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
PhoneNumberCapabilities & WithInboundSMS(bool value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
PhoneNumberCapabilities & WithInboundCall(bool value)
PhoneNumberCapabilities & WithOutboundMMS(bool value)
PhoneNumberCapabilities & WithOutboundCall(bool value)
AWS_CHIME_API PhoneNumberCapabilities()=default
Aws::Utils::Json::JsonValue JsonValue