AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AgentKnowledgeBaseSummary.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/KnowledgeBaseState.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgent
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKAGENT_API AgentKnowledgeBaseSummary() = default;
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDescription() const { return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 template<typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
51 template<typename DescriptionT = Aws::String>
52 AgentKnowledgeBaseSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
54
56
59 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
60 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
61 template<typename KnowledgeBaseIdT = Aws::String>
62 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
63 template<typename KnowledgeBaseIdT = Aws::String>
64 AgentKnowledgeBaseSummary& WithKnowledgeBaseId(KnowledgeBaseIdT&& value) { SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value)); return *this;}
66
68
73 inline KnowledgeBaseState GetKnowledgeBaseState() const { return m_knowledgeBaseState; }
74 inline bool KnowledgeBaseStateHasBeenSet() const { return m_knowledgeBaseStateHasBeenSet; }
75 inline void SetKnowledgeBaseState(KnowledgeBaseState value) { m_knowledgeBaseStateHasBeenSet = true; m_knowledgeBaseState = value; }
78
80
84 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
85 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
86 template<typename UpdatedAtT = Aws::Utils::DateTime>
87 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
88 template<typename UpdatedAtT = Aws::Utils::DateTime>
89 AgentKnowledgeBaseSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
91 private:
92
93 Aws::String m_description;
94 bool m_descriptionHasBeenSet = false;
95
96 Aws::String m_knowledgeBaseId;
97 bool m_knowledgeBaseIdHasBeenSet = false;
98
100 bool m_knowledgeBaseStateHasBeenSet = false;
101
102 Aws::Utils::DateTime m_updatedAt{};
103 bool m_updatedAtHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace BedrockAgent
108} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue