AWS SDK for C++  1.8.129
AWS SDK for C++
InvalidS3ConfigurationException.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
49  inline const Aws::String& GetBucket() const{ return m_bucket; }
50 
54  inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
55 
59  inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
60 
64  inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
65 
69  inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
70 
74  inline InvalidS3ConfigurationException& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
75 
79  inline InvalidS3ConfigurationException& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
80 
84  inline InvalidS3ConfigurationException& WithBucket(const char* value) { SetBucket(value); return *this;}
85 
86  private:
87 
88  Aws::String m_bucket;
89  bool m_bucketHasBeenSet;
90  };
91 
92 } // namespace Model
93 } // namespace SES
94 } // namespace Aws
Aws::SES::Model::InvalidS3ConfigurationException::SetBucket
void SetBucket(Aws::String &&value)
Definition: InvalidS3ConfigurationException.h:64
Aws::SES::Model::InvalidS3ConfigurationException::WithBucket
InvalidS3ConfigurationException & WithBucket(const Aws::String &value)
Definition: InvalidS3ConfigurationException.h:74
Aws::SES::Model::InvalidS3ConfigurationException::SetBucket
void SetBucket(const char *value)
Definition: InvalidS3ConfigurationException.h:69
Aws::SES::Model::InvalidS3ConfigurationException::BucketHasBeenSet
bool BucketHasBeenSet() const
Definition: InvalidS3ConfigurationException.h:54
AWSStreamFwd.h
Aws::SES::Model::InvalidS3ConfigurationException::operator=
InvalidS3ConfigurationException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::InvalidS3ConfigurationException::WithBucket
InvalidS3ConfigurationException & WithBucket(const char *value)
Definition: InvalidS3ConfigurationException.h:84
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::InvalidS3ConfigurationException::GetBucket
const Aws::String & GetBucket() const
Definition: InvalidS3ConfigurationException.h:49
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::InvalidS3ConfigurationException::WithBucket
InvalidS3ConfigurationException & WithBucket(Aws::String &&value)
Definition: InvalidS3ConfigurationException.h:79
Aws::SES::Model::InvalidS3ConfigurationException::InvalidS3ConfigurationException
InvalidS3ConfigurationException()
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::InvalidS3ConfigurationException::InvalidS3ConfigurationException
InvalidS3ConfigurationException(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::InvalidS3ConfigurationException::SetBucket
void SetBucket(const Aws::String &value)
Definition: InvalidS3ConfigurationException.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::InvalidS3ConfigurationException::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::InvalidS3ConfigurationException::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::InvalidS3ConfigurationException
Definition: InvalidS3ConfigurationException.h:36