7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnect_EXPORTS.h>
9#include <aws/qconnect/model/ReferenceType.h>
41 template <
typename KnowledgeBaseArnT = Aws::String>
43 m_knowledgeBaseArnHasBeenSet =
true;
44 m_knowledgeBaseArn = std::forward<KnowledgeBaseArnT>(value);
46 template <
typename KnowledgeBaseArnT = Aws::String>
60 template <
typename KnowledgeBaseIdT = Aws::String>
62 m_knowledgeBaseIdHasBeenSet =
true;
63 m_knowledgeBaseId = std::forward<KnowledgeBaseIdT>(value);
65 template <
typename KnowledgeBaseIdT = Aws::String>
78 template <
typename ContentArnT = Aws::String>
80 m_contentArnHasBeenSet =
true;
81 m_contentArn = std::forward<ContentArnT>(value);
83 template <
typename ContentArnT = Aws::String>
96 template <
typename ContentIdT = Aws::String>
98 m_contentIdHasBeenSet =
true;
99 m_contentId = std::forward<ContentIdT>(value);
101 template <
typename ContentIdT = Aws::String>
114 template <
typename SourceURLT = Aws::String>
116 m_sourceURLHasBeenSet =
true;
117 m_sourceURL = std::forward<SourceURLT>(value);
119 template <
typename SourceURLT = Aws::String>
133 m_referenceTypeHasBeenSet =
true;
134 m_referenceType = value;
153 bool m_knowledgeBaseArnHasBeenSet =
false;
154 bool m_knowledgeBaseIdHasBeenSet =
false;
155 bool m_contentArnHasBeenSet =
false;
156 bool m_contentIdHasBeenSet =
false;
157 bool m_sourceURLHasBeenSet =
false;
158 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