AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataDetails.h
1
6#pragma once
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 <utility>
12#include <memory>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QConnect
25{
26namespace Model
27{
28 class GenerativeDataDetails;
29
36 {
37 public:
38 AWS_QCONNECT_API DataDetails();
39 AWS_QCONNECT_API DataDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QCONNECT_API DataDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const ContentDataDetails& GetContentData() const{ return m_contentData; }
49 inline bool ContentDataHasBeenSet() const { return m_contentDataHasBeenSet; }
50 inline void SetContentData(const ContentDataDetails& value) { m_contentDataHasBeenSet = true; m_contentData = value; }
51 inline void SetContentData(ContentDataDetails&& value) { m_contentDataHasBeenSet = true; m_contentData = std::move(value); }
52 inline DataDetails& WithContentData(const ContentDataDetails& value) { SetContentData(value); return *this;}
53 inline DataDetails& WithContentData(ContentDataDetails&& value) { SetContentData(std::move(value)); return *this;}
55
57
60 AWS_QCONNECT_API const GenerativeDataDetails& GetGenerativeData() const;
61 AWS_QCONNECT_API bool GenerativeDataHasBeenSet() const;
62 AWS_QCONNECT_API void SetGenerativeData(const GenerativeDataDetails& value);
63 AWS_QCONNECT_API void SetGenerativeData(GenerativeDataDetails&& value);
64 AWS_QCONNECT_API DataDetails& WithGenerativeData(const GenerativeDataDetails& value);
67
69
72 inline const IntentDetectedDataDetails& GetIntentDetectedData() const{ return m_intentDetectedData; }
73 inline bool IntentDetectedDataHasBeenSet() const { return m_intentDetectedDataHasBeenSet; }
74 inline void SetIntentDetectedData(const IntentDetectedDataDetails& value) { m_intentDetectedDataHasBeenSet = true; m_intentDetectedData = value; }
75 inline void SetIntentDetectedData(IntentDetectedDataDetails&& value) { m_intentDetectedDataHasBeenSet = true; m_intentDetectedData = std::move(value); }
77 inline DataDetails& WithIntentDetectedData(IntentDetectedDataDetails&& value) { SetIntentDetectedData(std::move(value)); return *this;}
79
81
84 inline const SourceContentDataDetails& GetSourceContentData() const{ return m_sourceContentData; }
85 inline bool SourceContentDataHasBeenSet() const { return m_sourceContentDataHasBeenSet; }
86 inline void SetSourceContentData(const SourceContentDataDetails& value) { m_sourceContentDataHasBeenSet = true; m_sourceContentData = value; }
87 inline void SetSourceContentData(SourceContentDataDetails&& value) { m_sourceContentDataHasBeenSet = true; m_sourceContentData = std::move(value); }
89 inline DataDetails& WithSourceContentData(SourceContentDataDetails&& value) { SetSourceContentData(std::move(value)); return *this;}
91 private:
92
93 ContentDataDetails m_contentData;
94 bool m_contentDataHasBeenSet = false;
95
96 std::shared_ptr<GenerativeDataDetails> m_generativeData;
97 bool m_generativeDataHasBeenSet = false;
98
99 IntentDetectedDataDetails m_intentDetectedData;
100 bool m_intentDetectedDataHasBeenSet = false;
101
102 SourceContentDataDetails m_sourceContentData;
103 bool m_sourceContentDataHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace QConnect
108} // namespace Aws
AWS_QCONNECT_API DataDetails(Aws::Utils::Json::JsonView jsonValue)
const IntentDetectedDataDetails & GetIntentDetectedData() const
Definition DataDetails.h:72
AWS_QCONNECT_API void SetGenerativeData(const GenerativeDataDetails &value)
AWS_QCONNECT_API void SetGenerativeData(GenerativeDataDetails &&value)
void SetIntentDetectedData(const IntentDetectedDataDetails &value)
Definition DataDetails.h:74
DataDetails & WithSourceContentData(const SourceContentDataDetails &value)
Definition DataDetails.h:88
const SourceContentDataDetails & GetSourceContentData() const
Definition DataDetails.h:84
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIntentDetectedData(IntentDetectedDataDetails &&value)
Definition DataDetails.h:75
AWS_QCONNECT_API const GenerativeDataDetails & GetGenerativeData() const
DataDetails & WithContentData(ContentDataDetails &&value)
Definition DataDetails.h:53
DataDetails & WithSourceContentData(SourceContentDataDetails &&value)
Definition DataDetails.h:89
DataDetails & WithIntentDetectedData(IntentDetectedDataDetails &&value)
Definition DataDetails.h:77
void SetSourceContentData(const SourceContentDataDetails &value)
Definition DataDetails.h:86
AWS_QCONNECT_API DataDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceContentData(SourceContentDataDetails &&value)
Definition DataDetails.h:87
DataDetails & WithIntentDetectedData(const IntentDetectedDataDetails &value)
Definition DataDetails.h:76
AWS_QCONNECT_API DataDetails & WithGenerativeData(const GenerativeDataDetails &value)
AWS_QCONNECT_API bool GenerativeDataHasBeenSet() const
DataDetails & WithContentData(const ContentDataDetails &value)
Definition DataDetails.h:52
const ContentDataDetails & GetContentData() const
Definition DataDetails.h:48
void SetContentData(ContentDataDetails &&value)
Definition DataDetails.h:51
void SetContentData(const ContentDataDetails &value)
Definition DataDetails.h:50
AWS_QCONNECT_API DataDetails & WithGenerativeData(GenerativeDataDetails &&value)
Aws::Utils::Json::JsonValue JsonValue