7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/S3Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3/model/NotificationConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
36 inline virtual const char*
GetServiceRequestName()
const override {
return "PutBucketNotificationConfiguration"; }
56 template<
typename BucketT = Aws::String>
57 void SetBucket(BucketT&& value) { m_bucketHasBeenSet =
true; m_bucket = std::forward<BucketT>(value); }
58 template<
typename BucketT = Aws::String>
66 template<
typename NotificationConfigurationT = NotificationConfiguration>
67 void SetNotificationConfiguration(NotificationConfigurationT&& value) { m_notificationConfigurationHasBeenSet =
true; m_notificationConfiguration = std::forward<NotificationConfigurationT>(value); }
68 template<
typename NotificationConfigurationT = NotificationConfiguration>
80 template<
typename ExpectedBucketOwnerT = Aws::String>
81 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
82 template<
typename ExpectedBucketOwnerT = Aws::String>
101 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
102 void SetCustomizedAccessLogTag(CustomizedAccessLogTagT&& value) { m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value); }
103 template<
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
105 template<
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
107 m_customizedAccessLogTagHasBeenSet =
true; m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
return *
this;
113 bool m_bucketHasBeenSet =
false;
116 bool m_notificationConfigurationHasBeenSet =
false;
119 bool m_expectedBucketOwnerHasBeenSet =
false;
121 bool m_skipDestinationValidation{
false};
122 bool m_skipDestinationValidationHasBeenSet =
false;
125 bool m_customizedAccessLogTagHasBeenSet =
false;
void SetNotificationConfiguration(NotificationConfigurationT &&value)
bool NotificationConfigurationHasBeenSet() const
AWS_S3_API EndpointParameters GetEndpointContextParams() const override
PutBucketNotificationConfigurationRequest & WithBucket(BucketT &&value)
PutBucketNotificationConfigurationRequest & WithNotificationConfiguration(NotificationConfigurationT &&value)
void SetSkipDestinationValidation(bool value)
AWS_S3_API PutBucketNotificationConfigurationRequest()=default
const Aws::String & GetExpectedBucketOwner() const
void SetCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
AWS_S3_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool CustomizedAccessLogTagHasBeenSet() const
PutBucketNotificationConfigurationRequest & WithCustomizedAccessLogTag(CustomizedAccessLogTagT &&value)
PutBucketNotificationConfigurationRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
virtual const char * GetServiceRequestName() const override
AWS_S3_API Aws::String SerializePayload() const override
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
bool BucketHasBeenSet() const
bool GetSkipDestinationValidation() const
const Aws::Map< Aws::String, Aws::String > & GetCustomizedAccessLogTag() const
bool SkipDestinationValidationHasBeenSet() const
PutBucketNotificationConfigurationRequest & AddCustomizedAccessLogTag(CustomizedAccessLogTagKeyT &&key, CustomizedAccessLogTagValueT &&value)
PutBucketNotificationConfigurationRequest & WithSkipDestinationValidation(bool value)
void SetBucket(BucketT &&value)
AWS_S3_API bool HasEmbeddedError(IOStream &body, const Http::HeaderValueCollection &header) const override
const NotificationConfiguration & GetNotificationConfiguration() const
const Aws::String & GetBucket() const
bool ExpectedBucketOwnerHasBeenSet() const
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String