7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3Control_EXPORTS.h>
13template <
typename RESULT_TYPE>
14class AmazonWebServiceResult;
34 template <
typename PolicyT = Aws::String>
36 m_policyHasBeenSet =
true;
37 m_policy = std::forward<PolicyT>(value);
39 template <
typename PolicyT = Aws::String>
51 template <
typename RequestIdT = Aws::String>
53 m_requestIdHasBeenSet =
true;
54 m_requestId = std::forward<RequestIdT>(value);
56 template <
typename RequestIdT = Aws::String>
68 template <
typename HostIdT = Aws::String>
70 m_hostIdHasBeenSet =
true;
71 m_hostId = std::forward<HostIdT>(value);
73 template <
typename HostIdT = Aws::String>
85 bool m_policyHasBeenSet =
false;
86 bool m_requestIdHasBeenSet =
false;
87 bool m_hostIdHasBeenSet =
false;
GetBucketPolicyResult & WithPolicy(PolicyT &&value)
const Aws::String & GetHostId() const
AWS_S3CONTROL_API GetBucketPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetRequestId() const
void SetHostId(HostIdT &&value)
AWS_S3CONTROL_API GetBucketPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketPolicyResult & WithHostId(HostIdT &&value)
const Aws::String & GetPolicy() const
void SetRequestId(RequestIdT &&value)
void SetPolicy(PolicyT &&value)
AWS_S3CONTROL_API GetBucketPolicyResult()=default
GetBucketPolicyResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument