7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qbusiness/model/DocumentContent.h>
11#include <aws/qbusiness/model/ContentType.h>
12#include <aws/qbusiness/model/AccessConfiguration.h>
13#include <aws/qbusiness/model/DocumentEnrichmentConfiguration.h>
14#include <aws/qbusiness/model/DocumentAttribute.h>
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
110 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
143 bool m_idHasBeenSet =
false;
146 bool m_attributesHasBeenSet =
false;
149 bool m_contentHasBeenSet =
false;
152 bool m_contentTypeHasBeenSet =
false;
155 bool m_titleHasBeenSet =
false;
158 bool m_accessConfigurationHasBeenSet =
false;
161 bool m_documentEnrichmentConfigurationHasBeenSet =
false;
void SetTitle(Aws::String &&value)
const Aws::String & GetId() const
void SetContentType(const ContentType &value)
Document & WithDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration &&value)
void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfiguration &&value)
Document & WithId(const Aws::String &value)
Document & WithTitle(const Aws::String &value)
void SetAccessConfiguration(const AccessConfiguration &value)
void SetTitle(const Aws::String &value)
Document & WithId(const char *value)
bool IdHasBeenSet() const
void SetAttributes(Aws::Vector< DocumentAttribute > &&value)
bool ContentHasBeenSet() const
Document & WithAccessConfiguration(AccessConfiguration &&value)
AWS_QBUSINESS_API Document()
void SetContentType(ContentType &&value)
Document & WithContent(const DocumentContent &value)
Document & WithAttributes(Aws::Vector< DocumentAttribute > &&value)
Document & WithTitle(const char *value)
Document & WithAttributes(const Aws::Vector< DocumentAttribute > &value)
Document & WithId(Aws::String &&value)
const Aws::String & GetTitle() const
void SetAttributes(const Aws::Vector< DocumentAttribute > &value)
const Aws::Vector< DocumentAttribute > & GetAttributes() const
const ContentType & GetContentType() const
Document & WithAccessConfiguration(const AccessConfiguration &value)
void SetContent(DocumentContent &&value)
void SetContent(const DocumentContent &value)
const AccessConfiguration & GetAccessConfiguration() const
AWS_QBUSINESS_API Document(Aws::Utils::Json::JsonView jsonValue)
bool ContentTypeHasBeenSet() const
void SetTitle(const char *value)
Document & WithDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration &value)
void SetId(Aws::String &&value)
bool AttributesHasBeenSet() const
void SetId(const char *value)
Document & WithContent(DocumentContent &&value)
AWS_QBUSINESS_API Document & operator=(Aws::Utils::Json::JsonView jsonValue)
const DocumentContent & GetContent() const
Document & AddAttributes(DocumentAttribute &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
const DocumentEnrichmentConfiguration & GetDocumentEnrichmentConfiguration() const
Document & WithContentType(ContentType &&value)
bool TitleHasBeenSet() const
void SetDocumentEnrichmentConfiguration(const DocumentEnrichmentConfiguration &value)
Document & WithContentType(const ContentType &value)
void SetAccessConfiguration(AccessConfiguration &&value)
Document & WithTitle(Aws::String &&value)
bool DocumentEnrichmentConfigurationHasBeenSet() const
void SetId(const Aws::String &value)
Document & AddAttributes(const DocumentAttribute &value)
bool AccessConfigurationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue