7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/qbusiness/model/MessageType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/qbusiness/model/ActionReview.h>
13#include <aws/qbusiness/model/ActionExecution.h>
14#include <aws/qbusiness/model/AttachmentOutput.h>
15#include <aws/qbusiness/model/SourceAttribution.h>
56 inline void SetMessageId(
const char* value) { m_messageIdHasBeenSet =
true; m_messageId.assign(value); }
70 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
152 bool m_messageIdHasBeenSet =
false;
155 bool m_bodyHasBeenSet =
false;
158 bool m_timeHasBeenSet =
false;
161 bool m_typeHasBeenSet =
false;
164 bool m_attachmentsHasBeenSet =
false;
167 bool m_sourceAttributionHasBeenSet =
false;
170 bool m_actionReviewHasBeenSet =
false;
173 bool m_actionExecutionHasBeenSet =
false;
Message & WithMessageId(const char *value)
void SetTime(const Aws::Utils::DateTime &value)
Message & WithActionExecution(const ActionExecution &value)
Message & AddSourceAttribution(const SourceAttribution &value)
bool MessageIdHasBeenSet() const
AWS_QBUSINESS_API Message & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TimeHasBeenSet() const
const Aws::Utils::DateTime & GetTime() const
void SetType(const MessageType &value)
AWS_QBUSINESS_API Message(Aws::Utils::Json::JsonView jsonValue)
void SetBody(Aws::String &&value)
Message & WithActionReview(ActionReview &&value)
Message & WithBody(Aws::String &&value)
void SetActionReview(ActionReview &&value)
Message & WithAttachments(Aws::Vector< AttachmentOutput > &&value)
Message & AddSourceAttribution(SourceAttribution &&value)
Message & WithTime(const Aws::Utils::DateTime &value)
const Aws::Vector< SourceAttribution > & GetSourceAttribution() const
void SetMessageId(const char *value)
void SetActionExecution(const ActionExecution &value)
void SetActionReview(const ActionReview &value)
Message & WithSourceAttribution(const Aws::Vector< SourceAttribution > &value)
const Aws::Vector< AttachmentOutput > & GetAttachments() const
void SetMessageId(Aws::String &&value)
bool AttachmentsHasBeenSet() const
void SetSourceAttribution(const Aws::Vector< SourceAttribution > &value)
void SetSourceAttribution(Aws::Vector< SourceAttribution > &&value)
const Aws::String & GetMessageId() const
Message & WithActionExecution(ActionExecution &&value)
bool ActionExecutionHasBeenSet() const
Message & WithBody(const char *value)
const MessageType & GetType() const
bool BodyHasBeenSet() const
const ActionExecution & GetActionExecution() const
void SetActionExecution(ActionExecution &&value)
Message & WithAttachments(const Aws::Vector< AttachmentOutput > &value)
Message & WithMessageId(const Aws::String &value)
void SetMessageId(const Aws::String &value)
Message & WithSourceAttribution(Aws::Vector< SourceAttribution > &&value)
Message & AddAttachments(AttachmentOutput &&value)
void SetBody(const Aws::String &value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceAttributionHasBeenSet() const
Message & WithActionReview(const ActionReview &value)
bool TypeHasBeenSet() const
void SetAttachments(const Aws::Vector< AttachmentOutput > &value)
const Aws::String & GetBody() const
AWS_QBUSINESS_API Message()
Message & WithMessageId(Aws::String &&value)
Message & WithType(MessageType &&value)
void SetType(MessageType &&value)
Message & WithBody(const Aws::String &value)
void SetTime(Aws::Utils::DateTime &&value)
Message & WithType(const MessageType &value)
Message & WithTime(Aws::Utils::DateTime &&value)
bool ActionReviewHasBeenSet() const
Message & AddAttachments(const AttachmentOutput &value)
void SetAttachments(Aws::Vector< AttachmentOutput > &&value)
const ActionReview & GetActionReview() const
void SetBody(const char *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