AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
IdentityMailFromDomainAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/email/SES_EXPORTS.h>
10#include <aws/email/model/BehaviorOnMXFailure.h>
11#include <aws/email/model/CustomMailFromStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Xml {
18class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SES {
22namespace Model {
23
31 public:
32 AWS_SES_API IdentityMailFromDomainAttributes() = default;
35
36 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
40
43 inline const Aws::String& GetMailFromDomain() const { return m_mailFromDomain; }
44 inline bool MailFromDomainHasBeenSet() const { return m_mailFromDomainHasBeenSet; }
45 template <typename MailFromDomainT = Aws::String>
46 void SetMailFromDomain(MailFromDomainT&& value) {
47 m_mailFromDomainHasBeenSet = true;
48 m_mailFromDomain = std::forward<MailFromDomainT>(value);
49 }
50 template <typename MailFromDomainT = Aws::String>
52 SetMailFromDomain(std::forward<MailFromDomainT>(value));
53 return *this;
54 }
56
58
65 inline CustomMailFromStatus GetMailFromDomainStatus() const { return m_mailFromDomainStatus; }
66 inline bool MailFromDomainStatusHasBeenSet() const { return m_mailFromDomainStatusHasBeenSet; }
68 m_mailFromDomainStatusHasBeenSet = true;
69 m_mailFromDomainStatus = value;
70 }
73 return *this;
74 }
76
78
89 inline BehaviorOnMXFailure GetBehaviorOnMXFailure() const { return m_behaviorOnMXFailure; }
90 inline bool BehaviorOnMXFailureHasBeenSet() const { return m_behaviorOnMXFailureHasBeenSet; }
92 m_behaviorOnMXFailureHasBeenSet = true;
93 m_behaviorOnMXFailure = value;
94 }
97 return *this;
98 }
100 private:
101 Aws::String m_mailFromDomain;
102
104
106 bool m_mailFromDomainHasBeenSet = false;
107 bool m_mailFromDomainStatusHasBeenSet = false;
108 bool m_behaviorOnMXFailureHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace SES
113} // namespace Aws
AWS_SES_API IdentityMailFromDomainAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IdentityMailFromDomainAttributes & WithMailFromDomain(MailFromDomainT &&value)
IdentityMailFromDomainAttributes & WithMailFromDomainStatus(CustomMailFromStatus value)
IdentityMailFromDomainAttributes & WithBehaviorOnMXFailure(BehaviorOnMXFailure value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SES_API IdentityMailFromDomainAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream