AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KnowledgeBaseData.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wisdom/model/KnowledgeBaseType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/wisdom/model/RenderingConfiguration.h>
12#include <aws/wisdom/model/ServerSideEncryptionConfiguration.h>
13#include <aws/wisdom/model/SourceConfiguration.h>
14#include <aws/wisdom/model/KnowledgeBaseStatus.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace ConnectWisdomService
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseData();
42 AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseData(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseData& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetDescription() const{ return m_description; }
52 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
53 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
54 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
55 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
56 inline KnowledgeBaseData& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
57 inline KnowledgeBaseData& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
58 inline KnowledgeBaseData& WithDescription(const char* value) { SetDescription(value); return *this;}
60
62
65 inline const Aws::String& GetKnowledgeBaseArn() const{ return m_knowledgeBaseArn; }
66 inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; }
67 inline void SetKnowledgeBaseArn(const Aws::String& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = value; }
68 inline void SetKnowledgeBaseArn(Aws::String&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::move(value); }
69 inline void SetKnowledgeBaseArn(const char* value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn.assign(value); }
70 inline KnowledgeBaseData& WithKnowledgeBaseArn(const Aws::String& value) { SetKnowledgeBaseArn(value); return *this;}
71 inline KnowledgeBaseData& WithKnowledgeBaseArn(Aws::String&& value) { SetKnowledgeBaseArn(std::move(value)); return *this;}
72 inline KnowledgeBaseData& WithKnowledgeBaseArn(const char* value) { SetKnowledgeBaseArn(value); return *this;}
74
76
80 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
81 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
82 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = value; }
83 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::move(value); }
84 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId.assign(value); }
85 inline KnowledgeBaseData& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
86 inline KnowledgeBaseData& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
87 inline KnowledgeBaseData& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
89
91
94 inline const KnowledgeBaseType& GetKnowledgeBaseType() const{ return m_knowledgeBaseType; }
95 inline bool KnowledgeBaseTypeHasBeenSet() const { return m_knowledgeBaseTypeHasBeenSet; }
96 inline void SetKnowledgeBaseType(const KnowledgeBaseType& value) { m_knowledgeBaseTypeHasBeenSet = true; m_knowledgeBaseType = value; }
97 inline void SetKnowledgeBaseType(KnowledgeBaseType&& value) { m_knowledgeBaseTypeHasBeenSet = true; m_knowledgeBaseType = std::move(value); }
99 inline KnowledgeBaseData& WithKnowledgeBaseType(KnowledgeBaseType&& value) { SetKnowledgeBaseType(std::move(value)); return *this;}
101
103
108 inline const Aws::Utils::DateTime& GetLastContentModificationTime() const{ return m_lastContentModificationTime; }
109 inline bool LastContentModificationTimeHasBeenSet() const { return m_lastContentModificationTimeHasBeenSet; }
110 inline void SetLastContentModificationTime(const Aws::Utils::DateTime& value) { m_lastContentModificationTimeHasBeenSet = true; m_lastContentModificationTime = value; }
111 inline void SetLastContentModificationTime(Aws::Utils::DateTime&& value) { m_lastContentModificationTimeHasBeenSet = true; m_lastContentModificationTime = std::move(value); }
115
117
120 inline const Aws::String& GetName() const{ return m_name; }
121 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
122 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
123 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
124 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
125 inline KnowledgeBaseData& WithName(const Aws::String& value) { SetName(value); return *this;}
126 inline KnowledgeBaseData& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
127 inline KnowledgeBaseData& WithName(const char* value) { SetName(value); return *this;}
129
131
134 inline const RenderingConfiguration& GetRenderingConfiguration() const{ return m_renderingConfiguration; }
135 inline bool RenderingConfigurationHasBeenSet() const { return m_renderingConfigurationHasBeenSet; }
136 inline void SetRenderingConfiguration(const RenderingConfiguration& value) { m_renderingConfigurationHasBeenSet = true; m_renderingConfiguration = value; }
137 inline void SetRenderingConfiguration(RenderingConfiguration&& value) { m_renderingConfigurationHasBeenSet = true; m_renderingConfiguration = std::move(value); }
141
143
153 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; }
154 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
155 inline void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; }
156 inline void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); }
160
162
165 inline const SourceConfiguration& GetSourceConfiguration() const{ return m_sourceConfiguration; }
166 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
167 inline void SetSourceConfiguration(const SourceConfiguration& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = value; }
168 inline void SetSourceConfiguration(SourceConfiguration&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::move(value); }
170 inline KnowledgeBaseData& WithSourceConfiguration(SourceConfiguration&& value) { SetSourceConfiguration(std::move(value)); return *this;}
172
174
177 inline const KnowledgeBaseStatus& GetStatus() const{ return m_status; }
178 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
179 inline void SetStatus(const KnowledgeBaseStatus& value) { m_statusHasBeenSet = true; m_status = value; }
180 inline void SetStatus(KnowledgeBaseStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
181 inline KnowledgeBaseData& WithStatus(const KnowledgeBaseStatus& value) { SetStatus(value); return *this;}
182 inline KnowledgeBaseData& WithStatus(KnowledgeBaseStatus&& value) { SetStatus(std::move(value)); return *this;}
184
186
189 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
190 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
191 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
192 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
193 inline KnowledgeBaseData& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
194 inline KnowledgeBaseData& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
195 inline KnowledgeBaseData& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
196 inline KnowledgeBaseData& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
197 inline KnowledgeBaseData& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
198 inline KnowledgeBaseData& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
199 inline KnowledgeBaseData& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
200 inline KnowledgeBaseData& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
201 inline KnowledgeBaseData& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
203 private:
204
205 Aws::String m_description;
206 bool m_descriptionHasBeenSet = false;
207
208 Aws::String m_knowledgeBaseArn;
209 bool m_knowledgeBaseArnHasBeenSet = false;
210
211 Aws::String m_knowledgeBaseId;
212 bool m_knowledgeBaseIdHasBeenSet = false;
213
214 KnowledgeBaseType m_knowledgeBaseType;
215 bool m_knowledgeBaseTypeHasBeenSet = false;
216
217 Aws::Utils::DateTime m_lastContentModificationTime;
218 bool m_lastContentModificationTimeHasBeenSet = false;
219
220 Aws::String m_name;
221 bool m_nameHasBeenSet = false;
222
223 RenderingConfiguration m_renderingConfiguration;
224 bool m_renderingConfigurationHasBeenSet = false;
225
226 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
227 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
228
229 SourceConfiguration m_sourceConfiguration;
230 bool m_sourceConfigurationHasBeenSet = false;
231
232 KnowledgeBaseStatus m_status;
233 bool m_statusHasBeenSet = false;
234
236 bool m_tagsHasBeenSet = false;
237 };
238
239} // namespace Model
240} // namespace ConnectWisdomService
241} // namespace Aws
void SetRenderingConfiguration(const RenderingConfiguration &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
KnowledgeBaseData & WithRenderingConfiguration(const RenderingConfiguration &value)
KnowledgeBaseData & AddTags(const char *key, const char *value)
void SetRenderingConfiguration(RenderingConfiguration &&value)
void SetSourceConfiguration(SourceConfiguration &&value)
KnowledgeBaseData & AddTags(Aws::String &&key, const char *value)
KnowledgeBaseData & WithLastContentModificationTime(Aws::Utils::DateTime &&value)
KnowledgeBaseData & AddTags(const Aws::String &key, Aws::String &&value)
void SetLastContentModificationTime(const Aws::Utils::DateTime &value)
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseData()
KnowledgeBaseData & WithKnowledgeBaseArn(const Aws::String &value)
KnowledgeBaseData & AddTags(const char *key, Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
KnowledgeBaseData & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseData(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseData & WithName(const Aws::String &value)
KnowledgeBaseData & WithDescription(Aws::String &&value)
KnowledgeBaseData & WithKnowledgeBaseArn(Aws::String &&value)
KnowledgeBaseData & WithDescription(const char *value)
void SetKnowledgeBaseType(const KnowledgeBaseType &value)
KnowledgeBaseData & WithKnowledgeBaseId(const char *value)
const KnowledgeBaseType & GetKnowledgeBaseType() const
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
KnowledgeBaseData & WithDescription(const Aws::String &value)
void SetServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
const Aws::Utils::DateTime & GetLastContentModificationTime() const
const RenderingConfiguration & GetRenderingConfiguration() const
KnowledgeBaseData & AddTags(const Aws::String &key, const Aws::String &value)
KnowledgeBaseData & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
KnowledgeBaseData & WithName(const char *value)
KnowledgeBaseData & WithKnowledgeBaseArn(const char *value)
KnowledgeBaseData & WithRenderingConfiguration(RenderingConfiguration &&value)
KnowledgeBaseData & WithKnowledgeBaseId(Aws::String &&value)
KnowledgeBaseData & WithKnowledgeBaseId(const Aws::String &value)
KnowledgeBaseData & WithServerSideEncryptionConfiguration(const ServerSideEncryptionConfiguration &value)
void SetSourceConfiguration(const SourceConfiguration &value)
KnowledgeBaseData & WithKnowledgeBaseType(KnowledgeBaseType &&value)
void SetLastContentModificationTime(Aws::Utils::DateTime &&value)
KnowledgeBaseData & WithKnowledgeBaseType(const KnowledgeBaseType &value)
KnowledgeBaseData & WithSourceConfiguration(SourceConfiguration &&value)
KnowledgeBaseData & WithStatus(const KnowledgeBaseStatus &value)
KnowledgeBaseData & WithName(Aws::String &&value)
const SourceConfiguration & GetSourceConfiguration() const
KnowledgeBaseData & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
KnowledgeBaseData & WithStatus(KnowledgeBaseStatus &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfiguration &&value)
KnowledgeBaseData & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const KnowledgeBaseStatus &value)
KnowledgeBaseData & WithLastContentModificationTime(const Aws::Utils::DateTime &value)
KnowledgeBaseData & WithSourceConfiguration(const SourceConfiguration &value)
KnowledgeBaseData & AddTags(Aws::String &&key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue