7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/ChatEvent.h>
11#include <aws/connect/model/NewSessionDetails.h>
45 template<
typename SourceIdT = Aws::String>
46 void SetSourceId(SourceIdT&& value) { m_sourceIdHasBeenSet =
true; m_sourceId = std::forward<SourceIdT>(value); }
47 template<
typename SourceIdT = Aws::String>
61 template<
typename DestinationIdT = Aws::String>
62 void SetDestinationId(DestinationIdT&& value) { m_destinationIdHasBeenSet =
true; m_destinationId = std::forward<DestinationIdT>(value); }
63 template<
typename DestinationIdT = Aws::String>
74 template<
typename SubtypeT = Aws::String>
75 void SetSubtype(SubtypeT&& value) { m_subtypeHasBeenSet =
true; m_subtype = std::forward<SubtypeT>(value); }
76 template<
typename SubtypeT = Aws::String>
86 template<
typename EventT = ChatEvent>
87 void SetEvent(EventT&& value) { m_eventHasBeenSet =
true; m_event = std::forward<EventT>(value); }
88 template<
typename EventT = ChatEvent>
99 template<
typename NewSessionDetailsT = NewSessionDetails>
100 void SetNewSessionDetails(NewSessionDetailsT&& value) { m_newSessionDetailsHasBeenSet =
true; m_newSessionDetails = std::forward<NewSessionDetailsT>(value); }
101 template<
typename NewSessionDetailsT = NewSessionDetails>
107 bool m_sourceIdHasBeenSet =
false;
110 bool m_destinationIdHasBeenSet =
false;
113 bool m_subtypeHasBeenSet =
false;
116 bool m_eventHasBeenSet =
false;
119 bool m_newSessionDetailsHasBeenSet =
false;
SendChatIntegrationEventRequest & WithNewSessionDetails(NewSessionDetailsT &&value)
bool DestinationIdHasBeenSet() const
const Aws::String & GetSubtype() const
SendChatIntegrationEventRequest & WithSourceId(SourceIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetSubtype(SubtypeT &&value)
const Aws::String & GetDestinationId() const
void SetNewSessionDetails(NewSessionDetailsT &&value)
bool NewSessionDetailsHasBeenSet() const
const ChatEvent & GetEvent() const
SendChatIntegrationEventRequest & WithSubtype(SubtypeT &&value)
bool EventHasBeenSet() const
AWS_CONNECT_API SendChatIntegrationEventRequest()=default
const NewSessionDetails & GetNewSessionDetails() const
const Aws::String & GetSourceId() const
void SetSourceId(SourceIdT &&value)
SendChatIntegrationEventRequest & WithEvent(EventT &&value)
SendChatIntegrationEventRequest & WithDestinationId(DestinationIdT &&value)
bool SourceIdHasBeenSet() const
bool SubtypeHasBeenSet() const
void SetDestinationId(DestinationIdT &&value)
void SetEvent(EventT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String