AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GenerativeDataDetails.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/RankingData.h>
10#include <aws/qconnect/model/DataSummary.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
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 DataSummary;
29
36 {
37 public:
38 AWS_QCONNECT_API GenerativeDataDetails();
41 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetCompletion() const{ return m_completion; }
49 inline bool CompletionHasBeenSet() const { return m_completionHasBeenSet; }
50 inline void SetCompletion(const Aws::String& value) { m_completionHasBeenSet = true; m_completion = value; }
51 inline void SetCompletion(Aws::String&& value) { m_completionHasBeenSet = true; m_completion = std::move(value); }
52 inline void SetCompletion(const char* value) { m_completionHasBeenSet = true; m_completion.assign(value); }
53 inline GenerativeDataDetails& WithCompletion(const Aws::String& value) { SetCompletion(value); return *this;}
54 inline GenerativeDataDetails& WithCompletion(Aws::String&& value) { SetCompletion(std::move(value)); return *this;}
55 inline GenerativeDataDetails& WithCompletion(const char* value) { SetCompletion(value); return *this;}
57
59
62 inline const RankingData& GetRankingData() const{ return m_rankingData; }
63 inline bool RankingDataHasBeenSet() const { return m_rankingDataHasBeenSet; }
64 inline void SetRankingData(const RankingData& value) { m_rankingDataHasBeenSet = true; m_rankingData = value; }
65 inline void SetRankingData(RankingData&& value) { m_rankingDataHasBeenSet = true; m_rankingData = std::move(value); }
66 inline GenerativeDataDetails& WithRankingData(const RankingData& value) { SetRankingData(value); return *this;}
67 inline GenerativeDataDetails& WithRankingData(RankingData&& value) { SetRankingData(std::move(value)); return *this;}
69
71
74 inline const Aws::Vector<DataSummary>& GetReferences() const{ return m_references; }
75 inline bool ReferencesHasBeenSet() const { return m_referencesHasBeenSet; }
76 inline void SetReferences(const Aws::Vector<DataSummary>& value) { m_referencesHasBeenSet = true; m_references = value; }
77 inline void SetReferences(Aws::Vector<DataSummary>&& value) { m_referencesHasBeenSet = true; m_references = std::move(value); }
78 inline GenerativeDataDetails& WithReferences(const Aws::Vector<DataSummary>& value) { SetReferences(value); return *this;}
79 inline GenerativeDataDetails& WithReferences(Aws::Vector<DataSummary>&& value) { SetReferences(std::move(value)); return *this;}
80 inline GenerativeDataDetails& AddReferences(const DataSummary& value) { m_referencesHasBeenSet = true; m_references.push_back(value); return *this; }
81 inline GenerativeDataDetails& AddReferences(DataSummary&& value) { m_referencesHasBeenSet = true; m_references.push_back(std::move(value)); return *this; }
83 private:
84
85 Aws::String m_completion;
86 bool m_completionHasBeenSet = false;
87
88 RankingData m_rankingData;
89 bool m_rankingDataHasBeenSet = false;
90
91 Aws::Vector<DataSummary> m_references;
92 bool m_referencesHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace QConnect
97} // namespace Aws
GenerativeDataDetails & AddReferences(const DataSummary &value)
GenerativeDataDetails & WithCompletion(Aws::String &&value)
AWS_QCONNECT_API GenerativeDataDetails(Aws::Utils::Json::JsonView jsonValue)
GenerativeDataDetails & AddReferences(DataSummary &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
GenerativeDataDetails & WithRankingData(const RankingData &value)
GenerativeDataDetails & WithReferences(Aws::Vector< DataSummary > &&value)
void SetReferences(Aws::Vector< DataSummary > &&value)
const Aws::Vector< DataSummary > & GetReferences() const
GenerativeDataDetails & WithCompletion(const Aws::String &value)
GenerativeDataDetails & WithRankingData(RankingData &&value)
GenerativeDataDetails & WithReferences(const Aws::Vector< DataSummary > &value)
AWS_QCONNECT_API GenerativeDataDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReferences(const Aws::Vector< DataSummary > &value)
GenerativeDataDetails & WithCompletion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue