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/MediaExtractionConfiguration.h>
15#include <aws/qbusiness/model/DocumentAttribute.h>
53 template<
typename IdT = Aws::String>
54 void SetId(
IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
55 template<
typename IdT = Aws::String>
66 template<
typename AttributesT = Aws::Vector<DocumentAttribute>>
68 template<
typename AttributesT = Aws::Vector<DocumentAttribute>>
70 template<
typename AttributesT = DocumentAttribute>
80 template<
typename ContentT = DocumentContent>
81 void SetContent(
ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
82 template<
typename ContentT = DocumentContent>
105 template<
typename TitleT = Aws::String>
106 void SetTitle(
TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
107 template<
typename TitleT = Aws::String>
117 template<
typename AccessConfigurationT = AccessConfiguration>
119 template<
typename AccessConfigurationT = AccessConfiguration>
130 template<
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
132 template<
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
142 template<
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
144 template<
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
150 bool m_idHasBeenSet =
false;
153 bool m_attributesHasBeenSet =
false;
156 bool m_contentHasBeenSet =
false;
159 bool m_contentTypeHasBeenSet =
false;
162 bool m_titleHasBeenSet =
false;
164 AccessConfiguration m_accessConfiguration;
165 bool m_accessConfigurationHasBeenSet =
false;
167 DocumentEnrichmentConfiguration m_documentEnrichmentConfiguration;
168 bool m_documentEnrichmentConfigurationHasBeenSet =
false;
170 MediaExtractionConfiguration m_mediaExtractionConfiguration;
171 bool m_mediaExtractionConfigurationHasBeenSet =
false;
const Aws::String & GetId() const
Document & WithDocumentEnrichmentConfiguration(DocumentEnrichmentConfigurationT &&value)
bool IdHasBeenSet() const
bool ContentHasBeenSet() const
void SetDocumentEnrichmentConfiguration(DocumentEnrichmentConfigurationT &&value)
void SetContentType(ContentType value)
void SetTitle(TitleT &&value)
Document & WithContentType(ContentType value)
const Aws::String & GetTitle() const
Document & WithMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
const Aws::Vector< DocumentAttribute > & GetAttributes() const
Document & WithTitle(TitleT &&value)
const AccessConfiguration & GetAccessConfiguration() const
const MediaExtractionConfiguration & GetMediaExtractionConfiguration() const
AWS_QBUSINESS_API Document(Aws::Utils::Json::JsonView jsonValue)
bool ContentTypeHasBeenSet() const
bool AttributesHasBeenSet() const
void SetAttributes(AttributesT &&value)
AWS_QBUSINESS_API Document & operator=(Aws::Utils::Json::JsonView jsonValue)
const DocumentContent & GetContent() const
Document & AddAttributes(AttributesT &&value)
void SetMediaExtractionConfiguration(MediaExtractionConfigurationT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
const DocumentEnrichmentConfiguration & GetDocumentEnrichmentConfiguration() const
Document & WithAccessConfiguration(AccessConfigurationT &&value)
ContentType GetContentType() const
bool TitleHasBeenSet() const
Document & WithContent(ContentT &&value)
AWS_QBUSINESS_API Document()=default
bool DocumentEnrichmentConfigurationHasBeenSet() const
void SetContent(ContentT &&value)
bool MediaExtractionConfigurationHasBeenSet() const
Document & WithId(IdT &&value)
Document & WithAttributes(AttributesT &&value)
bool AccessConfigurationHasBeenSet() const
void SetAccessConfiguration(AccessConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue