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>
12#include <aws/chime/model/ChannelMessagePersistenceType.h>
52 inline void SetChannelArn(
const char* value) { m_channelArnHasBeenSet =
true; m_channelArn.assign(value); }
66 inline void SetMessageId(
const char* value) { m_messageIdHasBeenSet =
true; m_messageId.assign(value); }
80 inline void SetContent(
const char* value) { m_contentHasBeenSet =
true; m_content.assign(value); }
94 inline void SetMetadata(
const char* value) { m_metadataHasBeenSet =
true; m_metadata.assign(value); }
155 inline void SetSender(
Identity&& value) { m_senderHasBeenSet =
true; m_sender = std::move(value); }
166 inline void SetRedacted(
bool value) { m_redactedHasBeenSet =
true; m_redacted = value; }
184 bool m_channelArnHasBeenSet =
false;
187 bool m_messageIdHasBeenSet =
false;
190 bool m_contentHasBeenSet =
false;
193 bool m_metadataHasBeenSet =
false;
196 bool m_typeHasBeenSet =
false;
199 bool m_createdTimestampHasBeenSet =
false;
202 bool m_lastEditedTimestampHasBeenSet =
false;
205 bool m_lastUpdatedTimestampHasBeenSet =
false;
208 bool m_senderHasBeenSet =
false;
211 bool m_redactedHasBeenSet =
false;
214 bool m_persistenceHasBeenSet =
false;
ChannelMessage & WithMessageId(Aws::String &&value)
void SetSender(const Identity &value)
ChannelMessage & WithType(const ChannelMessageType &value)
ChannelMessage & WithMetadata(const char *value)
void SetMetadata(const Aws::String &value)
void SetPersistence(const ChannelMessagePersistenceType &value)
void SetSender(Identity &&value)
void SetChannelArn(Aws::String &&value)
bool SenderHasBeenSet() const
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContent(const Aws::String &value)
const ChannelMessagePersistenceType & GetPersistence() const
void SetMessageId(Aws::String &&value)
ChannelMessage & WithRedacted(bool value)
ChannelMessage & WithSender(Identity &&value)
ChannelMessage & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
ChannelMessage & WithType(ChannelMessageType &&value)
const Aws::String & GetChannelArn() const
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
const ChannelMessageType & GetType() const
void SetChannelArn(const char *value)
const Aws::String & GetMetadata() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetType(ChannelMessageType &&value)
void SetChannelArn(const Aws::String &value)
ChannelMessage & WithChannelArn(Aws::String &&value)
ChannelMessage & WithMessageId(const Aws::String &value)
void SetType(const ChannelMessageType &value)
ChannelMessage & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
bool ChannelArnHasBeenSet() const
ChannelMessage & WithSender(const Identity &value)
const Aws::String & GetContent() const
bool CreatedTimestampHasBeenSet() const
void SetContent(Aws::String &&value)
ChannelMessage & WithPersistence(const ChannelMessagePersistenceType &value)
ChannelMessage & WithLastEditedTimestamp(Aws::Utils::DateTime &&value)
ChannelMessage & WithContent(const char *value)
const Aws::String & GetMessageId() const
bool TypeHasBeenSet() const
void SetMetadata(Aws::String &&value)
void SetLastEditedTimestamp(const Aws::Utils::DateTime &value)
AWS_CHIME_API ChannelMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
ChannelMessage & WithMetadata(Aws::String &&value)
const Identity & GetSender() const
bool MetadataHasBeenSet() const
void SetPersistence(ChannelMessagePersistenceType &&value)
void SetRedacted(bool value)
bool RedactedHasBeenSet() const
bool MessageIdHasBeenSet() const
ChannelMessage & WithChannelArn(const Aws::String &value)
AWS_CHIME_API ChannelMessage(Aws::Utils::Json::JsonView jsonValue)
ChannelMessage & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
AWS_CHIME_API ChannelMessage()
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
ChannelMessage & WithContent(const Aws::String &value)
ChannelMessage & WithChannelArn(const char *value)
ChannelMessage & WithContent(Aws::String &&value)
void SetMessageId(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastEditedTimestamp() const
ChannelMessage & WithMetadata(const Aws::String &value)
bool PersistenceHasBeenSet() const
bool ContentHasBeenSet() const
bool LastUpdatedTimestampHasBeenSet() const
ChannelMessage & WithPersistence(ChannelMessagePersistenceType &&value)
void SetMessageId(const Aws::String &value)
void SetLastEditedTimestamp(Aws::Utils::DateTime &&value)
ChannelMessage & WithLastEditedTimestamp(const Aws::Utils::DateTime &value)
bool LastEditedTimestampHasBeenSet() const
ChannelMessage & WithMessageId(const char *value)
ChannelMessage & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetContent(const char *value)
void SetMetadata(const char *value)
ChannelMessagePersistenceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue