7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/ReferenceType.h>
47 template<
typename KnowledgeBaseArnT = Aws::String>
48 void SetKnowledgeBaseArn(KnowledgeBaseArnT&& value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value); }
49 template<
typename KnowledgeBaseArnT = Aws::String>
60 template<
typename KnowledgeBaseIdT = Aws::String>
61 void SetKnowledgeBaseId(KnowledgeBaseIdT&& value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value); }
62 template<
typename KnowledgeBaseIdT = Aws::String>
72 template<
typename ContentArnT = Aws::String>
73 void SetContentArn(ContentArnT&& value) { m_contentArnHasBeenSet =
true; m_contentArn = std::forward<ContentArnT>(value); }
74 template<
typename ContentArnT = Aws::String>
84 template<
typename ContentIdT = Aws::String>
85 void SetContentId(ContentIdT&& value) { m_contentIdHasBeenSet =
true; m_contentId = std::forward<ContentIdT>(value); }
86 template<
typename ContentIdT = Aws::String>
96 template<
typename SourceURLT = Aws::String>
97 void SetSourceURL(SourceURLT&& value) { m_sourceURLHasBeenSet =
true; m_sourceURL = std::forward<SourceURLT>(value); }
98 template<
typename SourceURLT = Aws::String>
114 bool m_knowledgeBaseArnHasBeenSet =
false;
117 bool m_knowledgeBaseIdHasBeenSet =
false;
120 bool m_contentArnHasBeenSet =
false;
123 bool m_contentIdHasBeenSet =
false;
126 bool m_sourceURLHasBeenSet =
false;
129 bool m_referenceTypeHasBeenSet =
false;
bool KnowledgeBaseIdHasBeenSet() const
AWS_QCONNECT_API ContentReference(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceURL() const
bool ContentIdHasBeenSet() const
ReferenceType GetReferenceType() const
ContentReference & WithContentArn(ContentArnT &&value)
const Aws::String & GetKnowledgeBaseArn() const
ContentReference & WithKnowledgeBaseArn(KnowledgeBaseArnT &&value)
void SetContentId(ContentIdT &&value)
bool SourceURLHasBeenSet() const
void SetKnowledgeBaseArn(KnowledgeBaseArnT &&value)
const Aws::String & GetContentArn() const
const Aws::String & GetContentId() const
void SetReferenceType(ReferenceType value)
ContentReference & WithSourceURL(SourceURLT &&value)
AWS_QCONNECT_API ContentReference()=default
AWS_QCONNECT_API ContentReference & operator=(Aws::Utils::Json::JsonView jsonValue)
ContentReference & WithKnowledgeBaseId(KnowledgeBaseIdT &&value)
ContentReference & WithReferenceType(ReferenceType value)
ContentReference & WithContentId(ContentIdT &&value)
void SetSourceURL(SourceURLT &&value)
const Aws::String & GetKnowledgeBaseId() const
bool ContentArnHasBeenSet() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKnowledgeBaseId(KnowledgeBaseIdT &&value)
bool KnowledgeBaseArnHasBeenSet() const
bool ReferenceTypeHasBeenSet() const
void SetContentArn(ContentArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue