AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IdentityMailFromDomainAttributes.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 <aws/email/model/CustomMailFromStatus.h>
11#include <aws/email/model/BehaviorOnMXFailure.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace SES
24{
25namespace Model
26{
27
35 {
36 public:
40
41 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetMailFromDomain() const{ return m_mailFromDomain; }
50 inline bool MailFromDomainHasBeenSet() const { return m_mailFromDomainHasBeenSet; }
51 inline void SetMailFromDomain(const Aws::String& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = value; }
52 inline void SetMailFromDomain(Aws::String&& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = std::move(value); }
53 inline void SetMailFromDomain(const char* value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain.assign(value); }
55 inline IdentityMailFromDomainAttributes& WithMailFromDomain(Aws::String&& value) { SetMailFromDomain(std::move(value)); return *this;}
56 inline IdentityMailFromDomainAttributes& WithMailFromDomain(const char* value) { SetMailFromDomain(value); return *this;}
58
60
67 inline const CustomMailFromStatus& GetMailFromDomainStatus() const{ return m_mailFromDomainStatus; }
68 inline bool MailFromDomainStatusHasBeenSet() const { return m_mailFromDomainStatusHasBeenSet; }
69 inline void SetMailFromDomainStatus(const CustomMailFromStatus& value) { m_mailFromDomainStatusHasBeenSet = true; m_mailFromDomainStatus = value; }
70 inline void SetMailFromDomainStatus(CustomMailFromStatus&& value) { m_mailFromDomainStatusHasBeenSet = true; m_mailFromDomainStatus = std::move(value); }
74
76
87 inline const BehaviorOnMXFailure& GetBehaviorOnMXFailure() const{ return m_behaviorOnMXFailure; }
88 inline bool BehaviorOnMXFailureHasBeenSet() const { return m_behaviorOnMXFailureHasBeenSet; }
89 inline void SetBehaviorOnMXFailure(const BehaviorOnMXFailure& value) { m_behaviorOnMXFailureHasBeenSet = true; m_behaviorOnMXFailure = value; }
90 inline void SetBehaviorOnMXFailure(BehaviorOnMXFailure&& value) { m_behaviorOnMXFailureHasBeenSet = true; m_behaviorOnMXFailure = std::move(value); }
94 private:
95
96 Aws::String m_mailFromDomain;
97 bool m_mailFromDomainHasBeenSet = false;
98
99 CustomMailFromStatus m_mailFromDomainStatus;
100 bool m_mailFromDomainStatusHasBeenSet = false;
101
102 BehaviorOnMXFailure m_behaviorOnMXFailure;
103 bool m_behaviorOnMXFailureHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SES
108} // namespace Aws
AWS_SES_API IdentityMailFromDomainAttributes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IdentityMailFromDomainAttributes & WithBehaviorOnMXFailure(BehaviorOnMXFailure &&value)
IdentityMailFromDomainAttributes & WithMailFromDomain(const char *value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetMailFromDomainStatus(const CustomMailFromStatus &value)
AWS_SES_API IdentityMailFromDomainAttributes(const Aws::Utils::Xml::XmlNode &xmlNode)
IdentityMailFromDomainAttributes & WithBehaviorOnMXFailure(const BehaviorOnMXFailure &value)
IdentityMailFromDomainAttributes & WithMailFromDomainStatus(CustomMailFromStatus &&value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IdentityMailFromDomainAttributes & WithMailFromDomain(const Aws::String &value)
IdentityMailFromDomainAttributes & WithMailFromDomain(Aws::String &&value)
IdentityMailFromDomainAttributes & WithMailFromDomainStatus(const CustomMailFromStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream