7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/ChannelMessageType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/chime/model/Identity.h>
52 inline void SetMessageId(
const char* value) { m_messageIdHasBeenSet =
true; m_messageId.assign(value); }
66 inline void SetContent(
const char* value) { m_contentHasBeenSet =
true; m_content.assign(value); }
80 inline void SetMetadata(
const char* value) { m_metadataHasBeenSet =
true; m_metadata.assign(value); }
141 inline void SetSender(
Identity&& value) { m_senderHasBeenSet =
true; m_sender = std::move(value); }
152 inline void SetRedacted(
bool value) { m_redactedHasBeenSet =
true; m_redacted = value; }
158 bool m_messageIdHasBeenSet =
false;
161 bool m_contentHasBeenSet =
false;
164 bool m_metadataHasBeenSet =
false;
167 bool m_typeHasBeenSet =
false;
170 bool m_createdTimestampHasBeenSet =
false;
173 bool m_lastUpdatedTimestampHasBeenSet =
false;
176 bool m_lastEditedTimestampHasBeenSet =
false;
179 bool m_senderHasBeenSet =
false;
182 bool m_redactedHasBeenSet =
false;
ChannelMessageSummary & WithLastEditedTimestamp(const Aws::Utils::DateTime &value)
void SetSender(const Identity &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetType(ChannelMessageType &&value)
ChannelMessageSummary & WithMessageId(Aws::String &&value)
void SetLastEditedTimestamp(const Aws::Utils::DateTime &value)
void SetMessageId(Aws::String &&value)
AWS_CHIME_API ChannelMessageSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
ChannelMessageSummary & WithContent(const char *value)
void SetType(const ChannelMessageType &value)
ChannelMessageSummary & WithSender(Identity &&value)
ChannelMessageSummary & WithSender(const Identity &value)
bool RedactedHasBeenSet() const
const ChannelMessageType & GetType() const
ChannelMessageSummary & WithLastEditedTimestamp(Aws::Utils::DateTime &&value)
void SetMessageId(const char *value)
void SetRedacted(bool value)
ChannelMessageSummary & WithContent(const Aws::String &value)
bool LastEditedTimestampHasBeenSet() const
const Aws::Utils::DateTime & GetLastEditedTimestamp() const
bool LastUpdatedTimestampHasBeenSet() const
void SetMetadata(const Aws::String &value)
ChannelMessageSummary & WithType(const ChannelMessageType &value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContent(Aws::String &&value)
void SetMessageId(const Aws::String &value)
ChannelMessageSummary & WithType(ChannelMessageType &&value)
ChannelMessageSummary & WithRedacted(bool value)
AWS_CHIME_API ChannelMessageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessageId() const
bool MetadataHasBeenSet() const
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
AWS_CHIME_API ChannelMessageSummary()
ChannelMessageSummary & WithMetadata(Aws::String &&value)
ChannelMessageSummary & WithContent(Aws::String &&value)
ChannelMessageSummary & WithMessageId(const char *value)
ChannelMessageSummary & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetMetadata(Aws::String &&value)
void SetContent(const char *value)
const Aws::String & GetContent() const
ChannelMessageSummary & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
bool TypeHasBeenSet() const
ChannelMessageSummary & WithMessageId(const Aws::String &value)
void SetSender(Identity &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
bool ContentHasBeenSet() const
ChannelMessageSummary & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetMetadata() const
const Identity & GetSender() const
void SetLastEditedTimestamp(Aws::Utils::DateTime &&value)
ChannelMessageSummary & WithMetadata(const Aws::String &value)
bool SenderHasBeenSet() const
bool CreatedTimestampHasBeenSet() const
void SetContent(const Aws::String &value)
void SetMetadata(const char *value)
bool MessageIdHasBeenSet() const
ChannelMessageSummary & WithMetadata(const char *value)
ChannelMessageSummary & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue