7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/AccessConfiguration.h>
11#include <aws/qbusiness/model/ContentType.h>
12#include <aws/qbusiness/model/DocumentAttribute.h>
13#include <aws/qbusiness/model/DocumentContent.h>
14#include <aws/qbusiness/model/DocumentEnrichmentConfiguration.h>
15#include <aws/qbusiness/model/MediaExtractionConfiguration.h>
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
66 template <
typename AttributesT = Aws::Vector<DocumentAttribute>>
68 m_attributesHasBeenSet =
true;
69 m_attributes = std::forward<AttributesT>(value);
71 template <
typename AttributesT = Aws::Vector<DocumentAttribute>>
76 template <
typename AttributesT = DocumentAttribute>
78 m_attributesHasBeenSet =
true;
79 m_attributes.emplace_back(std::forward<AttributesT>(value));
90 template <
typename ContentT = DocumentContent>
92 m_contentHasBeenSet =
true;
93 m_content = std::forward<ContentT>(value);
95 template <
typename ContentT = DocumentContent>
112 m_contentTypeHasBeenSet =
true;
113 m_contentType = value;
127 template <
typename TitleT = Aws::String>
129 m_titleHasBeenSet =
true;
130 m_title = std::forward<TitleT>(value);
132 template <
typename TitleT = Aws::String>
134 SetTitle(std::forward<TitleT>(value));
145 template <
typename AccessConfigurationT = AccessConfiguration>
147 m_accessConfigurationHasBeenSet =
true;
148 m_accessConfiguration = std::forward<AccessConfigurationT>(value);
150 template <
typename AccessConfigurationT = AccessConfiguration>
164 template <
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
166 m_documentEnrichmentConfigurationHasBeenSet =
true;
167 m_documentEnrichmentConfiguration = std::forward<DocumentEnrichmentConfigurationT>(value);
169 template <
typename DocumentEnrichmentConfigurationT = DocumentEnrichmentConfiguration>
182 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
184 m_mediaExtractionConfigurationHasBeenSet =
true;
185 m_mediaExtractionConfiguration = std::forward<MediaExtractionConfigurationT>(value);
187 template <
typename MediaExtractionConfigurationT = MediaExtractionConfiguration>
204 AccessConfiguration m_accessConfiguration;
206 DocumentEnrichmentConfiguration m_documentEnrichmentConfiguration;
208 MediaExtractionConfiguration m_mediaExtractionConfiguration;
209 bool m_idHasBeenSet =
false;
210 bool m_attributesHasBeenSet =
false;
211 bool m_contentHasBeenSet =
false;
212 bool m_contentTypeHasBeenSet =
false;
213 bool m_titleHasBeenSet =
false;
214 bool m_accessConfigurationHasBeenSet =
false;
215 bool m_documentEnrichmentConfigurationHasBeenSet =
false;
216 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