AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GenerativeContentFeedbackData.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/Relevance.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QConnect
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Relevance& GetRelevance() const{ return m_relevance; }
46 inline bool RelevanceHasBeenSet() const { return m_relevanceHasBeenSet; }
47 inline void SetRelevance(const Relevance& value) { m_relevanceHasBeenSet = true; m_relevance = value; }
48 inline void SetRelevance(Relevance&& value) { m_relevanceHasBeenSet = true; m_relevance = std::move(value); }
49 inline GenerativeContentFeedbackData& WithRelevance(const Relevance& value) { SetRelevance(value); return *this;}
50 inline GenerativeContentFeedbackData& WithRelevance(Relevance&& value) { SetRelevance(std::move(value)); return *this;}
52 private:
53
54 Relevance m_relevance;
55 bool m_relevanceHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace QConnect
60} // namespace Aws
GenerativeContentFeedbackData & WithRelevance(Relevance &&value)
AWS_QCONNECT_API GenerativeContentFeedbackData(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API GenerativeContentFeedbackData & operator=(Aws::Utils::Json::JsonView jsonValue)
GenerativeContentFeedbackData & WithRelevance(const Relevance &value)
Aws::Utils::Json::JsonValue JsonValue