AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
AgentKnowledgeBaseSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/KnowledgeBaseState.h>
9#include <aws/core/utils/DateTime.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
31 public:
32 AWS_BEDROCKAGENT_API AgentKnowledgeBaseSummary() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
42 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
43 template <typename KnowledgeBaseIdT = Aws::String>
45 m_knowledgeBaseIdHasBeenSet = true;
46 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
47 }
48 template <typename KnowledgeBaseIdT = Aws::String>
50 SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
79 inline KnowledgeBaseState GetKnowledgeBaseState() const { return m_knowledgeBaseState; }
80 inline bool KnowledgeBaseStateHasBeenSet() const { return m_knowledgeBaseStateHasBeenSet; }
82 m_knowledgeBaseStateHasBeenSet = true;
83 m_knowledgeBaseState = value;
84 }
87 return *this;
88 }
90
92
96 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
97 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
98 template <typename UpdatedAtT = Aws::Utils::DateTime>
99 void SetUpdatedAt(UpdatedAtT&& value) {
100 m_updatedAtHasBeenSet = true;
101 m_updatedAt = std::forward<UpdatedAtT>(value);
102 }
103 template <typename UpdatedAtT = Aws::Utils::DateTime>
105 SetUpdatedAt(std::forward<UpdatedAtT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_knowledgeBaseId;
111
112 Aws::String m_description;
113
115
116 Aws::Utils::DateTime m_updatedAt{};
117 bool m_knowledgeBaseIdHasBeenSet = false;
118 bool m_descriptionHasBeenSet = false;
119 bool m_knowledgeBaseStateHasBeenSet = false;
120 bool m_updatedAtHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace BedrockAgent
125} // namespace Aws
AgentKnowledgeBaseSummary & WithUpdatedAt(UpdatedAtT &&value)
AgentKnowledgeBaseSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
AgentKnowledgeBaseSummary & WithKnowledgeBaseState(KnowledgeBaseState value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentKnowledgeBaseSummary & WithDescription(DescriptionT &&value)
AWS_BEDROCKAGENT_API AgentKnowledgeBaseSummary()=default
AWS_BEDROCKAGENT_API AgentKnowledgeBaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API AgentKnowledgeBaseSummary(Aws::Utils::Json::JsonView jsonValue)
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