AWS SDK for C++  1.8.102
AWS SDK for C++
SNSDestination.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 
37  {
38  public:
41  SNSDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42 
43  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44  void OutputToStream(Aws::OStream& oStream, const char* location) const;
45 
46 
55  inline const Aws::String& GetTopicARN() const{ return m_topicARN; }
56 
65  inline bool TopicARNHasBeenSet() const { return m_topicARNHasBeenSet; }
66 
75  inline void SetTopicARN(const Aws::String& value) { m_topicARNHasBeenSet = true; m_topicARN = value; }
76 
85  inline void SetTopicARN(Aws::String&& value) { m_topicARNHasBeenSet = true; m_topicARN = std::move(value); }
86 
95  inline void SetTopicARN(const char* value) { m_topicARNHasBeenSet = true; m_topicARN.assign(value); }
96 
105  inline SNSDestination& WithTopicARN(const Aws::String& value) { SetTopicARN(value); return *this;}
106 
115  inline SNSDestination& WithTopicARN(Aws::String&& value) { SetTopicARN(std::move(value)); return *this;}
116 
125  inline SNSDestination& WithTopicARN(const char* value) { SetTopicARN(value); return *this;}
126 
127  private:
128 
129  Aws::String m_topicARN;
130  bool m_topicARNHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace SES
135 } // namespace Aws
SNSDestination & WithTopicARN(const Aws::String &value)
SNSDestination & WithTopicARN(Aws::String &&value)
int index
Definition: cJSON.h:171
SNSDestination & WithTopicARN(const char *value)
void SetTopicARN(const char *value)
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
const Aws::String & GetTopicARN() const
void SetTopicARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
void SetTopicARN(Aws::String &&value)