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>
47 inline void SetSourceId(
const char* value) { m_sourceIdHasBeenSet =
true; m_sourceId.assign(value); }
64 inline void SetDestinationId(
const char* value) { m_destinationIdHasBeenSet =
true; m_destinationId.assign(value); }
79 inline void SetSubtype(
const char* value) { m_subtypeHasBeenSet =
true; m_subtype.assign(value); }
92 inline void SetEvent(
ChatEvent&& value) { m_eventHasBeenSet =
true; m_event = std::move(value); }
112 bool m_sourceIdHasBeenSet =
false;
115 bool m_destinationIdHasBeenSet =
false;
118 bool m_subtypeHasBeenSet =
false;
121 bool m_eventHasBeenSet =
false;
124 bool m_newSessionDetailsHasBeenSet =
false;
SendChatIntegrationEventRequest & WithDestinationId(const char *value)
void SetEvent(ChatEvent &&value)
void SetSourceId(const char *value)
bool DestinationIdHasBeenSet() const
const Aws::String & GetSubtype() const
void SetSubtype(const char *value)
SendChatIntegrationEventRequest & WithSourceId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
SendChatIntegrationEventRequest & WithSubtype(const char *value)
SendChatIntegrationEventRequest & WithEvent(const ChatEvent &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetDestinationId() const
bool NewSessionDetailsHasBeenSet() const
const ChatEvent & GetEvent() const
SendChatIntegrationEventRequest & WithNewSessionDetails(const NewSessionDetails &value)
SendChatIntegrationEventRequest & WithSubtype(Aws::String &&value)
void SetNewSessionDetails(NewSessionDetails &&value)
bool EventHasBeenSet() const
SendChatIntegrationEventRequest & WithDestinationId(Aws::String &&value)
SendChatIntegrationEventRequest & WithSourceId(const char *value)
void SetSourceId(Aws::String &&value)
const NewSessionDetails & GetNewSessionDetails() const
const Aws::String & GetSourceId() const
void SetDestinationId(Aws::String &&value)
void SetSubtype(Aws::String &&value)
AWS_CONNECT_API SendChatIntegrationEventRequest()
bool SourceIdHasBeenSet() const
void SetEvent(const ChatEvent &value)
void SetNewSessionDetails(const NewSessionDetails &value)
SendChatIntegrationEventRequest & WithNewSessionDetails(NewSessionDetails &&value)
void SetSubtype(const Aws::String &value)
void SetSourceId(const Aws::String &value)
bool SubtypeHasBeenSet() const
SendChatIntegrationEventRequest & WithEvent(ChatEvent &&value)
SendChatIntegrationEventRequest & WithDestinationId(const Aws::String &value)
SendChatIntegrationEventRequest & WithSubtype(const Aws::String &value)
SendChatIntegrationEventRequest & WithSourceId(Aws::String &&value)
void SetDestinationId(const Aws::String &value)
void SetDestinationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String