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/ivs-realtime/model/ParticipantTokenCapability.h>
51 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
67 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
112 bool m_durationHasBeenSet =
false;
115 bool m_userIdHasBeenSet =
false;
118 bool m_attributesHasBeenSet =
false;
121 bool m_capabilitiesHasBeenSet =
false;
ParticipantTokenConfiguration & AddAttributes(const Aws::String &key, const Aws::String &value)
ParticipantTokenConfiguration & AddAttributes(Aws::String &&key, const Aws::String &value)
bool AttributesHasBeenSet() const
ParticipantTokenConfiguration & AddAttributes(const char *key, Aws::String &&value)
void SetUserId(Aws::String &&value)
ParticipantTokenConfiguration & AddCapabilities(const ParticipantTokenCapability &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
ParticipantTokenConfiguration & WithCapabilities(Aws::Vector< ParticipantTokenCapability > &&value)
ParticipantTokenConfiguration & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ParticipantTokenConfiguration & WithUserId(Aws::String &&value)
AWS_IVSREALTIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserId(const char *value)
ParticipantTokenConfiguration & WithDuration(int value)
const Aws::Vector< ParticipantTokenCapability > & GetCapabilities() const
ParticipantTokenConfiguration & WithUserId(const Aws::String &value)
bool CapabilitiesHasBeenSet() const
void SetCapabilities(const Aws::Vector< ParticipantTokenCapability > &value)
void SetUserId(const Aws::String &value)
ParticipantTokenConfiguration & AddAttributes(const Aws::String &key, Aws::String &&value)
bool UserIdHasBeenSet() const
AWS_IVSREALTIME_API ParticipantTokenConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUserId() const
ParticipantTokenConfiguration & AddAttributes(Aws::String &&key, const char *value)
ParticipantTokenConfiguration & AddAttributes(Aws::String &&key, Aws::String &&value)
ParticipantTokenConfiguration & AddAttributes(const char *key, const char *value)
ParticipantTokenConfiguration & WithCapabilities(const Aws::Vector< ParticipantTokenCapability > &value)
ParticipantTokenConfiguration & AddCapabilities(ParticipantTokenCapability &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
AWS_IVSREALTIME_API ParticipantTokenConfiguration(Aws::Utils::Json::JsonView jsonValue)
bool DurationHasBeenSet() const
void SetDuration(int value)
void SetCapabilities(Aws::Vector< ParticipantTokenCapability > &&value)
ParticipantTokenConfiguration & WithUserId(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IVSREALTIME_API ParticipantTokenConfiguration()
ParticipantTokenConfiguration & WithAttributes(Aws::Map< Aws::String, 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