7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10#include <aws/qconnect/model/DataSummary.h>
43 template <
typename CompletionT = Aws::String>
45 m_completionHasBeenSet =
true;
46 m_completion = std::forward<CompletionT>(value);
48 template <
typename CompletionT = Aws::String>
61 template <
typename ReferencesT = Aws::Vector<DataSummary>>
63 m_referencesHasBeenSet =
true;
64 m_references = std::forward<ReferencesT>(value);
66 template <
typename ReferencesT = Aws::Vector<DataSummary>>
71 template <
typename ReferencesT = DataSummary>
73 m_referencesHasBeenSet =
true;
74 m_references.emplace_back(std::forward<ReferencesT>(value));
86 template <
typename NextChunkTokenT = Aws::String>
88 m_nextChunkTokenHasBeenSet =
true;
89 m_nextChunkToken = std::forward<NextChunkTokenT>(value);
91 template <
typename NextChunkTokenT = Aws::String>
103 bool m_completionHasBeenSet =
false;
104 bool m_referencesHasBeenSet =
false;
105 bool m_nextChunkTokenHasBeenSet =
false;
bool NextChunkTokenHasBeenSet() const
GenerativeChunkDataDetails & AddReferences(ReferencesT &&value)
void SetNextChunkToken(NextChunkTokenT &&value)
AWS_QCONNECT_API GenerativeChunkDataDetails()=default
bool CompletionHasBeenSet() const
AWS_QCONNECT_API GenerativeChunkDataDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCompletion(CompletionT &&value)
AWS_QCONNECT_API GenerativeChunkDataDetails(Aws::Utils::Json::JsonView jsonValue)
GenerativeChunkDataDetails & WithReferences(ReferencesT &&value)
const Aws::Vector< DataSummary > & GetReferences() const
bool ReferencesHasBeenSet() const
GenerativeChunkDataDetails & WithNextChunkToken(NextChunkTokenT &&value)
void SetReferences(ReferencesT &&value)
GenerativeChunkDataDetails & WithCompletion(CompletionT &&value)
const Aws::String & GetNextChunkToken() const
const Aws::String & GetCompletion() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue