AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTopicARN(const Aws::String& value) { m_topicARNHasBeenSet = true; m_topicARN = value; }
59 inline void SetTopicARN(Aws::String&& value) { m_topicARNHasBeenSet = true; m_topicARN = std::move(value); }
60 inline void SetTopicARN(const char* value) { m_topicARNHasBeenSet = true; m_topicARN.assign(value); }
61 inline SNSDestination& WithTopicARN(const Aws::String& value) { SetTopicARN(value); return *this;}
62 inline SNSDestination& WithTopicARN(Aws::String&& value) { SetTopicARN(std::move(value)); return *this;}
63 inline SNSDestination& WithTopicARN(const char* value) { SetTopicARN(value); return *this;}
65 private:
66
67 Aws::String m_topicARN;
68 bool m_topicARNHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SES
73} // namespace Aws
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SNSDestination & WithTopicARN(const char *value)
AWS_SES_API SNSDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API SNSDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTopicARN(const char *value)
const Aws::String & GetTopicARN() const
SNSDestination & WithTopicARN(Aws::String &&value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTopicARN(Aws::String &&value)
SNSDestination & WithTopicARN(const Aws::String &value)
void SetTopicARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream