7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/S3Request.h>
10#include <aws/s3/S3_EXPORTS.h>
11#include <aws/s3/model/NotificationConfiguration.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "PutBucketNotificationConfiguration"; }
52 template <
typename BucketT = Aws::String>
54 m_bucketHasBeenSet =
true;
55 m_bucket = std::forward<BucketT>(value);
57 template <
typename BucketT = Aws::String>
68 template <
typename NotificationConfigurationT = NotificationConfiguration>
70 m_notificationConfigurationHasBeenSet =
true;
71 m_notificationConfiguration = std::forward<NotificationConfigurationT>(value);
73 template <
typename NotificationConfigurationT = NotificationConfiguration>
88 template <
typename ExpectedBucketOwnerT = Aws::String>
90 m_expectedBucketOwnerHasBeenSet =
true;
91 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
93 template <
typename ExpectedBucketOwnerT = Aws::String>
108 m_skipDestinationValidationHasBeenSet =
true;
109 m_skipDestinationValidation = value;
121 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
123 m_customizedAccessLogTagHasBeenSet =
true;
124 m_customizedAccessLogTag = std::forward<CustomizedAccessLogTagT>(value);
126 template <
typename CustomizedAccessLogTagT = Aws::Map<Aws::String, Aws::String>>
131 template <
typename CustomizedAccessLogTagKeyT = Aws::String,
typename CustomizedAccessLogTagValueT = Aws::String>
133 CustomizedAccessLogTagValueT&& value) {
134 m_customizedAccessLogTagHasBeenSet =
true;
135 m_customizedAccessLogTag.emplace(std::forward<CustomizedAccessLogTagKeyT>(key), std::forward<CustomizedAccessLogTagValueT>(value));
141 bool m_bucketHasBeenSet =
false;
144 bool m_notificationConfigurationHasBeenSet =
false;
147 bool m_expectedBucketOwnerHasBeenSet =
false;
149 bool m_skipDestinationValidation{
false};
150 bool m_skipDestinationValidationHasBeenSet =
false;
153 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