7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
50 template<
typename AccountIdT = Aws::String>
70 template<
typename NameT = Aws::String>
71 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
72 template<
typename NameT = Aws::String>
88 template<
typename PolicyT = Aws::String>
89 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
90 template<
typename PolicyT = Aws::String>
96 bool m_accountIdHasBeenSet =
false;
99 bool m_nameHasBeenSet =
false;
102 bool m_policyHasBeenSet =
false;
bool AccountIdHasBeenSet() const
PutAccessPointPolicyRequest & WithAccountId(AccountIdT &&value)
const Aws::String & GetName() const
AWS_S3CONTROL_API Aws::String SerializePayload() const override
const Aws::String & GetAccountId() const
bool NameHasBeenSet() const
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3CONTROL_API PutAccessPointPolicyRequest()=default
PutAccessPointPolicyRequest & WithPolicy(PolicyT &&value)
void SetName(NameT &&value)
PutAccessPointPolicyRequest & WithName(NameT &&value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
virtual const char * GetServiceRequestName() const override
void SetPolicy(PolicyT &&value)
bool PolicyHasBeenSet() const
void SetAccountId(AccountIdT &&value)
const Aws::String & GetPolicy() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String