AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KnowledgeBaseSummary.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/wisdom/model/RenderingConfiguration.h>
11#include <aws/wisdom/model/ServerSideEncryptionConfiguration.h>
12#include <aws/wisdom/model/SourceConfiguration.h>
13#include <aws/wisdom/model/KnowledgeBaseStatus.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace ConnectWisdomService
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary() = default;
41 AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetDescription() const { return m_description; }
51 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
52 template<typename DescriptionT = Aws::String>
53 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
54 template<typename DescriptionT = Aws::String>
55 KnowledgeBaseSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
57
59
62 inline const Aws::String& GetKnowledgeBaseArn() const { return m_knowledgeBaseArn; }
63 inline bool KnowledgeBaseArnHasBeenSet() const { return m_knowledgeBaseArnHasBeenSet; }
64 template<typename KnowledgeBaseArnT = Aws::String>
65 void SetKnowledgeBaseArn(KnowledgeBaseArnT&& value) { m_knowledgeBaseArnHasBeenSet = true; m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value); }
66 template<typename KnowledgeBaseArnT = Aws::String>
67 KnowledgeBaseSummary& WithKnowledgeBaseArn(KnowledgeBaseArnT&& value) { SetKnowledgeBaseArn(std::forward<KnowledgeBaseArnT>(value)); return *this;}
69
71
75 inline const Aws::String& GetKnowledgeBaseId() const { return m_knowledgeBaseId; }
76 inline bool KnowledgeBaseIdHasBeenSet() const { return m_knowledgeBaseIdHasBeenSet; }
77 template<typename KnowledgeBaseIdT = Aws::String>
78 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet = true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
79 template<typename KnowledgeBaseIdT = Aws::String>
80 KnowledgeBaseSummary& WithKnowledgeBaseId(KnowledgeBaseIdT&& value) { SetKnowledgeBaseId(std::forward<KnowledgeBaseIdT>(value)); return *this;}
82
84
87 inline KnowledgeBaseType GetKnowledgeBaseType() const { return m_knowledgeBaseType; }
88 inline bool KnowledgeBaseTypeHasBeenSet() const { return m_knowledgeBaseTypeHasBeenSet; }
89 inline void SetKnowledgeBaseType(KnowledgeBaseType value) { m_knowledgeBaseTypeHasBeenSet = true; m_knowledgeBaseType = value; }
92
94
97 inline const Aws::String& GetName() const { return m_name; }
98 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
99 template<typename NameT = Aws::String>
100 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
101 template<typename NameT = Aws::String>
102 KnowledgeBaseSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
104
106
109 inline const RenderingConfiguration& GetRenderingConfiguration() const { return m_renderingConfiguration; }
110 inline bool RenderingConfigurationHasBeenSet() const { return m_renderingConfigurationHasBeenSet; }
111 template<typename RenderingConfigurationT = RenderingConfiguration>
112 void SetRenderingConfiguration(RenderingConfigurationT&& value) { m_renderingConfigurationHasBeenSet = true; m_renderingConfiguration = std::forward<RenderingConfigurationT>(value); }
113 template<typename RenderingConfigurationT = RenderingConfiguration>
114 KnowledgeBaseSummary& WithRenderingConfiguration(RenderingConfigurationT&& value) { SetRenderingConfiguration(std::forward<RenderingConfigurationT>(value)); return *this;}
116
118
128 inline const ServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const { return m_serverSideEncryptionConfiguration; }
129 inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; }
130 template<typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
131 void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value); }
132 template<typename ServerSideEncryptionConfigurationT = ServerSideEncryptionConfiguration>
133 KnowledgeBaseSummary& WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT&& value) { SetServerSideEncryptionConfiguration(std::forward<ServerSideEncryptionConfigurationT>(value)); return *this;}
135
137
140 inline const SourceConfiguration& GetSourceConfiguration() const { return m_sourceConfiguration; }
141 inline bool SourceConfigurationHasBeenSet() const { return m_sourceConfigurationHasBeenSet; }
142 template<typename SourceConfigurationT = SourceConfiguration>
143 void SetSourceConfiguration(SourceConfigurationT&& value) { m_sourceConfigurationHasBeenSet = true; m_sourceConfiguration = std::forward<SourceConfigurationT>(value); }
144 template<typename SourceConfigurationT = SourceConfiguration>
145 KnowledgeBaseSummary& WithSourceConfiguration(SourceConfigurationT&& value) { SetSourceConfiguration(std::forward<SourceConfigurationT>(value)); return *this;}
147
149
152 inline KnowledgeBaseStatus GetStatus() const { return m_status; }
153 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
154 inline void SetStatus(KnowledgeBaseStatus value) { m_statusHasBeenSet = true; m_status = value; }
155 inline KnowledgeBaseSummary& WithStatus(KnowledgeBaseStatus value) { SetStatus(value); return *this;}
157
159
162 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
163 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
164 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
166 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 KnowledgeBaseSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
168 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
169 KnowledgeBaseSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
170 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
171 }
173 private:
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 Aws::String m_knowledgeBaseArn;
179 bool m_knowledgeBaseArnHasBeenSet = false;
180
181 Aws::String m_knowledgeBaseId;
182 bool m_knowledgeBaseIdHasBeenSet = false;
183
185 bool m_knowledgeBaseTypeHasBeenSet = false;
186
187 Aws::String m_name;
188 bool m_nameHasBeenSet = false;
189
190 RenderingConfiguration m_renderingConfiguration;
191 bool m_renderingConfigurationHasBeenSet = false;
192
193 ServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration;
194 bool m_serverSideEncryptionConfigurationHasBeenSet = false;
195
196 SourceConfiguration m_sourceConfiguration;
197 bool m_sourceConfigurationHasBeenSet = false;
198
200 bool m_statusHasBeenSet = false;
201
203 bool m_tagsHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace ConnectWisdomService
208} // namespace Aws
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary(Aws::Utils::Json::JsonView jsonValue)
KnowledgeBaseSummary & WithStatus(KnowledgeBaseStatus value)
KnowledgeBaseSummary & WithKnowledgeBaseType(KnowledgeBaseType value)
KnowledgeBaseSummary & WithSourceConfiguration(SourceConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
KnowledgeBaseSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
KnowledgeBaseSummary & WithDescription(DescriptionT &&value)
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRenderingConfiguration(RenderingConfigurationT &&value)
const ServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
KnowledgeBaseSummary & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
KnowledgeBaseSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
KnowledgeBaseSummary & WithRenderingConfiguration(RenderingConfigurationT &&value)
KnowledgeBaseSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTWISDOMSERVICE_API KnowledgeBaseSummary()=default
const RenderingConfiguration & GetRenderingConfiguration() const
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