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>
43 template <
typename KnowledgeBaseIdT = Aws::String>
45 m_knowledgeBaseIdHasBeenSet =
true;
46 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
48 template <
typename KnowledgeBaseIdT = Aws::String>
61 template <
typename KnowledgeBaseArnT = Aws::String>
63 m_knowledgeBaseArnHasBeenSet =
true;
64 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
66 template <
typename KnowledgeBaseArnT = Aws::String>
79 template <
typename ContentIdT = Aws::String>
81 m_contentIdHasBeenSet =
true;
82 m_contentId = std::forward<ContentIdT>(value);
84 template <
typename ContentIdT = Aws::String>
97 template <
typename ContentArnT = Aws::String>
99 m_contentArnHasBeenSet =
true;
100 m_contentArn = std::forward<ContentArnT>(value);
102 template <
typename ContentArnT = Aws::String>
116 template <
typename ContentAssociationIdT = Aws::String>
118 m_contentAssociationIdHasBeenSet =
true;
119 m_contentAssociationId = std::forward<ContentAssociationIdT>(value);
121 template <
typename ContentAssociationIdT = Aws::String>
134 template <
typename ContentAssociationArnT = Aws::String>
136 m_contentAssociationArnHasBeenSet =
true;
137 m_contentAssociationArn = std::forward<ContentAssociationArnT>(value);
139 template <
typename ContentAssociationArnT = Aws::String>
153 m_associationTypeHasBeenSet =
true;
154 m_associationType = value;
168 template <
typename AssociationDataT = ContentAssociationContents>
170 m_associationDataHasBeenSet =
true;
171 m_associationData = std::forward<AssociationDataT>(value);
173 template <
typename AssociationDataT = ContentAssociationContents>
186 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 m_tagsHasBeenSet =
true;
189 m_tags = std::forward<TagsT>(value);
191 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
193 SetTags(std::forward<TagsT>(value));
196 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
198 m_tagsHasBeenSet =
true;
199 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
218 ContentAssociationContents m_associationData;
221 bool m_knowledgeBaseIdHasBeenSet =
false;
222 bool m_knowledgeBaseArnHasBeenSet =
false;
223 bool m_contentIdHasBeenSet =
false;
224 bool m_contentArnHasBeenSet =
false;
225 bool m_contentAssociationIdHasBeenSet =
false;
226 bool m_contentAssociationArnHasBeenSet =
false;
227 bool m_associationTypeHasBeenSet =
false;
228 bool m_associationDataHasBeenSet =
false;
229 bool m_tagsHasBeenSet =
false;
const Aws::String & GetContentArn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetKnowledgeBaseArn() const
bool ContentAssociationIdHasBeenSet() const
bool AssociationDataHasBeenSet() const
AWS_QCONNECT_API ContentAssociationData()=default
const Aws::String & GetContentId() const
void SetContentAssociationArn(ContentAssociationArnT &&value)
void SetContentId(ContentIdT &&value)
bool ContentIdHasBeenSet() const
bool KnowledgeBaseArnHasBeenSet() const
ContentAssociationData & WithContentId(ContentIdT &&value)
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool KnowledgeBaseIdHasBeenSet() const
void SetAssociationType(ContentAssociationType value)
ContentAssociationData & WithContentArn(ContentArnT &&value)
ContentAssociationData & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
bool TagsHasBeenSet() const
ContentAssociationData & WithContentAssociationId(ContentAssociationIdT &&value)
ContentAssociationData & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
void SetTags(TagsT &&value)
bool ContentArnHasBeenSet() const
ContentAssociationType GetAssociationType() const
ContentAssociationData & WithContentAssociationArn(ContentAssociationArnT &&value)
void SetContentArn(ContentArnT &&value)
AWS_QCONNECT_API ContentAssociationData & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContentAssociationArn() const
bool ContentAssociationArnHasBeenSet() const
AWS_QCONNECT_API ContentAssociationData(Aws::Utils::Json::JsonView jsonValue)
ContentAssociationData & WithAssociationData(AssociationDataT &&value)
const ContentAssociationContents & GetAssociationData() const
bool AssociationTypeHasBeenSet() const
void SetContentAssociationId(ContentAssociationIdT &&value)
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
ContentAssociationData & WithAssociationType(ContentAssociationType value)
const Aws::String & GetKnowledgeBaseId() const
const Aws::String & GetContentAssociationId() const
void SetAssociationData(AssociationDataT &&value)
ContentAssociationData & WithTags(TagsT &&value)
ContentAssociationData & AddTags(TagsKeyT &&key, TagsValueT &&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