7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/InsightFeedbackEntity.h>
11#include <aws/opensearch/model/InsightFeedbackThumbs.h>
16namespace OpenSearchService {
44 template <
typename EntityT = InsightFeedbackEntity>
46 m_entityHasBeenSet =
true;
47 m_entity = std::forward<EntityT>(value);
49 template <
typename EntityT = InsightFeedbackEntity>
62 template <
typename InsightIdT = Aws::String>
64 m_insightIdHasBeenSet =
true;
65 m_insightId = std::forward<InsightIdT>(value);
67 template <
typename InsightIdT = Aws::String>
82 m_thumbsHasBeenSet =
true;
98 template <
typename FeedbackTextT = Aws::String>
100 m_feedbackTextHasBeenSet =
true;
101 m_feedbackText = std::forward<FeedbackTextT>(value);
103 template <
typename FeedbackTextT = Aws::String>
117 bool m_entityHasBeenSet =
false;
118 bool m_insightIdHasBeenSet =
false;
119 bool m_thumbsHasBeenSet =
false;
120 bool m_feedbackTextHasBeenSet =
false;
InsightFeedbackRequest & WithEntity(EntityT &&value)
bool ThumbsHasBeenSet() const
const Aws::String & GetInsightId() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
InsightFeedbackRequest & WithFeedbackText(FeedbackTextT &&value)
const InsightFeedbackEntity & GetEntity() const
void SetInsightId(InsightIdT &&value)
const Aws::String & GetFeedbackText() const
bool InsightIdHasBeenSet() const
bool EntityHasBeenSet() const
AWS_OPENSEARCHSERVICE_API InsightFeedbackRequest()=default
InsightFeedbackThumbs GetThumbs() const
InsightFeedbackRequest & WithInsightId(InsightIdT &&value)
InsightFeedbackRequest & WithThumbs(InsightFeedbackThumbs value)
virtual const char * GetServiceRequestName() const override
bool FeedbackTextHasBeenSet() const
void SetEntity(EntityT &&value)
void SetThumbs(InsightFeedbackThumbs value)
void SetFeedbackText(FeedbackTextT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String