AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EvaluationPrecomputedRetrieveSourceConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
30 public:
31 AWS_BEDROCK_API EvaluationPrecomputedRetrieveSourceConfig() = default;
34 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetRagSourceIdentifier() const { return m_ragSourceIdentifier; }
42 inline bool RagSourceIdentifierHasBeenSet() const { return m_ragSourceIdentifierHasBeenSet; }
43 template <typename RagSourceIdentifierT = Aws::String>
45 m_ragSourceIdentifierHasBeenSet = true;
46 m_ragSourceIdentifier = std::forward<RagSourceIdentifierT>(value);
47 }
48 template <typename RagSourceIdentifierT = Aws::String>
50 SetRagSourceIdentifier(std::forward<RagSourceIdentifierT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_ragSourceIdentifier;
56 bool m_ragSourceIdentifierHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace Bedrock
61} // namespace Aws
AWS_BEDROCK_API EvaluationPrecomputedRetrieveSourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API EvaluationPrecomputedRetrieveSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationPrecomputedRetrieveSourceConfig & WithRagSourceIdentifier(RagSourceIdentifierT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue