7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
42 inline void SetPolicy(
const char* value) { m_policy.assign(value); }
53 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
AWS_S3CONTROL_API GetBucketPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketPolicyResult & WithPolicy(const char *value)
void SetRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
GetBucketPolicyResult & WithPolicy(Aws::String &&value)
AWS_S3CONTROL_API GetBucketPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketPolicyResult & WithPolicy(const Aws::String &value)
GetBucketPolicyResult & WithRequestId(const char *value)
const Aws::String & GetPolicy() const
void SetPolicy(const Aws::String &value)
void SetRequestId(const char *value)
GetBucketPolicyResult & WithRequestId(const Aws::String &value)
void SetPolicy(const char *value)
void SetPolicy(Aws::String &&value)
GetBucketPolicyResult & WithRequestId(Aws::String &&value)
AWS_S3CONTROL_API GetBucketPolicyResult()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument