7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10#include <aws/qconnect/model/ContentAssociationContents.h>
11#include <aws/qconnect/model/ContentAssociationType.h>
44 template <
typename KnowledgeBaseIdT = Aws::String>
46 m_knowledgeBaseIdHasBeenSet =
true;
47 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
49 template <
typename KnowledgeBaseIdT = Aws::String>
62 template <
typename KnowledgeBaseArnT = Aws::String>
64 m_knowledgeBaseArnHasBeenSet =
true;
65 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
67 template <
typename KnowledgeBaseArnT = Aws::String>
80 template <
typename ContentIdT = Aws::String>
82 m_contentIdHasBeenSet =
true;
83 m_contentId = std::forward<ContentIdT>(value);
85 template <
typename ContentIdT = Aws::String>
98 template <
typename ContentArnT = Aws::String>
100 m_contentArnHasBeenSet =
true;
101 m_contentArn = std::forward<ContentArnT>(value);
103 template <
typename ContentArnT = Aws::String>
117 template <
typename ContentAssociationIdT = Aws::String>
119 m_contentAssociationIdHasBeenSet =
true;
120 m_contentAssociationId = std::forward<ContentAssociationIdT>(value);
122 template <
typename ContentAssociationIdT = Aws::String>
135 template <
typename ContentAssociationArnT = Aws::String>
137 m_contentAssociationArnHasBeenSet =
true;
138 m_contentAssociationArn = std::forward<ContentAssociationArnT>(value);
140 template <
typename ContentAssociationArnT = Aws::String>
154 m_associationTypeHasBeenSet =
true;
155 m_associationType = value;
169 template <
typename AssociationDataT = ContentAssociationContents>
171 m_associationDataHasBeenSet =
true;
172 m_associationData = std::forward<AssociationDataT>(value);
174 template <
typename AssociationDataT = ContentAssociationContents>
187 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
189 m_tagsHasBeenSet =
true;
190 m_tags = std::forward<TagsT>(value);
192 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
194 SetTags(std::forward<TagsT>(value));
197 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
199 m_tagsHasBeenSet =
true;
200 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
219 ContentAssociationContents m_associationData;
222 bool m_knowledgeBaseIdHasBeenSet =
false;
223 bool m_knowledgeBaseArnHasBeenSet =
false;
224 bool m_contentIdHasBeenSet =
false;
225 bool m_contentArnHasBeenSet =
false;
226 bool m_contentAssociationIdHasBeenSet =
false;
227 bool m_contentAssociationArnHasBeenSet =
false;
228 bool m_associationTypeHasBeenSet =
false;
229 bool m_associationDataHasBeenSet =
false;
230 bool m_tagsHasBeenSet =
false;
ContentAssociationSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_QCONNECT_API ContentAssociationSummary()=default
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
bool AssociationDataHasBeenSet() const
void SetContentAssociationArn(ContentAssociationArnT &&value)
bool ContentAssociationIdHasBeenSet() const
bool ContentArnHasBeenSet() const
const ContentAssociationContents & GetAssociationData() const
void SetContentId(ContentIdT &&value)
const Aws::String & GetKnowledgeBaseArn() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetContentArn() const
const Aws::String & GetKnowledgeBaseId() const
bool ContentIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ContentAssociationSummary & WithContentAssociationId(ContentAssociationIdT &&value)
ContentAssociationSummary & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
const Aws::String & GetContentAssociationId() const
ContentAssociationSummary & WithTags(TagsT &&value)
void SetContentAssociationId(ContentAssociationIdT &&value)
bool ContentAssociationArnHasBeenSet() const
ContentAssociationType GetAssociationType() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool KnowledgeBaseArnHasBeenSet() const
bool TagsHasBeenSet() const
void SetAssociationType(ContentAssociationType value)
ContentAssociationSummary & WithAssociationType(ContentAssociationType value)
const Aws::String & GetContentAssociationArn() const
ContentAssociationSummary & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
ContentAssociationSummary & WithContentArn(ContentArnT &&value)
const Aws::String & GetContentId() const
void SetTags(TagsT &&value)
bool AssociationTypeHasBeenSet() const
ContentAssociationSummary & WithAssociationData(AssociationDataT &&value)
void SetAssociationData(AssociationDataT &&value)
AWS_QCONNECT_API ContentAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
ContentAssociationSummary & WithContentAssociationArn(ContentAssociationArnT &&value)
AWS_QCONNECT_API ContentAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KnowledgeBaseIdHasBeenSet() const
void SetContentArn(ContentArnT &&value)
ContentAssociationSummary & WithContentId(ContentIdT &&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