7#include <aws/backup-external/BackupExternal_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace BackupExternal {
41 m_continueBackupOnScriptFailureHasBeenSet =
true;
42 m_continueBackupOnScriptFailure = value;
56 template <
typename ScriptParamsT = Aws::String>
58 m_scriptParamsHasBeenSet =
true;
59 m_scriptParams = std::forward<ScriptParamsT>(value);
61 template <
typename ScriptParamsT = Aws::String>
72 template <
typename ScriptPathT = Aws::String>
74 m_scriptPathHasBeenSet =
true;
75 m_scriptPath = std::forward<ScriptPathT>(value);
77 template <
typename ScriptPathT = Aws::String>
91 m_timeoutInMinutesHasBeenSet =
true;
92 m_timeoutInMinutes = value;
100 bool m_continueBackupOnScriptFailure{
false};
106 int m_timeoutInMinutes{0};
107 bool m_continueBackupOnScriptFailureHasBeenSet =
false;
108 bool m_scriptParamsHasBeenSet =
false;
109 bool m_scriptPathHasBeenSet =
false;
110 bool m_timeoutInMinutesHasBeenSet =
false;
bool TimeoutInMinutesHasBeenSet() const
int GetTimeoutInMinutes() const
AWS_BACKUPEXTERNAL_API ServerFilesystemPreBackupScript & operator=(Aws::Utils::Json::JsonView jsonValue)
ServerFilesystemPreBackupScript & WithScriptPath(ScriptPathT &&value)
void SetTimeoutInMinutes(int value)
AWS_BACKUPEXTERNAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUPEXTERNAL_API ServerFilesystemPreBackupScript(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetScriptPath() const
void SetScriptPath(ScriptPathT &&value)
bool ContinueBackupOnScriptFailureHasBeenSet() const
const Aws::String & GetScriptParams() const
bool GetContinueBackupOnScriptFailure() const
ServerFilesystemPreBackupScript & WithScriptParams(ScriptParamsT &&value)
bool ScriptParamsHasBeenSet() const
ServerFilesystemPreBackupScript & WithTimeoutInMinutes(int value)
void SetScriptParams(ScriptParamsT &&value)
ServerFilesystemPreBackupScript & WithContinueBackupOnScriptFailure(bool value)
void SetContinueBackupOnScriptFailure(bool value)
AWS_BACKUPEXTERNAL_API ServerFilesystemPreBackupScript()=default
bool ScriptPathHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue