AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StopAction.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/email/model/StopScope.h>
10#include <aws/core/utils/memory/stl/AWSString.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
38 {
39 public:
40 AWS_SES_API StopAction() = default;
41 AWS_SES_API StopAction(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_SES_API StopAction& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
53 inline StopScope GetScope() const { return m_scope; }
54 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
55 inline void SetScope(StopScope value) { m_scopeHasBeenSet = true; m_scope = value; }
56 inline StopAction& WithScope(StopScope value) { SetScope(value); return *this;}
58
60
68 inline const Aws::String& GetTopicArn() const { return m_topicArn; }
69 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
70 template<typename TopicArnT = Aws::String>
71 void SetTopicArn(TopicArnT&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::forward<TopicArnT>(value); }
72 template<typename TopicArnT = Aws::String>
73 StopAction& WithTopicArn(TopicArnT&& value) { SetTopicArn(std::forward<TopicArnT>(value)); return *this;}
75 private:
76
78 bool m_scopeHasBeenSet = false;
79
80 Aws::String m_topicArn;
81 bool m_topicArnHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SES
86} // namespace Aws
void SetTopicArn(TopicArnT &&value)
Definition StopAction.h:71
const Aws::String & GetTopicArn() const
Definition StopAction.h:68
bool TopicArnHasBeenSet() const
Definition StopAction.h:69
StopAction & WithScope(StopScope value)
Definition StopAction.h:56
void SetScope(StopScope value)
Definition StopAction.h:55
AWS_SES_API StopAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StopScope GetScope() const
Definition StopAction.h:53
AWS_SES_API StopAction()=default
AWS_SES_API StopAction(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
StopAction & WithTopicArn(TopicArnT &&value)
Definition StopAction.h:73
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream