7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/ParticipantDetails.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/connect/model/ChatStreamingConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
61 template<
typename SupportedMessagingContentTypesT = Aws::Vector<Aws::String>>
62 void SetSupportedMessagingContentTypes(SupportedMessagingContentTypesT&& value) { m_supportedMessagingContentTypesHasBeenSet =
true; m_supportedMessagingContentTypes = std::forward<SupportedMessagingContentTypesT>(value); }
63 template<
typename SupportedMessagingContentTypesT = Aws::Vector<Aws::String>>
65 template<
typename SupportedMessagingContentTypesT = Aws::String>
66 NewSessionDetails&
AddSupportedMessagingContentTypes(SupportedMessagingContentTypesT&& value) { m_supportedMessagingContentTypesHasBeenSet =
true; m_supportedMessagingContentTypes.emplace_back(std::forward<SupportedMessagingContentTypesT>(value));
return *
this; }
73 template<
typename ParticipantDetailsT = ParticipantDetails>
74 void SetParticipantDetails(ParticipantDetailsT&& value) { m_participantDetailsHasBeenSet =
true; m_participantDetails = std::forward<ParticipantDetailsT>(value); }
75 template<
typename ParticipantDetailsT = ParticipantDetails>
89 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
90 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
91 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
93 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
95 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
103 template<
typename StreamingConfigurationT = ChatStreamingConfiguration>
104 void SetStreamingConfiguration(StreamingConfigurationT&& value) { m_streamingConfigurationHasBeenSet =
true; m_streamingConfiguration = std::forward<StreamingConfigurationT>(value); }
105 template<
typename StreamingConfigurationT = ChatStreamingConfiguration>
111 bool m_supportedMessagingContentTypesHasBeenSet =
false;
114 bool m_participantDetailsHasBeenSet =
false;
117 bool m_attributesHasBeenSet =
false;
120 bool m_streamingConfigurationHasBeenSet =
false;
bool ParticipantDetailsHasBeenSet() const
bool AttributesHasBeenSet() const
NewSessionDetails & WithStreamingConfiguration(StreamingConfigurationT &&value)
const ParticipantDetails & GetParticipantDetails() const
const ChatStreamingConfiguration & GetStreamingConfiguration() const
NewSessionDetails & AddSupportedMessagingContentTypes(SupportedMessagingContentTypesT &&value)
void SetSupportedMessagingContentTypes(SupportedMessagingContentTypesT &&value)
AWS_CONNECT_API NewSessionDetails(Aws::Utils::Json::JsonView jsonValue)
NewSessionDetails & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
void SetStreamingConfiguration(StreamingConfigurationT &&value)
bool StreamingConfigurationHasBeenSet() const
AWS_CONNECT_API NewSessionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributes(AttributesT &&value)
void SetParticipantDetails(ParticipantDetailsT &&value)
AWS_CONNECT_API NewSessionDetails()=default
bool SupportedMessagingContentTypesHasBeenSet() const
NewSessionDetails & WithParticipantDetails(ParticipantDetailsT &&value)
NewSessionDetails & WithAttributes(AttributesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
NewSessionDetails & WithSupportedMessagingContentTypes(SupportedMessagingContentTypesT &&value)
const Aws::Vector< Aws::String > & GetSupportedMessagingContentTypes() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue