AWS SDK for C++  1.8.129
AWS SDK for C++
WorkmailAction.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
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 
56  inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
57 
66  inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
67 
76  inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
77 
86  inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
87 
96  inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
97 
106  inline WorkmailAction& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
107 
116  inline WorkmailAction& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
117 
126  inline WorkmailAction& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
127 
128 
137  inline const Aws::String& GetOrganizationArn() const{ return m_organizationArn; }
138 
147  inline bool OrganizationArnHasBeenSet() const { return m_organizationArnHasBeenSet; }
148 
157  inline void SetOrganizationArn(const Aws::String& value) { m_organizationArnHasBeenSet = true; m_organizationArn = value; }
158 
167  inline void SetOrganizationArn(Aws::String&& value) { m_organizationArnHasBeenSet = true; m_organizationArn = std::move(value); }
168 
177  inline void SetOrganizationArn(const char* value) { m_organizationArnHasBeenSet = true; m_organizationArn.assign(value); }
178 
187  inline WorkmailAction& WithOrganizationArn(const Aws::String& value) { SetOrganizationArn(value); return *this;}
188 
197  inline WorkmailAction& WithOrganizationArn(Aws::String&& value) { SetOrganizationArn(std::move(value)); return *this;}
198 
207  inline WorkmailAction& WithOrganizationArn(const char* value) { SetOrganizationArn(value); return *this;}
208 
209  private:
210 
211  Aws::String m_topicArn;
212  bool m_topicArnHasBeenSet;
213 
214  Aws::String m_organizationArn;
215  bool m_organizationArnHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace SES
220 } // namespace Aws
Aws::SES::Model::WorkmailAction::OrganizationArnHasBeenSet
bool OrganizationArnHasBeenSet() const
Definition: WorkmailAction.h:147
Aws::SES::Model::WorkmailAction::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::WorkmailAction::operator=
WorkmailAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::WorkmailAction::TopicArnHasBeenSet
bool TopicArnHasBeenSet() const
Definition: WorkmailAction.h:66
Aws::SES::Model::WorkmailAction::WithOrganizationArn
WorkmailAction & WithOrganizationArn(const char *value)
Definition: WorkmailAction.h:207
Aws::SES::Model::WorkmailAction
Definition: WorkmailAction.h:38
Aws::SES::Model::WorkmailAction::WithTopicArn
WorkmailAction & WithTopicArn(const char *value)
Definition: WorkmailAction.h:126
Aws::SES::Model::WorkmailAction::SetTopicArn
void SetTopicArn(const Aws::String &value)
Definition: WorkmailAction.h:76
AWSStreamFwd.h
Aws::SES::Model::WorkmailAction::SetTopicArn
void SetTopicArn(Aws::String &&value)
Definition: WorkmailAction.h:86
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::WorkmailAction::WithTopicArn
WorkmailAction & WithTopicArn(const Aws::String &value)
Definition: WorkmailAction.h:106
Aws::SES::Model::WorkmailAction::WithOrganizationArn
WorkmailAction & WithOrganizationArn(Aws::String &&value)
Definition: WorkmailAction.h:197
Aws::SES::Model::WorkmailAction::GetOrganizationArn
const Aws::String & GetOrganizationArn() const
Definition: WorkmailAction.h:137
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::WorkmailAction::SetOrganizationArn
void SetOrganizationArn(const char *value)
Definition: WorkmailAction.h:177
Aws::SES::Model::WorkmailAction::WithOrganizationArn
WorkmailAction & WithOrganizationArn(const Aws::String &value)
Definition: WorkmailAction.h:187
Aws::SES::Model::WorkmailAction::SetOrganizationArn
void SetOrganizationArn(const Aws::String &value)
Definition: WorkmailAction.h:157
Aws::SES::Model::WorkmailAction::GetTopicArn
const Aws::String & GetTopicArn() const
Definition: WorkmailAction.h:56
Aws::SES::Model::WorkmailAction::SetTopicArn
void SetTopicArn(const char *value)
Definition: WorkmailAction.h:96
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::WorkmailAction::WorkmailAction
WorkmailAction()
Aws::SES::Model::WorkmailAction::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::WorkmailAction::SetOrganizationArn
void SetOrganizationArn(Aws::String &&value)
Definition: WorkmailAction.h:167
Aws::SES::Model::WorkmailAction::WithTopicArn
WorkmailAction & WithTopicArn(Aws::String &&value)
Definition: WorkmailAction.h:116
Aws::SES::Model::WorkmailAction::WorkmailAction
WorkmailAction(const Aws::Utils::Xml::XmlNode &xmlNode)