AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const StopScope& GetScope() const{ return m_scope; }
54 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
55 inline void SetScope(const StopScope& value) { m_scopeHasBeenSet = true; m_scope = value; }
56 inline void SetScope(StopScope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
57 inline StopAction& WithScope(const StopScope& value) { SetScope(value); return *this;}
58 inline StopAction& WithScope(StopScope&& value) { SetScope(std::move(value)); return *this;}
60
62
70 inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
71 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
72 inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
73 inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
74 inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
75 inline StopAction& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
76 inline StopAction& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
77 inline StopAction& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
79 private:
80
81 StopScope m_scope;
82 bool m_scopeHasBeenSet = false;
83
84 Aws::String m_topicArn;
85 bool m_topicArnHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SES
90} // namespace Aws
StopAction & WithTopicArn(const char *value)
Definition StopAction.h:77
const StopScope & GetScope() const
Definition StopAction.h:53
const Aws::String & GetTopicArn() const
Definition StopAction.h:70
void SetTopicArn(const Aws::String &value)
Definition StopAction.h:72
StopAction & WithScope(const StopScope &value)
Definition StopAction.h:57
StopAction & WithTopicArn(const Aws::String &value)
Definition StopAction.h:75
bool TopicArnHasBeenSet() const
Definition StopAction.h:71
StopAction & WithScope(StopScope &&value)
Definition StopAction.h:58
void SetTopicArn(const char *value)
Definition StopAction.h:74
void SetTopicArn(Aws::String &&value)
Definition StopAction.h:73
StopAction & WithTopicArn(Aws::String &&value)
Definition StopAction.h:76
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
void SetScope(const StopScope &value)
Definition StopAction.h:55
AWS_SES_API StopAction(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetScope(StopScope &&value)
Definition StopAction.h:56
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream