AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MetadataAttributeSchema.h
1
6#pragma once
7#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent-runtime/model/AttributeType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgentRuntime
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BEDROCKAGENTRUNTIME_API MetadataAttributeSchema() = default;
36 AWS_BEDROCKAGENTRUNTIME_API MetadataAttributeSchema(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKAGENTRUNTIME_API MetadataAttributeSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDescription() const { return m_description; }
46 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
47 template<typename DescriptionT = Aws::String>
48 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
49 template<typename DescriptionT = Aws::String>
50 MetadataAttributeSchema& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
52
54
57 inline const Aws::String& GetKey() const { return m_key; }
58 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
59 template<typename KeyT = Aws::String>
60 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
61 template<typename KeyT = Aws::String>
62 MetadataAttributeSchema& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
64
66
69 inline AttributeType GetType() const { return m_type; }
70 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
71 inline void SetType(AttributeType value) { m_typeHasBeenSet = true; m_type = value; }
72 inline MetadataAttributeSchema& WithType(AttributeType value) { SetType(value); return *this;}
74 private:
75
76 Aws::String m_description;
77 bool m_descriptionHasBeenSet = false;
78
79 Aws::String m_key;
80 bool m_keyHasBeenSet = false;
81
83 bool m_typeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace BedrockAgentRuntime
88} // namespace Aws
MetadataAttributeSchema & WithType(AttributeType value)
AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTRUNTIME_API MetadataAttributeSchema(Aws::Utils::Json::JsonView jsonValue)
MetadataAttributeSchema & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENTRUNTIME_API MetadataAttributeSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTRUNTIME_API MetadataAttributeSchema()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue