7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/model/ErrorCode.h>
48 template<
typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
50 template<
typename IdT = Aws::String>
61 template<
typename DataSourceIdT = Aws::String>
62 void SetDataSourceId(DataSourceIdT&& value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId = std::forward<DataSourceIdT>(value); }
63 template<
typename DataSourceIdT = Aws::String>
83 template<
typename ErrorMessageT = Aws::String>
84 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
85 template<
typename ErrorMessageT = Aws::String>
91 bool m_idHasBeenSet =
false;
94 bool m_dataSourceIdHasBeenSet =
false;
97 bool m_errorCodeHasBeenSet =
false;
100 bool m_errorMessageHasBeenSet =
false;
BatchPutDocumentResponseFailedDocument & WithErrorCode(ErrorCode value)
void SetErrorCode(ErrorCode value)
bool ErrorMessageHasBeenSet() const
BatchPutDocumentResponseFailedDocument & WithErrorMessage(ErrorMessageT &&value)
AWS_KENDRA_API BatchPutDocumentResponseFailedDocument()=default
AWS_KENDRA_API BatchPutDocumentResponseFailedDocument(Aws::Utils::Json::JsonView jsonValue)
bool DataSourceIdHasBeenSet() const
ErrorCode GetErrorCode() const
bool IdHasBeenSet() const
void SetDataSourceId(DataSourceIdT &&value)
const Aws::String & GetErrorMessage() const
BatchPutDocumentResponseFailedDocument & WithId(IdT &&value)
const Aws::String & GetId() const
void SetErrorMessage(ErrorMessageT &&value)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDataSourceId() const
AWS_KENDRA_API BatchPutDocumentResponseFailedDocument & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchPutDocumentResponseFailedDocument & WithDataSourceId(DataSourceIdT &&value)
bool ErrorCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue