7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
12#include <aws/ivs-realtime/model/ParticipantTokenCapability.h>
23namespace ivsrealtime {
47 template <
typename ParticipantIdT = Aws::String>
49 m_participantIdHasBeenSet =
true;
50 m_participantId = std::forward<ParticipantIdT>(value);
52 template <
typename ParticipantIdT = Aws::String>
65 template <
typename TokenT = Aws::String>
67 m_tokenHasBeenSet =
true;
68 m_token = std::forward<TokenT>(value);
70 template <
typename TokenT = Aws::String>
72 SetToken(std::forward<TokenT>(value));
87 template <
typename UserIdT = Aws::String>
89 m_userIdHasBeenSet =
true;
90 m_userId = std::forward<UserIdT>(value);
92 template <
typename UserIdT = Aws::String>
109 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
111 m_attributesHasBeenSet =
true;
112 m_attributes = std::forward<AttributesT>(value);
114 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
119 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
121 m_attributesHasBeenSet =
true;
122 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
135 m_durationHasBeenSet =
true;
150 template <
typename CapabilitiesT = Aws::Vector<ParticipantTokenCapability>>
152 m_capabilitiesHasBeenSet =
true;
153 m_capabilities = std::forward<CapabilitiesT>(value);
155 template <
typename CapabilitiesT = Aws::Vector<ParticipantTokenCapability>>
161 m_capabilitiesHasBeenSet =
true;
162 m_capabilities.push_back(value);
173 template <
typename ExpirationTimeT = Aws::Utils::DateTime>
175 m_expirationTimeHasBeenSet =
true;
176 m_expirationTime = std::forward<ExpirationTimeT>(value);
178 template <
typename ExpirationTimeT = Aws::Utils::DateTime>
198 bool m_participantIdHasBeenSet =
false;
199 bool m_tokenHasBeenSet =
false;
200 bool m_userIdHasBeenSet =
false;
201 bool m_attributesHasBeenSet =
false;
202 bool m_durationHasBeenSet =
false;
203 bool m_capabilitiesHasBeenSet =
false;
204 bool m_expirationTimeHasBeenSet =
false;
bool ParticipantIdHasBeenSet() const
AWS_IVSREALTIME_API ParticipantToken(Aws::Utils::Json::JsonView jsonValue)
ParticipantToken & WithParticipantId(ParticipantIdT &&value)
const Aws::Vector< ParticipantTokenCapability > & GetCapabilities() const
const Aws::String & GetUserId() const
bool TokenHasBeenSet() const
bool UserIdHasBeenSet() const
bool ExpirationTimeHasBeenSet() const
ParticipantToken & WithCapabilities(CapabilitiesT &&value)
bool DurationHasBeenSet() const
ParticipantToken & WithAttributes(AttributesT &&value)
void SetDuration(int value)
const Aws::String & GetToken() const
ParticipantToken & WithToken(TokenT &&value)
const Aws::String & GetParticipantId() const
bool CapabilitiesHasBeenSet() const
void SetUserId(UserIdT &&value)
void SetCapabilities(CapabilitiesT &&value)
void SetParticipantId(ParticipantIdT &&value)
void SetToken(TokenT &&value)
ParticipantToken & WithDuration(int value)
void SetAttributes(AttributesT &&value)
ParticipantToken & WithUserId(UserIdT &&value)
const Aws::Utils::DateTime & GetExpirationTime() const
AWS_IVSREALTIME_API ParticipantToken & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExpirationTime(ExpirationTimeT &&value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool AttributesHasBeenSet() const
ParticipantToken & AddCapabilities(ParticipantTokenCapability value)
ParticipantToken & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_IVSREALTIME_API ParticipantToken()=default
ParticipantToken & WithExpirationTime(ExpirationTimeT &&value)
ParticipantTokenCapability
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue