AWS SDK for C++  1.8.127
AWS SDK for C++
InvalidSnsTopicException.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& GetTopic() const{ return m_topic; }
50 
54  inline bool TopicHasBeenSet() const { return m_topicHasBeenSet; }
55 
59  inline void SetTopic(const Aws::String& value) { m_topicHasBeenSet = true; m_topic = value; }
60 
64  inline void SetTopic(Aws::String&& value) { m_topicHasBeenSet = true; m_topic = std::move(value); }
65 
69  inline void SetTopic(const char* value) { m_topicHasBeenSet = true; m_topic.assign(value); }
70 
74  inline InvalidSnsTopicException& WithTopic(const Aws::String& value) { SetTopic(value); return *this;}
75 
79  inline InvalidSnsTopicException& WithTopic(Aws::String&& value) { SetTopic(std::move(value)); return *this;}
80 
84  inline InvalidSnsTopicException& WithTopic(const char* value) { SetTopic(value); return *this;}
85 
86  private:
87 
88  Aws::String m_topic;
89  bool m_topicHasBeenSet;
90  };
91 
92 } // namespace Model
93 } // namespace SES
94 } // namespace Aws
Aws::SES::Model::InvalidSnsTopicException::InvalidSnsTopicException
InvalidSnsTopicException()
Aws::SES::Model::InvalidSnsTopicException::InvalidSnsTopicException
InvalidSnsTopicException(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::InvalidSnsTopicException::SetTopic
void SetTopic(Aws::String &&value)
Definition: InvalidSnsTopicException.h:64
Aws::SES::Model::InvalidSnsTopicException::SetTopic
void SetTopic(const Aws::String &value)
Definition: InvalidSnsTopicException.h:59
AWSStreamFwd.h
Aws::SES::Model::InvalidSnsTopicException::SetTopic
void SetTopic(const char *value)
Definition: InvalidSnsTopicException.h:69
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::InvalidSnsTopicException::GetTopic
const Aws::String & GetTopic() const
Definition: InvalidSnsTopicException.h:49
Aws::SES::Model::InvalidSnsTopicException::WithTopic
InvalidSnsTopicException & WithTopic(const char *value)
Definition: InvalidSnsTopicException.h:84
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::InvalidSnsTopicException::WithTopic
InvalidSnsTopicException & WithTopic(const Aws::String &value)
Definition: InvalidSnsTopicException.h:74
Aws::SES::Model::InvalidSnsTopicException::TopicHasBeenSet
bool TopicHasBeenSet() const
Definition: InvalidSnsTopicException.h:54
AWSString.h
Aws::SES::Model::InvalidSnsTopicException::operator=
InvalidSnsTopicException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::InvalidSnsTopicException
Definition: InvalidSnsTopicException.h:36
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::InvalidSnsTopicException::WithTopic
InvalidSnsTopicException & WithTopic(Aws::String &&value)
Definition: InvalidSnsTopicException.h:79
index
int index
Definition: cJSON.h:171
Aws::SES::Model::InvalidSnsTopicException::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::InvalidSnsTopicException::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const