7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
45 template <
typename AccountIdT = Aws::String>
47 m_accountIdHasBeenSet =
true;
48 m_accountId = std::forward<AccountIdT>(value);
50 template <
typename AccountIdT = Aws::String>
73 template <
typename NameT = Aws::String>
75 m_nameHasBeenSet =
true;
76 m_name = std::forward<NameT>(value);
78 template <
typename NameT = Aws::String>
80 SetName(std::forward<NameT>(value));
97 template <
typename PolicyT = Aws::String>
99 m_policyHasBeenSet =
true;
100 m_policy = std::forward<PolicyT>(value);
102 template <
typename PolicyT = Aws::String>
114 bool m_accountIdHasBeenSet =
false;
115 bool m_nameHasBeenSet =
false;
116 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