AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SNSDestination.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_SES_API SNSDestination() = default;
40 AWS_SES_API SNSDestination(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
56 inline const Aws::String& GetTopicARN() const { return m_topicARN; }
57 inline bool TopicARNHasBeenSet() const { return m_topicARNHasBeenSet; }
58 template<typename TopicARNT = Aws::String>
59 void SetTopicARN(TopicARNT&& value) { m_topicARNHasBeenSet = true; m_topicARN = std::forward<TopicARNT>(value); }
60 template<typename TopicARNT = Aws::String>
61 SNSDestination& WithTopicARN(TopicARNT&& value) { SetTopicARN(std::forward<TopicARNT>(value)); return *this;}
63 private:
64
65 Aws::String m_topicARN;
66 bool m_topicARNHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace SES
71} // namespace Aws
SNSDestination & WithTopicARN(TopicARNT &&value)
void SetTopicARN(TopicARNT &&value)
AWS_SES_API SNSDestination()=default
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API SNSDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API SNSDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTopicARN() const
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream