AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
MetadataConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/FieldType.h>
9#include <aws/bedrock-agent/model/SearchableStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent {
22namespace Model {
23
32 public:
33 AWS_BEDROCKAGENT_API MetadataConfiguration() = default;
34 AWS_BEDROCKAGENT_API MetadataConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
61 inline FieldType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(FieldType value) {
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72
74
79 inline SearchableStatus GetSearchability() const { return m_searchability; }
80 inline bool SearchabilityHasBeenSet() const { return m_searchabilityHasBeenSet; }
82 m_searchabilityHasBeenSet = true;
83 m_searchability = value;
84 }
86 SetSearchability(value);
87 return *this;
88 }
90 private:
91 Aws::String m_name;
92
94
96 bool m_nameHasBeenSet = false;
97 bool m_typeHasBeenSet = false;
98 bool m_searchabilityHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace BedrockAgent
103} // namespace Aws
AWS_BEDROCKAGENT_API MetadataConfiguration()=default
MetadataConfiguration & WithName(NameT &&value)
AWS_BEDROCKAGENT_API MetadataConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MetadataConfiguration & WithType(FieldType value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
MetadataConfiguration & WithSearchability(SearchableStatus value)
AWS_BEDROCKAGENT_API MetadataConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue