/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace SES { namespace Model { /** *

Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is * invalid, or that Amazon SES could not publish to the bucket, possibly due to * permissions issues. For information about giving permissions, see the Amazon * SES Developer Guide.

See Also:

AWS * API Reference

*/ class InvalidS3ConfigurationException { public: AWS_SES_API InvalidS3ConfigurationException(); AWS_SES_API InvalidS3ConfigurationException(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API InvalidS3ConfigurationException& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

Indicated that the S3 Bucket was not found.

*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *

Indicated that the S3 Bucket was not found.

*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *

Indicated that the S3 Bucket was not found.

*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *

Indicated that the S3 Bucket was not found.

*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *

Indicated that the S3 Bucket was not found.

*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *

Indicated that the S3 Bucket was not found.

*/ inline InvalidS3ConfigurationException& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *

Indicated that the S3 Bucket was not found.

*/ inline InvalidS3ConfigurationException& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *

Indicated that the S3 Bucket was not found.

*/ inline InvalidS3ConfigurationException& WithBucket(const char* value) { SetBucket(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws