7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/ActionFailurePolicy.h>
9#include <aws/mailmanager/model/MailFrom.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
65 inline void SetMailFrom(
MailFrom&& value) { m_mailFromHasBeenSet =
true; m_mailFrom = std::move(value); }
78 inline void SetRelay(
const char* value) { m_relayHasBeenSet =
true; m_relay.assign(value); }
86 bool m_actionFailurePolicyHasBeenSet =
false;
89 bool m_mailFromHasBeenSet =
false;
92 bool m_relayHasBeenSet =
false;
const Aws::String & GetRelay() const
void SetRelay(const Aws::String &value)
void SetRelay(Aws::String &&value)
RelayAction & WithRelay(Aws::String &&value)
void SetActionFailurePolicy(ActionFailurePolicy &&value)
RelayAction & WithMailFrom(const MailFrom &value)
bool MailFromHasBeenSet() const
void SetActionFailurePolicy(const ActionFailurePolicy &value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool RelayHasBeenSet() const
RelayAction & WithMailFrom(MailFrom &&value)
const MailFrom & GetMailFrom() const
AWS_MAILMANAGER_API RelayAction()
bool ActionFailurePolicyHasBeenSet() const
void SetRelay(const char *value)
void SetMailFrom(MailFrom &&value)
RelayAction & WithActionFailurePolicy(ActionFailurePolicy &&value)
AWS_MAILMANAGER_API RelayAction(Aws::Utils::Json::JsonView jsonValue)
void SetMailFrom(const MailFrom &value)
RelayAction & WithRelay(const char *value)
AWS_MAILMANAGER_API RelayAction & operator=(Aws::Utils::Json::JsonView jsonValue)
RelayAction & WithActionFailurePolicy(const ActionFailurePolicy &value)
RelayAction & WithRelay(const Aws::String &value)
const ActionFailurePolicy & GetActionFailurePolicy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue