7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectparticipant/model/ChatItemType.h>
10#include <aws/connectparticipant/model/ParticipantRole.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/connectparticipant/model/MessageMetadata.h>
13#include <aws/connectparticipant/model/AttachmentItem.h>
26namespace ConnectParticipant
40 AWS_CONNECTPARTICIPANT_API
Item();
56 inline void SetAbsoluteTime(
const char* value) { m_absoluteTimeHasBeenSet =
true; m_absoluteTime.assign(value); }
70 inline void SetContent(
const char* value) { m_contentHasBeenSet =
true; m_content.assign(value); }
84 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
97 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
98 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
124 inline void SetParticipantId(
const char* value) { m_participantIdHasBeenSet =
true; m_participantId.assign(value); }
138 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
195 inline void SetRelatedContactId(
const char* value) { m_relatedContactIdHasBeenSet =
true; m_relatedContactId.assign(value); }
210 inline void SetContactId(
const char* value) { m_contactIdHasBeenSet =
true; m_contactId.assign(value); }
218 bool m_absoluteTimeHasBeenSet =
false;
221 bool m_contentHasBeenSet =
false;
224 bool m_contentTypeHasBeenSet =
false;
227 bool m_idHasBeenSet =
false;
230 bool m_typeHasBeenSet =
false;
233 bool m_participantIdHasBeenSet =
false;
236 bool m_displayNameHasBeenSet =
false;
239 bool m_participantRoleHasBeenSet =
false;
242 bool m_attachmentsHasBeenSet =
false;
245 bool m_messageMetadataHasBeenSet =
false;
248 bool m_relatedContactIdHasBeenSet =
false;
251 bool m_contactIdHasBeenSet =
false;
void SetMessageMetadata(MessageMetadata &&value)
Item & WithId(const Aws::String &value)
void SetParticipantRole(const ParticipantRole &value)
Item & WithContactId(Aws::String &&value)
void SetParticipantRole(ParticipantRole &&value)
void SetAbsoluteTime(const char *value)
void SetAttachments(Aws::Vector< AttachmentItem > &&value)
Item & WithContentType(Aws::String &&value)
const Aws::String & GetId() const
Item & WithContent(const char *value)
Item & WithRelatedContactId(const char *value)
AWS_CONNECTPARTICIPANT_API Item & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayName(const char *value)
bool AbsoluteTimeHasBeenSet() const
const Aws::String & GetDisplayName() const
const Aws::String & GetContent() const
Item & WithContent(const Aws::String &value)
const ParticipantRole & GetParticipantRole() const
void SetId(const Aws::String &value)
void SetAttachments(const Aws::Vector< AttachmentItem > &value)
void SetContent(Aws::String &&value)
void SetContentType(Aws::String &&value)
Item & WithId(Aws::String &&value)
Item & WithType(const ChatItemType &value)
bool ContentTypeHasBeenSet() const
bool DisplayNameHasBeenSet() const
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
Item & WithContactId(const Aws::String &value)
bool ContentHasBeenSet() const
Item & WithDisplayName(const char *value)
Item & WithContentType(const char *value)
const Aws::Vector< AttachmentItem > & GetAttachments() const
void SetId(Aws::String &&value)
Item & WithAttachments(Aws::Vector< AttachmentItem > &&value)
Item & WithParticipantId(const char *value)
bool AttachmentsHasBeenSet() const
void SetContentType(const Aws::String &value)
void SetMessageMetadata(const MessageMetadata &value)
void SetType(ChatItemType &&value)
void SetRelatedContactId(const char *value)
Item & WithParticipantId(const Aws::String &value)
void SetContactId(const Aws::String &value)
const Aws::String & GetRelatedContactId() const
Item & WithParticipantRole(const ParticipantRole &value)
const Aws::String & GetContactId() const
Item & WithAbsoluteTime(const Aws::String &value)
Item & WithContactId(const char *value)
Item & WithAbsoluteTime(Aws::String &&value)
void SetAbsoluteTime(Aws::String &&value)
const ChatItemType & GetType() const
Item & AddAttachments(AttachmentItem &&value)
void SetRelatedContactId(const Aws::String &value)
void SetId(const char *value)
Item & WithContent(Aws::String &&value)
Item & AddAttachments(const AttachmentItem &value)
Item & WithAttachments(const Aws::Vector< AttachmentItem > &value)
void SetContactId(Aws::String &&value)
void SetRelatedContactId(Aws::String &&value)
Item & WithRelatedContactId(Aws::String &&value)
void SetContactId(const char *value)
Item & WithDisplayName(Aws::String &&value)
Item & WithParticipantId(Aws::String &&value)
Item & WithType(ChatItemType &&value)
void SetParticipantId(Aws::String &&value)
Item & WithMessageMetadata(MessageMetadata &&value)
void SetDisplayName(const Aws::String &value)
void SetParticipantId(const Aws::String &value)
const Aws::String & GetContentType() const
Item & WithAbsoluteTime(const char *value)
const Aws::String & GetAbsoluteTime() const
AWS_CONNECTPARTICIPANT_API Item(Aws::Utils::Json::JsonView jsonValue)
Item & WithContentType(const Aws::String &value)
Item & WithMessageMetadata(const MessageMetadata &value)
void SetType(const ChatItemType &value)
bool TypeHasBeenSet() const
Item & WithParticipantRole(ParticipantRole &&value)
bool ParticipantRoleHasBeenSet() const
void SetContentType(const char *value)
bool ParticipantIdHasBeenSet() const
void SetDisplayName(Aws::String &&value)
void SetContent(const char *value)
void SetAbsoluteTime(const Aws::String &value)
bool RelatedContactIdHasBeenSet() const
AWS_CONNECTPARTICIPANT_API Item()
Item & WithRelatedContactId(const Aws::String &value)
Item & WithId(const char *value)
const MessageMetadata & GetMessageMetadata() const
const Aws::String & GetParticipantId() const
void SetParticipantId(const char *value)
bool IdHasBeenSet() const
Item & WithDisplayName(const Aws::String &value)
bool MessageMetadataHasBeenSet() const
bool ContactIdHasBeenSet() const
void SetContent(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue