AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
SNSDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/email/SES_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace SES {
20namespace Model {
21
33 public:
34 AWS_SES_API SNSDestination() = default;
35 AWS_SES_API SNSDestination(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
50 inline const Aws::String& GetTopicARN() const { return m_topicARN; }
51 inline bool TopicARNHasBeenSet() const { return m_topicARNHasBeenSet; }
52 template <typename TopicARNT = Aws::String>
53 void SetTopicARN(TopicARNT&& value) {
54 m_topicARNHasBeenSet = true;
55 m_topicARN = std::forward<TopicARNT>(value);
56 }
57 template <typename TopicARNT = Aws::String>
58 SNSDestination& WithTopicARN(TopicARNT&& value) {
59 SetTopicARN(std::forward<TopicARNT>(value));
60 return *this;
61 }
63 private:
64 Aws::String m_topicARN;
65 bool m_topicARNHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace SES
70} // 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