7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/MessageUsefulness.h>
9#include <aws/qbusiness/model/MessageUsefulnessReason.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
77 inline void SetComment(
const char* value) { m_commentHasBeenSet =
true; m_comment.assign(value); }
97 bool m_usefulnessHasBeenSet =
false;
100 bool m_reasonHasBeenSet =
false;
103 bool m_commentHasBeenSet =
false;
106 bool m_submittedAtHasBeenSet =
false;
MessageUsefulnessFeedback & WithUsefulness(const MessageUsefulness &value)
void SetReason(MessageUsefulnessReason &&value)
AWS_QBUSINESS_API MessageUsefulnessFeedback()
bool SubmittedAtHasBeenSet() const
const MessageUsefulnessReason & GetReason() const
bool CommentHasBeenSet() const
MessageUsefulnessFeedback & WithReason(const MessageUsefulnessReason &value)
bool UsefulnessHasBeenSet() const
const Aws::String & GetComment() const
const MessageUsefulness & GetUsefulness() const
void SetSubmittedAt(Aws::Utils::DateTime &&value)
bool ReasonHasBeenSet() const
MessageUsefulnessFeedback & WithSubmittedAt(const Aws::Utils::DateTime &value)
MessageUsefulnessFeedback & WithComment(Aws::String &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API MessageUsefulnessFeedback & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReason(const MessageUsefulnessReason &value)
MessageUsefulnessFeedback & WithComment(const char *value)
void SetSubmittedAt(const Aws::Utils::DateTime &value)
void SetUsefulness(const MessageUsefulness &value)
void SetComment(const Aws::String &value)
void SetComment(const char *value)
const Aws::Utils::DateTime & GetSubmittedAt() const
MessageUsefulnessFeedback & WithSubmittedAt(Aws::Utils::DateTime &&value)
void SetComment(Aws::String &&value)
MessageUsefulnessFeedback & WithComment(const Aws::String &value)
AWS_QBUSINESS_API MessageUsefulnessFeedback(Aws::Utils::Json::JsonView jsonValue)
void SetUsefulness(MessageUsefulness &&value)
MessageUsefulnessFeedback & WithUsefulness(MessageUsefulness &&value)
MessageUsefulnessFeedback & WithReason(MessageUsefulnessReason &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue