AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SNSAction.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 <aws/email/model/SNSActionEncoding.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace SES
23{
24namespace Model
25{
26
49 {
50 public:
51 AWS_SES_API SNSAction();
52 AWS_SES_API SNSAction(const Aws::Utils::Xml::XmlNode& xmlNode);
53 AWS_SES_API SNSAction& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
54
55 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
56 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
57
58
60
69 inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
70 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
71 inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
72 inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
73 inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
74 inline SNSAction& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
75 inline SNSAction& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
76 inline SNSAction& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
78
80
86 inline const SNSActionEncoding& GetEncoding() const{ return m_encoding; }
87 inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; }
88 inline void SetEncoding(const SNSActionEncoding& value) { m_encodingHasBeenSet = true; m_encoding = value; }
89 inline void SetEncoding(SNSActionEncoding&& value) { m_encodingHasBeenSet = true; m_encoding = std::move(value); }
90 inline SNSAction& WithEncoding(const SNSActionEncoding& value) { SetEncoding(value); return *this;}
91 inline SNSAction& WithEncoding(SNSActionEncoding&& value) { SetEncoding(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_topicArn;
96 bool m_topicArnHasBeenSet = false;
97
98 SNSActionEncoding m_encoding;
99 bool m_encodingHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SES
104} // namespace Aws
bool TopicArnHasBeenSet() const
Definition SNSAction.h:70
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTopicArn(Aws::String &&value)
Definition SNSAction.h:72
SNSAction & WithEncoding(SNSActionEncoding &&value)
Definition SNSAction.h:91
SNSAction & WithTopicArn(const Aws::String &value)
Definition SNSAction.h:74
SNSAction & WithTopicArn(Aws::String &&value)
Definition SNSAction.h:75
bool EncodingHasBeenSet() const
Definition SNSAction.h:87
AWS_SES_API SNSAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const SNSActionEncoding & GetEncoding() const
Definition SNSAction.h:86
void SetEncoding(SNSActionEncoding &&value)
Definition SNSAction.h:89
AWS_SES_API SNSAction(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTopicArn(const Aws::String &value)
Definition SNSAction.h:71
void SetEncoding(const SNSActionEncoding &value)
Definition SNSAction.h:88
SNSAction & WithTopicArn(const char *value)
Definition SNSAction.h:76
const Aws::String & GetTopicArn() const
Definition SNSAction.h:69
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTopicArn(const char *value)
Definition SNSAction.h:73
SNSAction & WithEncoding(const SNSActionEncoding &value)
Definition SNSAction.h:90
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream