AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MailFromAttributes.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/model/MailFromDomainStatus.h>
10#include <aws/sesv2/model/BehaviorOnMxFailure.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SESV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SESV2_API MailFromAttributes();
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetMailFromDomain() const{ return m_mailFromDomain; }
49 inline bool MailFromDomainHasBeenSet() const { return m_mailFromDomainHasBeenSet; }
50 inline void SetMailFromDomain(const Aws::String& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = value; }
51 inline void SetMailFromDomain(Aws::String&& value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain = std::move(value); }
52 inline void SetMailFromDomain(const char* value) { m_mailFromDomainHasBeenSet = true; m_mailFromDomain.assign(value); }
53 inline MailFromAttributes& WithMailFromDomain(const Aws::String& value) { SetMailFromDomain(value); return *this;}
54 inline MailFromAttributes& WithMailFromDomain(Aws::String&& value) { SetMailFromDomain(std::move(value)); return *this;}
55 inline MailFromAttributes& WithMailFromDomain(const char* value) { SetMailFromDomain(value); return *this;}
57
59
69 inline const MailFromDomainStatus& GetMailFromDomainStatus() const{ return m_mailFromDomainStatus; }
70 inline bool MailFromDomainStatusHasBeenSet() const { return m_mailFromDomainStatusHasBeenSet; }
71 inline void SetMailFromDomainStatus(const MailFromDomainStatus& value) { m_mailFromDomainStatusHasBeenSet = true; m_mailFromDomainStatus = value; }
72 inline void SetMailFromDomainStatus(MailFromDomainStatus&& value) { m_mailFromDomainStatusHasBeenSet = true; m_mailFromDomainStatus = std::move(value); }
76
78
88 inline const BehaviorOnMxFailure& GetBehaviorOnMxFailure() const{ return m_behaviorOnMxFailure; }
89 inline bool BehaviorOnMxFailureHasBeenSet() const { return m_behaviorOnMxFailureHasBeenSet; }
90 inline void SetBehaviorOnMxFailure(const BehaviorOnMxFailure& value) { m_behaviorOnMxFailureHasBeenSet = true; m_behaviorOnMxFailure = value; }
91 inline void SetBehaviorOnMxFailure(BehaviorOnMxFailure&& value) { m_behaviorOnMxFailureHasBeenSet = true; m_behaviorOnMxFailure = std::move(value); }
93 inline MailFromAttributes& WithBehaviorOnMxFailure(BehaviorOnMxFailure&& value) { SetBehaviorOnMxFailure(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_mailFromDomain;
98 bool m_mailFromDomainHasBeenSet = false;
99
100 MailFromDomainStatus m_mailFromDomainStatus;
101 bool m_mailFromDomainStatusHasBeenSet = false;
102
103 BehaviorOnMxFailure m_behaviorOnMxFailure;
104 bool m_behaviorOnMxFailureHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SESV2
109} // namespace Aws
void SetBehaviorOnMxFailure(const BehaviorOnMxFailure &value)
MailFromAttributes & WithMailFromDomain(const char *value)
const Aws::String & GetMailFromDomain() const
void SetMailFromDomain(const Aws::String &value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMailFromDomain(Aws::String &&value)
MailFromAttributes & WithMailFromDomain(Aws::String &&value)
MailFromAttributes & WithMailFromDomainStatus(const MailFromDomainStatus &value)
const BehaviorOnMxFailure & GetBehaviorOnMxFailure() const
MailFromAttributes & WithBehaviorOnMxFailure(BehaviorOnMxFailure &&value)
MailFromAttributes & WithMailFromDomainStatus(MailFromDomainStatus &&value)
AWS_SESV2_API MailFromAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
MailFromAttributes & WithBehaviorOnMxFailure(const BehaviorOnMxFailure &value)
void SetMailFromDomainStatus(MailFromDomainStatus &&value)
MailFromAttributes & WithMailFromDomain(const Aws::String &value)
const MailFromDomainStatus & GetMailFromDomainStatus() const
AWS_SESV2_API MailFromAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetMailFromDomainStatus(const MailFromDomainStatus &value)
void SetBehaviorOnMxFailure(BehaviorOnMxFailure &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue