7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/AddHeaderAction.h>
9#include <aws/mailmanager/model/ArchiveAction.h>
10#include <aws/mailmanager/model/DeliverToMailboxAction.h>
11#include <aws/mailmanager/model/DropAction.h>
12#include <aws/mailmanager/model/RelayAction.h>
13#include <aws/mailmanager/model/ReplaceRecipientAction.h>
14#include <aws/mailmanager/model/SendAction.h>
15#include <aws/mailmanager/model/S3Action.h>
93 inline void SetDrop(
DropAction&& value) { m_dropHasBeenSet =
true; m_drop = std::move(value); }
149 bool m_addHeaderHasBeenSet =
false;
152 bool m_archiveHasBeenSet =
false;
155 bool m_deliverToMailboxHasBeenSet =
false;
158 bool m_dropHasBeenSet =
false;
161 bool m_relayHasBeenSet =
false;
164 bool m_replaceRecipientHasBeenSet =
false;
167 bool m_sendHasBeenSet =
false;
170 bool m_writeToS3HasBeenSet =
false;
const SendAction & GetSend() const
void SetSend(SendAction &&value)
RuleAction & WithWriteToS3(S3Action &&value)
void SetDrop(DropAction &&value)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
RuleAction & WithAddHeader(AddHeaderAction &&value)
bool ReplaceRecipientHasBeenSet() const
RuleAction & WithSend(const SendAction &value)
RuleAction & WithDeliverToMailbox(const DeliverToMailboxAction &value)
void SetDeliverToMailbox(const DeliverToMailboxAction &value)
RuleAction & WithReplaceRecipient(const ReplaceRecipientAction &value)
RuleAction & WithWriteToS3(const S3Action &value)
void SetDeliverToMailbox(DeliverToMailboxAction &&value)
void SetRelay(const RelayAction &value)
const AddHeaderAction & GetAddHeader() const
const ReplaceRecipientAction & GetReplaceRecipient() const
bool AddHeaderHasBeenSet() const
RuleAction & WithArchive(const ArchiveAction &value)
RuleAction & WithAddHeader(const AddHeaderAction &value)
RuleAction & WithRelay(RelayAction &&value)
bool WriteToS3HasBeenSet() const
void SetDrop(const DropAction &value)
const S3Action & GetWriteToS3() const
bool SendHasBeenSet() const
bool ArchiveHasBeenSet() const
bool DeliverToMailboxHasBeenSet() const
RuleAction & WithSend(SendAction &&value)
void SetReplaceRecipient(const ReplaceRecipientAction &value)
bool RelayHasBeenSet() const
RuleAction & WithArchive(ArchiveAction &&value)
const ArchiveAction & GetArchive() const
void SetWriteToS3(const S3Action &value)
void SetWriteToS3(S3Action &&value)
const RelayAction & GetRelay() const
AWS_MAILMANAGER_API RuleAction()
void SetReplaceRecipient(ReplaceRecipientAction &&value)
void SetRelay(RelayAction &&value)
bool DropHasBeenSet() const
const DeliverToMailboxAction & GetDeliverToMailbox() const
void SetSend(const SendAction &value)
void SetArchive(ArchiveAction &&value)
AWS_MAILMANAGER_API RuleAction(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API RuleAction & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleAction & WithDrop(DropAction &&value)
RuleAction & WithReplaceRecipient(ReplaceRecipientAction &&value)
const DropAction & GetDrop() const
void SetArchive(const ArchiveAction &value)
void SetAddHeader(AddHeaderAction &&value)
RuleAction & WithDrop(const DropAction &value)
RuleAction & WithRelay(const RelayAction &value)
RuleAction & WithDeliverToMailbox(DeliverToMailboxAction &&value)
void SetAddHeader(const AddHeaderAction &value)
Aws::Utils::Json::JsonValue JsonValue