7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/MessageUsefulness.h>
11#include <aws/qbusiness/model/MessageUsefulnessReason.h>
45 m_usefulnessHasBeenSet =
true;
61 m_reasonHasBeenSet =
true;
77 template <
typename CommentT = Aws::String>
79 m_commentHasBeenSet =
true;
80 m_comment = std::forward<CommentT>(value);
82 template <
typename CommentT = Aws::String>
95 template <
typename SubmittedAtT = Aws::Utils::DateTime>
97 m_submittedAtHasBeenSet =
true;
98 m_submittedAt = std::forward<SubmittedAtT>(value);
100 template <
typename SubmittedAtT = Aws::Utils::DateTime>
114 bool m_usefulnessHasBeenSet =
false;
115 bool m_reasonHasBeenSet =
false;
116 bool m_commentHasBeenSet =
false;
117 bool m_submittedAtHasBeenSet =
false;
void SetComment(CommentT &&value)
bool SubmittedAtHasBeenSet() const
bool CommentHasBeenSet() const
bool UsefulnessHasBeenSet() const
const Aws::String & GetComment() const
AWS_QBUSINESS_API MessageUsefulnessFeedback()=default
bool ReasonHasBeenSet() const
MessageUsefulness GetUsefulness() const
void SetReason(MessageUsefulnessReason value)
void SetUsefulness(MessageUsefulness value)
MessageUsefulnessReason GetReason() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API MessageUsefulnessFeedback & operator=(Aws::Utils::Json::JsonView jsonValue)
MessageUsefulnessFeedback & WithReason(MessageUsefulnessReason value)
const Aws::Utils::DateTime & GetSubmittedAt() const
MessageUsefulnessFeedback & WithUsefulness(MessageUsefulness value)
MessageUsefulnessFeedback & WithSubmittedAt(SubmittedAtT &&value)
MessageUsefulnessFeedback & WithComment(CommentT &&value)
AWS_QBUSINESS_API MessageUsefulnessFeedback(Aws::Utils::Json::JsonView jsonValue)
void SetSubmittedAt(SubmittedAtT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue