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>
45 template<
typename RoomIdentifierT = Aws::String>
46 void SetRoomIdentifier(RoomIdentifierT&& value) { m_roomIdentifierHasBeenSet =
true; m_roomIdentifier = std::forward<RoomIdentifierT>(value); }
47 template<
typename RoomIdentifierT = Aws::String>
58 template<
typename UserIdT = Aws::String>
59 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
60 template<
typename UserIdT = Aws::String>
72 template<
typename CapabilitiesT = Aws::Vector<ChatTokenCapability>>
73 void SetCapabilities(CapabilitiesT&& value) { m_capabilitiesHasBeenSet =
true; m_capabilities = std::forward<CapabilitiesT>(value); }
74 template<
typename CapabilitiesT = Aws::Vector<ChatTokenCapability>>
98 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
99 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
100 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
102 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
104 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
110 bool m_roomIdentifierHasBeenSet =
false;
113 bool m_userIdHasBeenSet =
false;
116 bool m_capabilitiesHasBeenSet =
false;
118 int m_sessionDurationInMinutes{0};
119 bool m_sessionDurationInMinutesHasBeenSet =
false;
122 bool m_attributesHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
bool CapabilitiesHasBeenSet() const
CreateChatTokenRequest & WithAttributes(AttributesT &&value)
bool AttributesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
bool RoomIdentifierHasBeenSet() const
void SetAttributes(AttributesT &&value)
bool UserIdHasBeenSet() const
int GetSessionDurationInMinutes() const
void SetUserId(UserIdT &&value)
CreateChatTokenRequest & AddCapabilities(ChatTokenCapability value)
void SetSessionDurationInMinutes(int value)
CreateChatTokenRequest & WithCapabilities(CapabilitiesT &&value)
void SetRoomIdentifier(RoomIdentifierT &&value)
void SetCapabilities(CapabilitiesT &&value)
const Aws::Vector< ChatTokenCapability > & GetCapabilities() const
AWS_IVSCHAT_API Aws::String SerializePayload() const override
CreateChatTokenRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
bool SessionDurationInMinutesHasBeenSet() const
CreateChatTokenRequest & WithSessionDurationInMinutes(int value)
AWS_IVSCHAT_API CreateChatTokenRequest()=default
CreateChatTokenRequest & WithUserId(UserIdT &&value)
const Aws::String & GetUserId() const
const Aws::String & GetRoomIdentifier() const
CreateChatTokenRequest & WithRoomIdentifier(RoomIdentifierT &&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