AWS SDK for C++  1.8.129
AWS SDK for C++
StopAction.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace SES
23 {
24 namespace Model
25 {
26 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
52  inline const StopScope& GetScope() const{ return m_scope; }
53 
58  inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
59 
64  inline void SetScope(const StopScope& value) { m_scopeHasBeenSet = true; m_scope = value; }
65 
70  inline void SetScope(StopScope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
71 
76  inline StopAction& WithScope(const StopScope& value) { SetScope(value); return *this;}
77 
82  inline StopAction& WithScope(StopScope&& value) { SetScope(std::move(value)); return *this;}
83 
84 
93  inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
94 
103  inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
104 
113  inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
114 
123  inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
124 
133  inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
134 
143  inline StopAction& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
144 
153  inline StopAction& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
154 
163  inline StopAction& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
164 
165  private:
166 
167  StopScope m_scope;
168  bool m_scopeHasBeenSet;
169 
170  Aws::String m_topicArn;
171  bool m_topicArnHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace SES
176 } // namespace Aws
Aws::SES::Model::StopAction::WithTopicArn
StopAction & WithTopicArn(const Aws::String &value)
Definition: StopAction.h:143
StopScope.h
Aws::SES::Model::StopAction::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::StopAction
Definition: StopAction.h:38
Aws::SES::Model::StopAction::WithScope
StopAction & WithScope(const StopScope &value)
Definition: StopAction.h:76
Aws::SES::Model::StopAction::StopAction
StopAction(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::StopAction::SetScope
void SetScope(StopScope &&value)
Definition: StopAction.h:70
Aws::SES::Model::StopAction::SetTopicArn
void SetTopicArn(Aws::String &&value)
Definition: StopAction.h:123
AWSStreamFwd.h
Aws::SES::Model::StopAction::WithTopicArn
StopAction & WithTopicArn(const char *value)
Definition: StopAction.h:163
Aws::SES::Model::StopAction::GetTopicArn
const Aws::String & GetTopicArn() const
Definition: StopAction.h:93
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::StopAction::ScopeHasBeenSet
bool ScopeHasBeenSet() const
Definition: StopAction.h:58
Aws::SES::Model::StopAction::TopicArnHasBeenSet
bool TopicArnHasBeenSet() const
Definition: StopAction.h:103
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::StopAction::WithTopicArn
StopAction & WithTopicArn(Aws::String &&value)
Definition: StopAction.h:153
AWSString.h
Aws::SES::Model::StopAction::StopAction
StopAction()
Aws::SES::Model::StopAction::WithScope
StopAction & WithScope(StopScope &&value)
Definition: StopAction.h:82
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::StopAction::operator=
StopAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::StopAction::SetScope
void SetScope(const StopScope &value)
Definition: StopAction.h:64
Aws::SES::Model::StopAction::SetTopicArn
void SetTopicArn(const Aws::String &value)
Definition: StopAction.h:113
Aws::SES::Model::StopAction::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::StopScope
StopScope
Definition: StopScope.h:17
Aws::SES::Model::StopAction::SetTopicArn
void SetTopicArn(const char *value)
Definition: StopAction.h:133
Aws::SES::Model::StopAction::GetScope
const StopScope & GetScope() const
Definition: StopAction.h:52