7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/ActionFailurePolicy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
64 inline void SetMailboxArn(
const char* value) { m_mailboxArnHasBeenSet =
true; m_mailboxArn.assign(value); }
79 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
87 bool m_actionFailurePolicyHasBeenSet =
false;
90 bool m_mailboxArnHasBeenSet =
false;
93 bool m_roleArnHasBeenSet =
false;
void SetRoleArn(const char *value)
bool MailboxArnHasBeenSet() const
DeliverToMailboxAction & WithActionFailurePolicy(ActionFailurePolicy &&value)
const Aws::String & GetRoleArn() const
const Aws::String & GetMailboxArn() const
void SetMailboxArn(const Aws::String &value)
DeliverToMailboxAction & WithRoleArn(const Aws::String &value)
bool RoleArnHasBeenSet() const
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRoleArn(Aws::String &&value)
bool ActionFailurePolicyHasBeenSet() const
const ActionFailurePolicy & GetActionFailurePolicy() const
DeliverToMailboxAction & WithActionFailurePolicy(const ActionFailurePolicy &value)
void SetActionFailurePolicy(ActionFailurePolicy &&value)
DeliverToMailboxAction & WithMailboxArn(Aws::String &&value)
void SetActionFailurePolicy(const ActionFailurePolicy &value)
void SetRoleArn(const Aws::String &value)
DeliverToMailboxAction & WithRoleArn(const char *value)
AWS_MAILMANAGER_API DeliverToMailboxAction()
AWS_MAILMANAGER_API DeliverToMailboxAction(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API DeliverToMailboxAction & operator=(Aws::Utils::Json::JsonView jsonValue)
DeliverToMailboxAction & WithMailboxArn(const char *value)
void SetMailboxArn(const char *value)
DeliverToMailboxAction & WithRoleArn(Aws::String &&value)
DeliverToMailboxAction & WithMailboxArn(const Aws::String &value)
void SetMailboxArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue