7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/ContentAssociationType.h>
10#include <aws/qconnect/model/ContentAssociationContents.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
49 template<
typename KnowledgeBaseIdT = Aws::String>
50 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
51 template<
typename KnowledgeBaseIdT = Aws::String>
61 template<
typename KnowledgeBaseArnT = Aws::String>
62 void SetKnowledgeBaseArn(KnowledgeBaseArnT&& value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value); }
63 template<
typename KnowledgeBaseArnT = Aws::String>
73 template<
typename ContentIdT = Aws::String>
74 void SetContentId(ContentIdT&& value) { m_contentIdHasBeenSet =
true; m_contentId = std::forward<ContentIdT>(value); }
75 template<
typename ContentIdT = Aws::String>
85 template<
typename ContentArnT = Aws::String>
86 void SetContentArn(ContentArnT&& value) { m_contentArnHasBeenSet =
true; m_contentArn = std::forward<ContentArnT>(value); }
87 template<
typename ContentArnT = Aws::String>
98 template<
typename ContentAssociationIdT = Aws::String>
99 void SetContentAssociationId(ContentAssociationIdT&& value) { m_contentAssociationIdHasBeenSet =
true; m_contentAssociationId = std::forward<ContentAssociationIdT>(value); }
100 template<
typename ContentAssociationIdT = Aws::String>
110 template<
typename ContentAssociationArnT = Aws::String>
111 void SetContentAssociationArn(ContentAssociationArnT&& value) { m_contentAssociationArnHasBeenSet =
true; m_contentAssociationArn = std::forward<ContentAssociationArnT>(value); }
112 template<
typename ContentAssociationArnT = Aws::String>
132 template<
typename AssociationDataT = ContentAssociationContents>
133 void SetAssociationData(AssociationDataT&& value) { m_associationDataHasBeenSet =
true; m_associationData = std::forward<AssociationDataT>(value); }
134 template<
typename AssociationDataT = ContentAssociationContents>
144 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
146 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
150 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
156 bool m_knowledgeBaseIdHasBeenSet =
false;
159 bool m_knowledgeBaseArnHasBeenSet =
false;
162 bool m_contentIdHasBeenSet =
false;
165 bool m_contentArnHasBeenSet =
false;
168 bool m_contentAssociationIdHasBeenSet =
false;
171 bool m_contentAssociationArnHasBeenSet =
false;
174 bool m_associationTypeHasBeenSet =
false;
176 ContentAssociationContents m_associationData;
177 bool m_associationDataHasBeenSet =
false;
180 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