7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/ObjectLockConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename ObjectLockConfigurationT = ObjectLockConfiguration>
42 void SetObjectLockConfiguration(ObjectLockConfigurationT&& value) { m_objectLockConfigurationHasBeenSet =
true; m_objectLockConfiguration = std::forward<ObjectLockConfigurationT>(value); }
43 template<
typename ObjectLockConfigurationT = ObjectLockConfiguration>
50 template<
typename RequestIdT = Aws::String>
51 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
52 template<
typename RequestIdT = Aws::String>
58 bool m_objectLockConfigurationHasBeenSet =
false;
61 bool m_requestIdHasBeenSet =
false;
void SetRequestId(RequestIdT &&value)
void SetObjectLockConfiguration(ObjectLockConfigurationT &&value)
GetObjectLockConfigurationResult & WithObjectLockConfiguration(ObjectLockConfigurationT &&value)
const Aws::String & GetRequestId() const
AWS_S3_API GetObjectLockConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3_API GetObjectLockConfigurationResult()=default
const ObjectLockConfiguration & GetObjectLockConfiguration() const
AWS_S3_API GetObjectLockConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetObjectLockConfigurationResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument