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 SetTargetArchive(
const char* value) { m_targetArchiveHasBeenSet =
true; m_targetArchive.assign(value); }
72 bool m_actionFailurePolicyHasBeenSet =
false;
75 bool m_targetArchiveHasBeenSet =
false;
void SetActionFailurePolicy(const ActionFailurePolicy &value)
void SetTargetArchive(Aws::String &&value)
ArchiveAction & WithActionFailurePolicy(ActionFailurePolicy &&value)
AWS_MAILMANAGER_API ArchiveAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API ArchiveAction(Aws::Utils::Json::JsonView jsonValue)
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool TargetArchiveHasBeenSet() const
void SetActionFailurePolicy(ActionFailurePolicy &&value)
const ActionFailurePolicy & GetActionFailurePolicy() const
ArchiveAction & WithActionFailurePolicy(const ActionFailurePolicy &value)
ArchiveAction & WithTargetArchive(const Aws::String &value)
ArchiveAction & WithTargetArchive(Aws::String &&value)
void SetTargetArchive(const Aws::String &value)
AWS_MAILMANAGER_API ArchiveAction()
ArchiveAction & WithTargetArchive(const char *value)
bool ActionFailurePolicyHasBeenSet() const
const Aws::String & GetTargetArchive() const
void SetTargetArchive(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue