AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProxySession.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/ProxySessionStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/chime/model/NumberSelectionBehavior.h>
13#include <aws/chime/model/GeoMatchLevel.h>
14#include <aws/chime/model/GeoMatchParams.h>
15#include <aws/chime/model/Capability.h>
16#include <aws/chime/model/Participant.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace Chime
30{
31namespace Model
32{
33
41 {
42 public:
43 AWS_CHIME_API ProxySession();
44 AWS_CHIME_API ProxySession(Aws::Utils::Json::JsonView jsonValue);
46 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetVoiceConnectorId() const{ return m_voiceConnectorId; }
54 inline bool VoiceConnectorIdHasBeenSet() const { return m_voiceConnectorIdHasBeenSet; }
55 inline void SetVoiceConnectorId(const Aws::String& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = value; }
56 inline void SetVoiceConnectorId(Aws::String&& value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId = std::move(value); }
57 inline void SetVoiceConnectorId(const char* value) { m_voiceConnectorIdHasBeenSet = true; m_voiceConnectorId.assign(value); }
58 inline ProxySession& WithVoiceConnectorId(const Aws::String& value) { SetVoiceConnectorId(value); return *this;}
59 inline ProxySession& WithVoiceConnectorId(Aws::String&& value) { SetVoiceConnectorId(std::move(value)); return *this;}
60 inline ProxySession& WithVoiceConnectorId(const char* value) { SetVoiceConnectorId(value); return *this;}
62
64
67 inline const Aws::String& GetProxySessionId() const{ return m_proxySessionId; }
68 inline bool ProxySessionIdHasBeenSet() const { return m_proxySessionIdHasBeenSet; }
69 inline void SetProxySessionId(const Aws::String& value) { m_proxySessionIdHasBeenSet = true; m_proxySessionId = value; }
70 inline void SetProxySessionId(Aws::String&& value) { m_proxySessionIdHasBeenSet = true; m_proxySessionId = std::move(value); }
71 inline void SetProxySessionId(const char* value) { m_proxySessionIdHasBeenSet = true; m_proxySessionId.assign(value); }
72 inline ProxySession& WithProxySessionId(const Aws::String& value) { SetProxySessionId(value); return *this;}
73 inline ProxySession& WithProxySessionId(Aws::String&& value) { SetProxySessionId(std::move(value)); return *this;}
74 inline ProxySession& WithProxySessionId(const char* value) { SetProxySessionId(value); return *this;}
76
78
81 inline const Aws::String& GetName() const{ return m_name; }
82 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
83 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
84 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
85 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
86 inline ProxySession& WithName(const Aws::String& value) { SetName(value); return *this;}
87 inline ProxySession& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
88 inline ProxySession& WithName(const char* value) { SetName(value); return *this;}
90
92
95 inline const ProxySessionStatus& GetStatus() const{ return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(const ProxySessionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
98 inline void SetStatus(ProxySessionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
99 inline ProxySession& WithStatus(const ProxySessionStatus& value) { SetStatus(value); return *this;}
100 inline ProxySession& WithStatus(ProxySessionStatus&& value) { SetStatus(std::move(value)); return *this;}
102
104
107 inline int GetExpiryMinutes() const{ return m_expiryMinutes; }
108 inline bool ExpiryMinutesHasBeenSet() const { return m_expiryMinutesHasBeenSet; }
109 inline void SetExpiryMinutes(int value) { m_expiryMinutesHasBeenSet = true; m_expiryMinutes = value; }
110 inline ProxySession& WithExpiryMinutes(int value) { SetExpiryMinutes(value); return *this;}
112
114
117 inline const Aws::Vector<Capability>& GetCapabilities() const{ return m_capabilities; }
118 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
119 inline void SetCapabilities(const Aws::Vector<Capability>& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
120 inline void SetCapabilities(Aws::Vector<Capability>&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
121 inline ProxySession& WithCapabilities(const Aws::Vector<Capability>& value) { SetCapabilities(value); return *this;}
122 inline ProxySession& WithCapabilities(Aws::Vector<Capability>&& value) { SetCapabilities(std::move(value)); return *this;}
123 inline ProxySession& AddCapabilities(const Capability& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
124 inline ProxySession& AddCapabilities(Capability&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
132 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
133 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
134 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
135 inline ProxySession& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
136 inline ProxySession& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetUpdatedTimestamp() const{ return m_updatedTimestamp; }
144 inline bool UpdatedTimestampHasBeenSet() const { return m_updatedTimestampHasBeenSet; }
145 inline void SetUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = value; }
146 inline void SetUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_updatedTimestampHasBeenSet = true; m_updatedTimestamp = std::move(value); }
147 inline ProxySession& WithUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetUpdatedTimestamp(value); return *this;}
148 inline ProxySession& WithUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetUpdatedTimestamp(std::move(value)); return *this;}
150
152
155 inline const Aws::Utils::DateTime& GetEndedTimestamp() const{ return m_endedTimestamp; }
156 inline bool EndedTimestampHasBeenSet() const { return m_endedTimestampHasBeenSet; }
157 inline void SetEndedTimestamp(const Aws::Utils::DateTime& value) { m_endedTimestampHasBeenSet = true; m_endedTimestamp = value; }
158 inline void SetEndedTimestamp(Aws::Utils::DateTime&& value) { m_endedTimestampHasBeenSet = true; m_endedTimestamp = std::move(value); }
159 inline ProxySession& WithEndedTimestamp(const Aws::Utils::DateTime& value) { SetEndedTimestamp(value); return *this;}
160 inline ProxySession& WithEndedTimestamp(Aws::Utils::DateTime&& value) { SetEndedTimestamp(std::move(value)); return *this;}
162
164
167 inline const Aws::Vector<Participant>& GetParticipants() const{ return m_participants; }
168 inline bool ParticipantsHasBeenSet() const { return m_participantsHasBeenSet; }
169 inline void SetParticipants(const Aws::Vector<Participant>& value) { m_participantsHasBeenSet = true; m_participants = value; }
170 inline void SetParticipants(Aws::Vector<Participant>&& value) { m_participantsHasBeenSet = true; m_participants = std::move(value); }
171 inline ProxySession& WithParticipants(const Aws::Vector<Participant>& value) { SetParticipants(value); return *this;}
172 inline ProxySession& WithParticipants(Aws::Vector<Participant>&& value) { SetParticipants(std::move(value)); return *this;}
173 inline ProxySession& AddParticipants(const Participant& value) { m_participantsHasBeenSet = true; m_participants.push_back(value); return *this; }
174 inline ProxySession& AddParticipants(Participant&& value) { m_participantsHasBeenSet = true; m_participants.push_back(std::move(value)); return *this; }
176
178
182 inline const NumberSelectionBehavior& GetNumberSelectionBehavior() const{ return m_numberSelectionBehavior; }
183 inline bool NumberSelectionBehaviorHasBeenSet() const { return m_numberSelectionBehaviorHasBeenSet; }
184 inline void SetNumberSelectionBehavior(const NumberSelectionBehavior& value) { m_numberSelectionBehaviorHasBeenSet = true; m_numberSelectionBehavior = value; }
185 inline void SetNumberSelectionBehavior(NumberSelectionBehavior&& value) { m_numberSelectionBehaviorHasBeenSet = true; m_numberSelectionBehavior = std::move(value); }
189
191
195 inline const GeoMatchLevel& GetGeoMatchLevel() const{ return m_geoMatchLevel; }
196 inline bool GeoMatchLevelHasBeenSet() const { return m_geoMatchLevelHasBeenSet; }
197 inline void SetGeoMatchLevel(const GeoMatchLevel& value) { m_geoMatchLevelHasBeenSet = true; m_geoMatchLevel = value; }
198 inline void SetGeoMatchLevel(GeoMatchLevel&& value) { m_geoMatchLevelHasBeenSet = true; m_geoMatchLevel = std::move(value); }
199 inline ProxySession& WithGeoMatchLevel(const GeoMatchLevel& value) { SetGeoMatchLevel(value); return *this;}
200 inline ProxySession& WithGeoMatchLevel(GeoMatchLevel&& value) { SetGeoMatchLevel(std::move(value)); return *this;}
202
204
207 inline const GeoMatchParams& GetGeoMatchParams() const{ return m_geoMatchParams; }
208 inline bool GeoMatchParamsHasBeenSet() const { return m_geoMatchParamsHasBeenSet; }
209 inline void SetGeoMatchParams(const GeoMatchParams& value) { m_geoMatchParamsHasBeenSet = true; m_geoMatchParams = value; }
210 inline void SetGeoMatchParams(GeoMatchParams&& value) { m_geoMatchParamsHasBeenSet = true; m_geoMatchParams = std::move(value); }
211 inline ProxySession& WithGeoMatchParams(const GeoMatchParams& value) { SetGeoMatchParams(value); return *this;}
212 inline ProxySession& WithGeoMatchParams(GeoMatchParams&& value) { SetGeoMatchParams(std::move(value)); return *this;}
214 private:
215
216 Aws::String m_voiceConnectorId;
217 bool m_voiceConnectorIdHasBeenSet = false;
218
219 Aws::String m_proxySessionId;
220 bool m_proxySessionIdHasBeenSet = false;
221
222 Aws::String m_name;
223 bool m_nameHasBeenSet = false;
224
225 ProxySessionStatus m_status;
226 bool m_statusHasBeenSet = false;
227
228 int m_expiryMinutes;
229 bool m_expiryMinutesHasBeenSet = false;
230
231 Aws::Vector<Capability> m_capabilities;
232 bool m_capabilitiesHasBeenSet = false;
233
234 Aws::Utils::DateTime m_createdTimestamp;
235 bool m_createdTimestampHasBeenSet = false;
236
237 Aws::Utils::DateTime m_updatedTimestamp;
238 bool m_updatedTimestampHasBeenSet = false;
239
240 Aws::Utils::DateTime m_endedTimestamp;
241 bool m_endedTimestampHasBeenSet = false;
242
243 Aws::Vector<Participant> m_participants;
244 bool m_participantsHasBeenSet = false;
245
246 NumberSelectionBehavior m_numberSelectionBehavior;
247 bool m_numberSelectionBehaviorHasBeenSet = false;
248
249 GeoMatchLevel m_geoMatchLevel;
250 bool m_geoMatchLevelHasBeenSet = false;
251
252 GeoMatchParams m_geoMatchParams;
253 bool m_geoMatchParamsHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace Chime
258} // namespace Aws
void SetVoiceConnectorId(Aws::String &&value)
ProxySession & WithName(const Aws::String &value)
void SetProxySessionId(Aws::String &&value)
const Aws::String & GetProxySessionId() const
bool NumberSelectionBehaviorHasBeenSet() const
ProxySession & WithParticipants(const Aws::Vector< Participant > &value)
ProxySession & WithGeoMatchParams(const GeoMatchParams &value)
ProxySession & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
ProxySession & WithStatus(const ProxySessionStatus &value)
void SetProxySessionId(const Aws::String &value)
ProxySession & AddParticipants(const Participant &value)
void SetNumberSelectionBehavior(const NumberSelectionBehavior &value)
void SetName(const Aws::String &value)
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetStatus(const ProxySessionStatus &value)
void SetEndedTimestamp(const Aws::Utils::DateTime &value)
ProxySession & WithEndedTimestamp(Aws::Utils::DateTime &&value)
const GeoMatchParams & GetGeoMatchParams() const
ProxySession & WithName(Aws::String &&value)
ProxySession & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetVoiceConnectorId() const
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
ProxySession & WithNumberSelectionBehavior(NumberSelectionBehavior &&value)
ProxySession & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetCapabilities(Aws::Vector< Capability > &&value)
ProxySession & AddCapabilities(const Capability &value)
ProxySession & WithStatus(ProxySessionStatus &&value)
ProxySession & WithGeoMatchLevel(const GeoMatchLevel &value)
const NumberSelectionBehavior & GetNumberSelectionBehavior() const
void SetCapabilities(const Aws::Vector< Capability > &value)
ProxySession & WithVoiceConnectorId(const char *value)
void SetVoiceConnectorId(const Aws::String &value)
const Aws::Utils::DateTime & GetEndedTimestamp() const
const ProxySessionStatus & GetStatus() const
ProxySession & WithGeoMatchParams(GeoMatchParams &&value)
void SetProxySessionId(const char *value)
const Aws::String & GetName() const
void SetGeoMatchParams(GeoMatchParams &&value)
void SetGeoMatchParams(const GeoMatchParams &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::Vector< Participant > & GetParticipants() const
void SetVoiceConnectorId(const char *value)
AWS_CHIME_API ProxySession(Aws::Utils::Json::JsonView jsonValue)
ProxySession & AddCapabilities(Capability &&value)
ProxySession & WithName(const char *value)
void SetParticipants(const Aws::Vector< Participant > &value)
ProxySession & WithCapabilities(Aws::Vector< Capability > &&value)
const Aws::Vector< Capability > & GetCapabilities() const
ProxySession & AddParticipants(Participant &&value)
ProxySession & WithNumberSelectionBehavior(const NumberSelectionBehavior &value)
ProxySession & WithVoiceConnectorId(Aws::String &&value)
void SetName(const char *value)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
ProxySession & WithVoiceConnectorId(const Aws::String &value)
void SetEndedTimestamp(Aws::Utils::DateTime &&value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
ProxySession & WithExpiryMinutes(int value)
ProxySession & WithGeoMatchLevel(GeoMatchLevel &&value)
ProxySession & WithProxySessionId(const Aws::String &value)
void SetGeoMatchLevel(GeoMatchLevel &&value)
void SetGeoMatchLevel(const GeoMatchLevel &value)
void SetNumberSelectionBehavior(NumberSelectionBehavior &&value)
AWS_CHIME_API ProxySession & operator=(Aws::Utils::Json::JsonView jsonValue)
ProxySession & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
ProxySession & WithCapabilities(const Aws::Vector< Capability > &value)
void SetStatus(ProxySessionStatus &&value)
ProxySession & WithProxySessionId(const char *value)
ProxySession & WithEndedTimestamp(const Aws::Utils::DateTime &value)
ProxySession & WithProxySessionId(Aws::String &&value)
ProxySession & WithParticipants(Aws::Vector< Participant > &&value)
void SetParticipants(Aws::Vector< Participant > &&value)
const GeoMatchLevel & GetGeoMatchLevel() const
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue