AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline AgentKnowledgeBaseSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline AgentKnowledgeBaseSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline AgentKnowledgeBaseSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
61 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
62 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
63 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
64 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
65 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
66 inline AgentKnowledgeBaseSummary& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
67 inline AgentKnowledgeBaseSummary& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
68 inline AgentKnowledgeBaseSummary& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
70
72
77 inline const KnowledgeBaseState& GetKnowledgeBaseState() const{ return m_knowledgeBaseState; }
78 inline bool KnowledgeBaseStateHasBeenSet() const { return m_knowledgeBaseStateHasBeenSet; }
79 inline void SetKnowledgeBaseState(const KnowledgeBaseState& value) { m_knowledgeBaseStateHasBeenSet = true; m_knowledgeBaseState = value; }
80 inline void SetKnowledgeBaseState(KnowledgeBaseState&& value) { m_knowledgeBaseStateHasBeenSet = true; m_knowledgeBaseState = std::move(value); }
84
86
90 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
91 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
92 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
93 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
94 inline AgentKnowledgeBaseSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
95 inline AgentKnowledgeBaseSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_description;
100 bool m_descriptionHasBeenSet = false;
101
102 Aws::String m_knowledgeBaseId;
103 bool m_knowledgeBaseIdHasBeenSet = false;
104
105 KnowledgeBaseState m_knowledgeBaseState;
106 bool m_knowledgeBaseStateHasBeenSet = false;
107
108 Aws::Utils::DateTime m_updatedAt;
109 bool m_updatedAtHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace BedrockAgent
114} // namespace Aws
AgentKnowledgeBaseSummary & WithDescription(Aws::String &&value)
AgentKnowledgeBaseSummary & WithKnowledgeBaseId(Aws::String &&value)
AgentKnowledgeBaseSummary & WithKnowledgeBaseState(const KnowledgeBaseState &value)
AgentKnowledgeBaseSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
AgentKnowledgeBaseSummary & WithDescription(const char *value)
AgentKnowledgeBaseSummary & WithKnowledgeBaseId(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AgentKnowledgeBaseSummary & WithDescription(const Aws::String &value)
AWS_BEDROCKAGENT_API AgentKnowledgeBaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentKnowledgeBaseSummary & WithKnowledgeBaseId(const char *value)
AWS_BEDROCKAGENT_API AgentKnowledgeBaseSummary(Aws::Utils::Json::JsonView jsonValue)
AgentKnowledgeBaseSummary & WithKnowledgeBaseState(KnowledgeBaseState &&value)
AgentKnowledgeBaseSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetKnowledgeBaseState(const KnowledgeBaseState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue