7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/WorkflowStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
58 template<
typename ReasonT = Aws::String>
59 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
60 template<
typename ReasonT = Aws::String>
66 bool m_statusHasBeenSet =
false;
69 bool m_reasonHasBeenSet =
false;
const Aws::String & GetReason() const
WorkflowState & WithStatus(WorkflowStatus value)
WorkflowStatus GetStatus() const
void SetStatus(WorkflowStatus value)
AWS_IMAGEBUILDER_API WorkflowState()=default
bool ReasonHasBeenSet() const
void SetReason(ReasonT &&value)
AWS_IMAGEBUILDER_API WorkflowState & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API WorkflowState(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowState & WithReason(ReasonT &&value)
bool StatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue