7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/DocumentStatus.h>
10#include <aws/qbusiness/model/ErrorDetail.h>
11#include <aws/core/utils/DateTime.h>
50 template<
typename DocumentIdT = Aws::String>
52 template<
typename DocumentIdT = Aws::String>
72 template<
typename ErrorT = ErrorDetail>
73 void SetError(
ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
74 template<
typename ErrorT = ErrorDetail>
84 template<
typename CreatedAtT = Aws::Utils::DateTime>
85 void SetCreatedAt(
CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
86 template<
typename CreatedAtT = Aws::Utils::DateTime>
96 template<
typename UpdatedAtT = Aws::Utils::DateTime>
97 void SetUpdatedAt(
UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
98 template<
typename UpdatedAtT = Aws::Utils::DateTime>
104 bool m_documentIdHasBeenSet =
false;
107 bool m_statusHasBeenSet =
false;
110 bool m_errorHasBeenSet =
false;
113 bool m_createdAtHasBeenSet =
false;
116 bool m_updatedAtHasBeenSet =
false;
void SetDocumentId(DocumentIdT &&value)
DocumentDetails & WithStatus(DocumentStatus value)
AWS_QBUSINESS_API DocumentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DocumentIdHasBeenSet() const
DocumentDetails & WithError(ErrorT &&value)
void SetError(ErrorT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
DocumentDetails & WithCreatedAt(CreatedAtT &&value)
void SetStatus(DocumentStatus value)
const Aws::String & GetDocumentId() const
bool StatusHasBeenSet() const
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(CreatedAtT &&value)
DocumentDetails & WithUpdatedAt(UpdatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool UpdatedAtHasBeenSet() const
DocumentStatus GetStatus() const
AWS_QBUSINESS_API DocumentDetails(Aws::Utils::Json::JsonView jsonValue)
DocumentDetails & WithDocumentId(DocumentIdT &&value)
bool ErrorHasBeenSet() const
const ErrorDetail & GetError() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API DocumentDetails()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue