7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/ObjectLockRetention.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); }
GetObjectRetentionResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_S3_API GetObjectRetentionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRetention(ObjectLockRetention &&value)
GetObjectRetentionResult & WithRetention(ObjectLockRetention &&value)
GetObjectRetentionResult & WithRequestId(Aws::String &&value)
AWS_S3_API GetObjectRetentionResult()
const ObjectLockRetention & GetRetention() const
void SetRequestId(const char *value)
GetObjectRetentionResult & WithRetention(const ObjectLockRetention &value)
AWS_S3_API GetObjectRetentionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetRequestId() const
void SetRetention(const ObjectLockRetention &value)
GetObjectRetentionResult & WithRequestId(const char *value)
void SetRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument