7#include <aws/dlm/DLM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dlm/model/ExecutionHandlerServiceValues.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/dlm/model/StageValues.h>
69 template<
typename StagesT = Aws::Vector<StageValues>>
70 void SetStages(StagesT&& value) { m_stagesHasBeenSet =
true; m_stages = std::forward<StagesT>(value); }
71 template<
typename StagesT = Aws::Vector<StageValues>>
105 template<
typename ExecutionHandlerT = Aws::String>
106 void SetExecutionHandler(ExecutionHandlerT&& value) { m_executionHandlerHasBeenSet =
true; m_executionHandler = std::forward<ExecutionHandlerT>(value); }
107 template<
typename ExecutionHandlerT = Aws::String>
138 inline void SetExecutionTimeout(
int value) { m_executionTimeoutHasBeenSet =
true; m_executionTimeout = value; }
155 inline void SetMaximumRetryCount(
int value) { m_maximumRetryCountHasBeenSet =
true; m_maximumRetryCount = value; }
161 bool m_stagesHasBeenSet =
false;
164 bool m_executionHandlerServiceHasBeenSet =
false;
167 bool m_executionHandlerHasBeenSet =
false;
169 bool m_executeOperationOnScriptFailure{
false};
170 bool m_executeOperationOnScriptFailureHasBeenSet =
false;
172 int m_executionTimeout{0};
173 bool m_executionTimeoutHasBeenSet =
false;
175 int m_maximumRetryCount{0};
176 bool m_maximumRetryCountHasBeenSet =
false;
void SetExecutionTimeout(int value)
const Aws::String & GetExecutionHandler() const
bool ExecuteOperationOnScriptFailureHasBeenSet() const
const Aws::Vector< StageValues > & GetStages() const
Script & WithExecutionHandlerService(ExecutionHandlerServiceValues value)
AWS_DLM_API Script()=default
ExecutionHandlerServiceValues GetExecutionHandlerService() const
bool StagesHasBeenSet() const
AWS_DLM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMaximumRetryCount(int value)
AWS_DLM_API Script & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStages(StagesT &&value)
AWS_DLM_API Script(Aws::Utils::Json::JsonView jsonValue)
bool GetExecuteOperationOnScriptFailure() const
bool ExecutionHandlerServiceHasBeenSet() const
Script & WithExecutionHandler(ExecutionHandlerT &&value)
bool ExecutionTimeoutHasBeenSet() const
Script & WithMaximumRetryCount(int value)
Script & WithExecutionTimeout(int value)
void SetExecuteOperationOnScriptFailure(bool value)
Script & WithExecuteOperationOnScriptFailure(bool value)
int GetMaximumRetryCount() const
bool ExecutionHandlerHasBeenSet() const
Script & AddStages(StageValues value)
int GetExecutionTimeout() const
bool MaximumRetryCountHasBeenSet() const
Script & WithStages(StagesT &&value)
void SetExecutionHandlerService(ExecutionHandlerServiceValues value)
void SetExecutionHandler(ExecutionHandlerT &&value)
ExecutionHandlerServiceValues
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue