7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/model/ReferenceType.h>
49 inline void SetContentArn(
const char* value) { m_contentArnHasBeenSet =
true; m_contentArn.assign(value); }
63 inline void SetContentId(
const char* value) { m_contentIdHasBeenSet =
true; m_contentId.assign(value); }
77 inline void SetKnowledgeBaseArn(
const char* value) { m_knowledgeBaseArnHasBeenSet =
true; m_knowledgeBaseArn.assign(value); }
92 inline void SetKnowledgeBaseId(
const char* value) { m_knowledgeBaseIdHasBeenSet =
true; m_knowledgeBaseId.assign(value); }
118 inline void SetSourceURL(
const char* value) { m_sourceURLHasBeenSet =
true; m_sourceURL.assign(value); }
126 bool m_contentArnHasBeenSet =
false;
129 bool m_contentIdHasBeenSet =
false;
132 bool m_knowledgeBaseArnHasBeenSet =
false;
135 bool m_knowledgeBaseIdHasBeenSet =
false;
138 bool m_referenceTypeHasBeenSet =
false;
141 bool m_sourceURLHasBeenSet =
false;
void SetReferenceType(ReferenceType &&value)
ContentReference & WithReferenceType(ReferenceType &&value)
ContentReference & WithContentArn(const char *value)
ContentReference & WithKnowledgeBaseId(const Aws::String &value)
void SetKnowledgeBaseId(const Aws::String &value)
void SetSourceURL(Aws::String &&value)
bool KnowledgeBaseIdHasBeenSet() const
void SetSourceURL(const Aws::String &value)
AWS_QCONNECT_API ContentReference(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceURL() const
bool ContentIdHasBeenSet() const
ContentReference & WithSourceURL(const Aws::String &value)
ContentReference & WithContentArn(Aws::String &&value)
ContentReference & WithKnowledgeBaseArn(const Aws::String &value)
ContentReference & WithKnowledgeBaseId(Aws::String &&value)
ContentReference & WithContentArn(const Aws::String &value)
void SetKnowledgeBaseId(const char *value)
void SetSourceURL(const char *value)
void SetContentArn(Aws::String &&value)
void SetContentId(const char *value)
const ReferenceType & GetReferenceType() const
ContentReference & WithKnowledgeBaseArn(const char *value)
void SetReferenceType(const ReferenceType &value)
AWS_QCONNECT_API ContentReference()
const Aws::String & GetKnowledgeBaseArn() const
ContentReference & WithContentId(const char *value)
ContentReference & WithKnowledgeBaseArn(Aws::String &&value)
void SetContentArn(const char *value)
ContentReference & WithSourceURL(const char *value)
void SetContentId(Aws::String &&value)
void SetContentId(const Aws::String &value)
bool SourceURLHasBeenSet() const
ContentReference & WithSourceURL(Aws::String &&value)
ContentReference & WithKnowledgeBaseId(const char *value)
const Aws::String & GetContentArn() const
const Aws::String & GetContentId() const
AWS_QCONNECT_API ContentReference & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContentArn(const Aws::String &value)
const Aws::String & GetKnowledgeBaseId() const
ContentReference & WithContentId(const Aws::String &value)
void SetKnowledgeBaseArn(const char *value)
ContentReference & WithContentId(Aws::String &&value)
void SetKnowledgeBaseArn(Aws::String &&value)
void SetKnowledgeBaseId(Aws::String &&value)
bool ContentArnHasBeenSet() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool KnowledgeBaseArnHasBeenSet() const
bool ReferenceTypeHasBeenSet() const
ContentReference & WithReferenceType(const ReferenceType &value)
void SetKnowledgeBaseArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue