AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
FieldForReranking.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
31 public:
32 AWS_BEDROCK_API FieldForReranking() = default;
35 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetFieldName() const { return m_fieldName; }
42 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
43 template <typename FieldNameT = Aws::String>
44 void SetFieldName(FieldNameT&& value) {
45 m_fieldNameHasBeenSet = true;
46 m_fieldName = std::forward<FieldNameT>(value);
47 }
48 template <typename FieldNameT = Aws::String>
49 FieldForReranking& WithFieldName(FieldNameT&& value) {
50 SetFieldName(std::forward<FieldNameT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_fieldName;
56 bool m_fieldNameHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace Bedrock
61} // namespace Aws
AWS_BEDROCK_API FieldForReranking(Aws::Utils::Json::JsonView jsonValue)
FieldForReranking & WithFieldName(FieldNameT &&value)
AWS_BEDROCK_API FieldForReranking()=default
const Aws::String & GetFieldName() const
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API FieldForReranking & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue