AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSourceSummary.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/DataSourceStatus.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
34 {
35 public:
36 AWS_BEDROCKAGENT_API DataSourceSummary();
37 AWS_BEDROCKAGENT_API DataSourceSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKAGENT_API DataSourceSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
47 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
48 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
49 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
50 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
51 inline DataSourceSummary& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
52 inline DataSourceSummary& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
53 inline DataSourceSummary& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline DataSourceSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline DataSourceSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline DataSourceSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
75 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
76 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
77 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
78 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
79 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
80 inline DataSourceSummary& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
81 inline DataSourceSummary& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
82 inline DataSourceSummary& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
84
86
89 inline const Aws::String& GetName() const{ return m_name; }
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
93 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
94 inline DataSourceSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
95 inline DataSourceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
96 inline DataSourceSummary& WithName(const char* value) { SetName(value); return *this;}
98
100
103 inline const DataSourceStatus& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const DataSourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(DataSourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline DataSourceSummary& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
108 inline DataSourceSummary& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
116 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
117 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
118 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
119 inline DataSourceSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
120 inline DataSourceSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_dataSourceId;
125 bool m_dataSourceIdHasBeenSet = false;
126
127 Aws::String m_description;
128 bool m_descriptionHasBeenSet = false;
129
130 Aws::String m_knowledgeBaseId;
131 bool m_knowledgeBaseIdHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
136 DataSourceStatus m_status;
137 bool m_statusHasBeenSet = false;
138
139 Aws::Utils::DateTime m_updatedAt;
140 bool m_updatedAtHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace BedrockAgent
145} // namespace Aws
DataSourceSummary & WithKnowledgeBaseId(const Aws::String &value)
DataSourceSummary & WithKnowledgeBaseId(Aws::String &&value)
DataSourceSummary & WithDataSourceId(const char *value)
DataSourceSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DataSourceSummary & WithKnowledgeBaseId(const char *value)
DataSourceSummary & WithDescription(Aws::String &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
DataSourceSummary & WithStatus(DataSourceStatus &&value)
void SetStatus(const DataSourceStatus &value)
const DataSourceStatus & GetStatus() const
DataSourceSummary & WithStatus(const DataSourceStatus &value)
DataSourceSummary & WithName(Aws::String &&value)
DataSourceSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_BEDROCKAGENT_API DataSourceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
DataSourceSummary & WithDataSourceId(Aws::String &&value)
void SetKnowledgeBaseId(const Aws::String &value)
DataSourceSummary & WithName(const char *value)
DataSourceSummary & WithDescription(const char *value)
const Aws::String & GetKnowledgeBaseId() const
void SetDataSourceId(const Aws::String &value)
DataSourceSummary & WithDescription(const Aws::String &value)
DataSourceSummary & WithName(const Aws::String &value)
DataSourceSummary & WithDataSourceId(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AWS_BEDROCKAGENT_API DataSourceSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue