7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/ContentDataDetails.h>
9#include <aws/qconnect/model/IntentDetectedDataDetails.h>
10#include <aws/qconnect/model/SourceContentDataDetails.h>
11#include <aws/core/utils/memory/stl/AWSAllocator.h>
28 class GenerativeDataDetails;
29 class GenerativeChunkDataDetails;
51 template<
typename ContentDataT = ContentDataDetails>
52 void SetContentData(ContentDataT&& value) { m_contentDataHasBeenSet =
true; m_contentData = std::forward<ContentDataT>(value); }
53 template<
typename ContentDataT = ContentDataDetails>
62 return *m_generativeData;
65 template<
typename GenerativeDataT = GenerativeDataDetails>
67 m_generativeDataHasBeenSet =
true;
70 template<
typename GenerativeDataT = GenerativeDataDetails>
80 template<
typename IntentDetectedDataT = IntentDetectedDataDetails>
82 template<
typename IntentDetectedDataT = IntentDetectedDataDetails>
92 template<
typename SourceContentDataT = SourceContentDataDetails>
94 template<
typename SourceContentDataT = SourceContentDataDetails>
103 return *m_generativeChunkData;
106 template<
typename GenerativeChunkDataT = GenerativeChunkDataDetails>
108 m_generativeChunkDataHasBeenSet =
true;
111 template<
typename GenerativeChunkDataT = GenerativeChunkDataDetails>
117 bool m_contentDataHasBeenSet =
false;
119 std::shared_ptr<GenerativeDataDetails> m_generativeData;
120 bool m_generativeDataHasBeenSet =
false;
123 bool m_intentDetectedDataHasBeenSet =
false;
126 bool m_sourceContentDataHasBeenSet =
false;
128 std::shared_ptr<GenerativeChunkDataDetails> m_generativeChunkData;
129 bool m_generativeChunkDataHasBeenSet =
false;
void SetSourceContentData(SourceContentDataT &&value)
AWS_QCONNECT_API DataDetails(Aws::Utils::Json::JsonView jsonValue)
bool SourceContentDataHasBeenSet() const
const IntentDetectedDataDetails & GetIntentDetectedData() const
const GenerativeChunkDataDetails & GetGenerativeChunkData() const
void SetIntentDetectedData(IntentDetectedDataT &&value)
bool IntentDetectedDataHasBeenSet() const
DataDetails & WithSourceContentData(SourceContentDataT &&value)
const SourceContentDataDetails & GetSourceContentData() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ContentDataHasBeenSet() const
bool GenerativeChunkDataHasBeenSet() const
AWS_QCONNECT_API DataDetails()=default
void SetContentData(ContentDataT &&value)
bool GenerativeDataHasBeenSet() const
DataDetails & WithIntentDetectedData(IntentDetectedDataT &&value)
void SetGenerativeChunkData(GenerativeChunkDataT &&value)
AWS_QCONNECT_API DataDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
DataDetails & WithGenerativeChunkData(GenerativeChunkDataT &&value)
const GenerativeDataDetails & GetGenerativeData() const
DataDetails & WithGenerativeData(GenerativeDataT &&value)
const ContentDataDetails & GetContentData() const
void SetGenerativeData(GenerativeDataT &&value)
DataDetails & WithContentData(ContentDataT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue