7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
46 template <
typename AccountIdT = Aws::String>
48 m_accountIdHasBeenSet =
true;
49 m_accountId = std::forward<AccountIdT>(value);
51 template <
typename AccountIdT = Aws::String>
74 template <
typename BucketT = Aws::String>
76 m_bucketHasBeenSet =
true;
77 m_bucket = std::forward<BucketT>(value);
79 template <
typename BucketT = Aws::String>
95 m_confirmRemoveSelfBucketAccessHasBeenSet =
true;
96 m_confirmRemoveSelfBucketAccess = value;
110 template <
typename PolicyT = Aws::String>
112 m_policyHasBeenSet =
true;
113 m_policy = std::forward<PolicyT>(value);
115 template <
typename PolicyT = Aws::String>
126 bool m_confirmRemoveSelfBucketAccess{
false};
129 bool m_accountIdHasBeenSet =
false;
130 bool m_bucketHasBeenSet =
false;
131 bool m_confirmRemoveSelfBucketAccessHasBeenSet =
false;
132 bool m_policyHasBeenSet =
false;
PutBucketPolicyRequest & WithPolicy(PolicyT &&value)
bool GetConfirmRemoveSelfBucketAccess() const
bool PolicyHasBeenSet() const
void SetAccountId(AccountIdT &&value)
PutBucketPolicyRequest & WithAccountId(AccountIdT &&value)
const Aws::String & GetBucket() const
PutBucketPolicyRequest & WithConfirmRemoveSelfBucketAccess(bool value)
AWS_S3CONTROL_API PutBucketPolicyRequest()=default
void SetPolicy(PolicyT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAccountId() const
void SetConfirmRemoveSelfBucketAccess(bool value)
bool ConfirmRemoveSelfBucketAccessHasBeenSet() const
const Aws::String & GetPolicy() const
AWS_S3CONTROL_API Aws::String SerializePayload() const override
AWS_S3CONTROL_API bool ShouldComputeContentMd5() const override
bool BucketHasBeenSet() const
PutBucketPolicyRequest & WithBucket(BucketT &&value)
void SetBucket(BucketT &&value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
bool AccountIdHasBeenSet() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String