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>
50 template<
typename KnowledgeBaseIdT = Aws::String>
51 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
52 template<
typename KnowledgeBaseIdT = Aws::String>
62 template<
typename KnowledgeBaseArnT = Aws::String>
63 void SetKnowledgeBaseArn(KnowledgeBaseArnT&& value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value); }
64 template<
typename KnowledgeBaseArnT = Aws::String>
74 template<
typename ContentIdT = Aws::String>
75 void SetContentId(ContentIdT&& value) { m_contentIdHasBeenSet =
true; m_contentId = std::forward<ContentIdT>(value); }
76 template<
typename ContentIdT = Aws::String>
86 template<
typename ContentArnT = Aws::String>
87 void SetContentArn(ContentArnT&& value) { m_contentArnHasBeenSet =
true; m_contentArn = std::forward<ContentArnT>(value); }
88 template<
typename ContentArnT = Aws::String>
99 template<
typename ContentAssociationIdT = Aws::String>
100 void SetContentAssociationId(ContentAssociationIdT&& value) { m_contentAssociationIdHasBeenSet =
true; m_contentAssociationId = std::forward<ContentAssociationIdT>(value); }
101 template<
typename ContentAssociationIdT = Aws::String>
111 template<
typename ContentAssociationArnT = Aws::String>
112 void SetContentAssociationArn(ContentAssociationArnT&& value) { m_contentAssociationArnHasBeenSet =
true; m_contentAssociationArn = std::forward<ContentAssociationArnT>(value); }
113 template<
typename ContentAssociationArnT = Aws::String>
133 template<
typename AssociationDataT = ContentAssociationContents>
134 void SetAssociationData(AssociationDataT&& value) { m_associationDataHasBeenSet =
true; m_associationData = std::forward<AssociationDataT>(value); }
135 template<
typename AssociationDataT = ContentAssociationContents>
145 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
147 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
151 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
157 bool m_knowledgeBaseIdHasBeenSet =
false;
160 bool m_knowledgeBaseArnHasBeenSet =
false;
163 bool m_contentIdHasBeenSet =
false;
166 bool m_contentArnHasBeenSet =
false;
169 bool m_contentAssociationIdHasBeenSet =
false;
172 bool m_contentAssociationArnHasBeenSet =
false;
175 bool m_associationTypeHasBeenSet =
false;
177 ContentAssociationContents m_associationData;
178 bool m_associationDataHasBeenSet =
false;
181 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