7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/LifecycleErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
65 template<
typename ScriptNameT = Aws::String>
66 void SetScriptName(ScriptNameT&& value) { m_scriptNameHasBeenSet =
true; m_scriptName = std::forward<ScriptNameT>(value); }
67 template<
typename ScriptNameT = Aws::String>
77 template<
typename MessageT = Aws::String>
78 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
79 template<
typename MessageT = Aws::String>
90 template<
typename LogTailT = Aws::String>
91 void SetLogTail(LogTailT&& value) { m_logTailHasBeenSet =
true; m_logTail = std::forward<LogTailT>(value); }
92 template<
typename LogTailT = Aws::String>
98 bool m_errorCodeHasBeenSet =
false;
101 bool m_scriptNameHasBeenSet =
false;
104 bool m_messageHasBeenSet =
false;
107 bool m_logTailHasBeenSet =
false;
LifecycleErrorCode GetErrorCode() const
bool LogTailHasBeenSet() const
const Aws::String & GetLogTail() const
const Aws::String & GetMessage() const
bool ErrorCodeHasBeenSet() const
void SetLogTail(LogTailT &&value)
Diagnostics & WithScriptName(ScriptNameT &&value)
Diagnostics & WithLogTail(LogTailT &&value)
void SetMessage(MessageT &&value)
AWS_CODEDEPLOY_API Diagnostics()=default
void SetErrorCode(LifecycleErrorCode value)
AWS_CODEDEPLOY_API Diagnostics(Aws::Utils::Json::JsonView jsonValue)
bool ScriptNameHasBeenSet() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
Diagnostics & WithMessage(MessageT &&value)
const Aws::String & GetScriptName() const
Diagnostics & WithErrorCode(LifecycleErrorCode value)
void SetScriptName(ScriptNameT &&value)
AWS_CODEDEPLOY_API Diagnostics & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue