7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/ivschat/IvschatRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/ivschat/model/ChatTokenCapability.h>
47 inline void SetRoomIdentifier(
const char* value) { m_roomIdentifierHasBeenSet =
true; m_roomIdentifier.assign(value); }
62 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
118 bool m_roomIdentifierHasBeenSet =
false;
121 bool m_userIdHasBeenSet =
false;
124 bool m_capabilitiesHasBeenSet =
false;
126 int m_sessionDurationInMinutes;
127 bool m_sessionDurationInMinutesHasBeenSet =
false;
130 bool m_attributesHasBeenSet =
false;
CreateChatTokenRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool CapabilitiesHasBeenSet() const
CreateChatTokenRequest & WithUserId(Aws::String &&value)
CreateChatTokenRequest & WithCapabilities(Aws::Vector< ChatTokenCapability > &&value)
CreateChatTokenRequest & WithRoomIdentifier(Aws::String &&value)
bool AttributesHasBeenSet() const
CreateChatTokenRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
CreateChatTokenRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
bool RoomIdentifierHasBeenSet() const
void SetUserId(Aws::String &&value)
CreateChatTokenRequest & WithUserId(const char *value)
bool UserIdHasBeenSet() const
void SetCapabilities(Aws::Vector< ChatTokenCapability > &&value)
CreateChatTokenRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
CreateChatTokenRequest & WithUserId(const Aws::String &value)
int GetSessionDurationInMinutes() const
void SetRoomIdentifier(Aws::String &&value)
CreateChatTokenRequest & WithCapabilities(const Aws::Vector< ChatTokenCapability > &value)
CreateChatTokenRequest & AddAttributes(const char *key, Aws::String &&value)
void SetSessionDurationInMinutes(int value)
CreateChatTokenRequest & AddAttributes(Aws::String &&key, const char *value)
void SetCapabilities(const Aws::Vector< ChatTokenCapability > &value)
void SetRoomIdentifier(const Aws::String &value)
const Aws::Vector< ChatTokenCapability > & GetCapabilities() const
AWS_IVSCHAT_API Aws::String SerializePayload() const override
AWS_IVSCHAT_API CreateChatTokenRequest()
CreateChatTokenRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
CreateChatTokenRequest & AddCapabilities(const ChatTokenCapability &value)
bool SessionDurationInMinutesHasBeenSet() const
void SetRoomIdentifier(const char *value)
CreateChatTokenRequest & AddCapabilities(ChatTokenCapability &&value)
CreateChatTokenRequest & AddAttributes(const char *key, const char *value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
CreateChatTokenRequest & WithSessionDurationInMinutes(int value)
CreateChatTokenRequest & WithRoomIdentifier(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetUserId() const
void SetUserId(const Aws::String &value)
const Aws::String & GetRoomIdentifier() const
CreateChatTokenRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetUserId(const char *value)
CreateChatTokenRequest & WithRoomIdentifier(const Aws::String &value)
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