7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/ObjectLockLegalHold.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
52 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::String & GetRequestId() const
GetObjectLegalHoldResult & WithRequestId(Aws::String &&value)
const ObjectLockLegalHold & GetLegalHold() const
void SetLegalHold(const ObjectLockLegalHold &value)
void SetLegalHold(ObjectLockLegalHold &&value)
GetObjectLegalHoldResult & WithLegalHold(ObjectLockLegalHold &&value)
GetObjectLegalHoldResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
AWS_S3CRT_API GetObjectLegalHoldResult()
GetObjectLegalHoldResult & WithLegalHold(const ObjectLockLegalHold &value)
AWS_S3CRT_API GetObjectLegalHoldResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetObjectLegalHoldResult & WithRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetRequestId(const char *value)
AWS_S3CRT_API GetObjectLegalHoldResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument