AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkmailAction.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_SES_API WorkmailAction();
41 AWS_SES_API WorkmailAction(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
58 inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
59 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
60 inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
61 inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
62 inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
63 inline WorkmailAction& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
64 inline WorkmailAction& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
65 inline WorkmailAction& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
67
69
81 inline const Aws::String& GetOrganizationArn() const{ return m_organizationArn; }
82 inline bool OrganizationArnHasBeenSet() const { return m_organizationArnHasBeenSet; }
83 inline void SetOrganizationArn(const Aws::String& value) { m_organizationArnHasBeenSet = true; m_organizationArn = value; }
84 inline void SetOrganizationArn(Aws::String&& value) { m_organizationArnHasBeenSet = true; m_organizationArn = std::move(value); }
85 inline void SetOrganizationArn(const char* value) { m_organizationArnHasBeenSet = true; m_organizationArn.assign(value); }
86 inline WorkmailAction& WithOrganizationArn(const Aws::String& value) { SetOrganizationArn(value); return *this;}
87 inline WorkmailAction& WithOrganizationArn(Aws::String&& value) { SetOrganizationArn(std::move(value)); return *this;}
88 inline WorkmailAction& WithOrganizationArn(const char* value) { SetOrganizationArn(value); return *this;}
90 private:
91
92 Aws::String m_topicArn;
93 bool m_topicArnHasBeenSet = false;
94
95 Aws::String m_organizationArn;
96 bool m_organizationArnHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SES
101} // namespace Aws
WorkmailAction & WithOrganizationArn(const Aws::String &value)
WorkmailAction & WithTopicArn(Aws::String &&value)
const Aws::String & GetOrganizationArn() const
WorkmailAction & WithOrganizationArn(const char *value)
void SetOrganizationArn(Aws::String &&value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetTopicArn() const
void SetOrganizationArn(const Aws::String &value)
AWS_SES_API WorkmailAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTopicArn(const Aws::String &value)
WorkmailAction & WithOrganizationArn(Aws::String &&value)
AWS_SES_API WorkmailAction(const Aws::Utils::Xml::XmlNode &xmlNode)
WorkmailAction & WithTopicArn(const char *value)
void SetOrganizationArn(const char *value)
WorkmailAction & WithTopicArn(const Aws::String &value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTopicArn(Aws::String &&value)
void SetTopicArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream