7#include <aws/ivs-realtime/Ivsrealtime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ivs-realtime/model/ParticipantTokenCapability.h>
55 inline void SetParticipantId(
const char* value) { m_participantIdHasBeenSet =
true; m_participantId.assign(value); }
69 inline void SetToken(
const char* value) { m_tokenHasBeenSet =
true; m_token.assign(value); }
87 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
111 inline ParticipantToken&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this; }
121 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
153 bool m_participantIdHasBeenSet =
false;
156 bool m_tokenHasBeenSet =
false;
159 bool m_userIdHasBeenSet =
false;
162 bool m_attributesHasBeenSet =
false;
165 bool m_durationHasBeenSet =
false;
168 bool m_capabilitiesHasBeenSet =
false;
171 bool m_expirationTimeHasBeenSet =
false;
bool ParticipantIdHasBeenSet() const
AWS_IVSREALTIME_API ParticipantToken(Aws::Utils::Json::JsonView jsonValue)
void SetCapabilities(const Aws::Vector< ParticipantTokenCapability > &value)
const Aws::Vector< ParticipantTokenCapability > & GetCapabilities() const
void SetToken(Aws::String &&value)
ParticipantToken & WithCapabilities(Aws::Vector< ParticipantTokenCapability > &&value)
ParticipantToken & AddAttributes(Aws::String &&key, Aws::String &&value)
const Aws::String & GetUserId() const
ParticipantToken & AddAttributes(const char *key, Aws::String &&value)
bool TokenHasBeenSet() const
bool UserIdHasBeenSet() const
void SetUserId(const char *value)
bool ExpirationTimeHasBeenSet() const
void SetExpirationTime(const Aws::Utils::DateTime &value)
void SetUserId(Aws::String &&value)
ParticipantToken & WithParticipantId(const char *value)
bool DurationHasBeenSet() const
ParticipantToken & WithParticipantId(Aws::String &&value)
ParticipantToken & AddAttributes(const Aws::String &key, const Aws::String &value)
void SetUserId(const Aws::String &value)
void SetCapabilities(Aws::Vector< ParticipantTokenCapability > &&value)
void SetDuration(int value)
ParticipantToken & WithToken(Aws::String &&value)
void SetParticipantId(Aws::String &&value)
ParticipantToken & WithToken(const char *value)
void SetToken(const Aws::String &value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetToken() const
ParticipantToken & AddCapabilities(ParticipantTokenCapability &&value)
ParticipantToken & WithExpirationTime(const Aws::Utils::DateTime &value)
ParticipantToken & AddAttributes(const Aws::String &key, Aws::String &&value)
ParticipantToken & WithToken(const Aws::String &value)
AWS_IVSREALTIME_API ParticipantToken()
ParticipantToken & WithParticipantId(const Aws::String &value)
const Aws::String & GetParticipantId() const
bool CapabilitiesHasBeenSet() const
ParticipantToken & WithUserId(const char *value)
void SetExpirationTime(Aws::Utils::DateTime &&value)
void SetParticipantId(const Aws::String &value)
ParticipantToken & AddAttributes(Aws::String &&key, const Aws::String &value)
ParticipantToken & WithDuration(int value)
ParticipantToken & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
ParticipantToken & WithExpirationTime(Aws::Utils::DateTime &&value)
ParticipantToken & AddAttributes(const char *key, const char *value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetExpirationTime() const
ParticipantToken & AddAttributes(Aws::String &&key, const char *value)
AWS_IVSREALTIME_API ParticipantToken & operator=(Aws::Utils::Json::JsonView jsonValue)
ParticipantToken & WithUserId(const Aws::String &value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
bool AttributesHasBeenSet() const
void SetToken(const char *value)
ParticipantToken & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ParticipantToken & AddCapabilities(const ParticipantTokenCapability &value)
ParticipantToken & WithCapabilities(const Aws::Vector< ParticipantTokenCapability > &value)
void SetParticipantId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
ParticipantToken & WithUserId(Aws::String &&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