7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/DocumentStatus.h>
11#include <aws/qbusiness/model/ErrorDetail.h>
44 template <
typename DocumentIdT = Aws::String>
46 m_documentIdHasBeenSet =
true;
47 m_documentId = std::forward<DocumentIdT>(value);
49 template <
typename DocumentIdT = Aws::String>
63 m_statusHasBeenSet =
true;
78 template <
typename ErrorT = ErrorDetail>
80 m_errorHasBeenSet =
true;
81 m_error = std::forward<ErrorT>(value);
83 template <
typename ErrorT = ErrorDetail>
85 SetError(std::forward<ErrorT>(value));
96 template <
typename CreatedAtT = Aws::Utils::DateTime>
98 m_createdAtHasBeenSet =
true;
99 m_createdAt = std::forward<CreatedAtT>(value);
101 template <
typename CreatedAtT = Aws::Utils::DateTime>
114 template <
typename UpdatedAtT = Aws::Utils::DateTime>
116 m_updatedAtHasBeenSet =
true;
117 m_updatedAt = std::forward<UpdatedAtT>(value);
119 template <
typename UpdatedAtT = Aws::Utils::DateTime>
135 bool m_documentIdHasBeenSet =
false;
136 bool m_statusHasBeenSet =
false;
137 bool m_errorHasBeenSet =
false;
138 bool m_createdAtHasBeenSet =
false;
139 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