7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lightsail/model/AccessRules.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lightsail/model/BucketAccessLogConfig.h>
48 inline void SetBucketName(
const char* value) { m_bucketNameHasBeenSet =
true; m_bucketName.assign(value); }
80 inline void SetVersioning(
const char* value) { m_versioningHasBeenSet =
true; m_versioning.assign(value); }
117 bool m_bucketNameHasBeenSet =
false;
120 bool m_accessRulesHasBeenSet =
false;
123 bool m_versioningHasBeenSet =
false;
126 bool m_readonlyAccessAccountsHasBeenSet =
false;
129 bool m_accessLogConfigHasBeenSet =
false;
const Aws::String & GetVersioning() const
UpdateBucketRequest & WithAccessRules(AccessRules &&value)
void SetVersioning(Aws::String &&value)
UpdateBucketRequest & AddReadonlyAccessAccounts(const Aws::String &value)
void SetReadonlyAccessAccounts(const Aws::Vector< Aws::String > &value)
void SetAccessLogConfig(BucketAccessLogConfig &&value)
void SetBucketName(const Aws::String &value)
UpdateBucketRequest & WithBucketName(const char *value)
UpdateBucketRequest & WithAccessLogConfig(BucketAccessLogConfig &&value)
UpdateBucketRequest & WithBucketName(const Aws::String &value)
bool AccessLogConfigHasBeenSet() const
bool BucketNameHasBeenSet() const
const AccessRules & GetAccessRules() const
const Aws::Vector< Aws::String > & GetReadonlyAccessAccounts() const
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
void SetVersioning(const Aws::String &value)
void SetAccessRules(const AccessRules &value)
UpdateBucketRequest & WithReadonlyAccessAccounts(Aws::Vector< Aws::String > &&value)
void SetAccessRules(AccessRules &&value)
void SetReadonlyAccessAccounts(Aws::Vector< Aws::String > &&value)
void SetVersioning(const char *value)
void SetBucketName(const char *value)
UpdateBucketRequest & WithVersioning(const char *value)
UpdateBucketRequest & WithReadonlyAccessAccounts(const Aws::Vector< Aws::String > &value)
bool AccessRulesHasBeenSet() const
UpdateBucketRequest & WithVersioning(Aws::String &&value)
UpdateBucketRequest & WithAccessRules(const AccessRules &value)
virtual const char * GetServiceRequestName() const override
AWS_LIGHTSAIL_API UpdateBucketRequest()
bool ReadonlyAccessAccountsHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool VersioningHasBeenSet() const
UpdateBucketRequest & AddReadonlyAccessAccounts(Aws::String &&value)
void SetBucketName(Aws::String &&value)
void SetAccessLogConfig(const BucketAccessLogConfig &value)
const BucketAccessLogConfig & GetAccessLogConfig() const
UpdateBucketRequest & WithAccessLogConfig(const BucketAccessLogConfig &value)
const Aws::String & GetBucketName() const
UpdateBucketRequest & WithVersioning(const Aws::String &value)
UpdateBucketRequest & AddReadonlyAccessAccounts(const char *value)
UpdateBucketRequest & WithBucketName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector