7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/WorkflowStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
62 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
70 bool m_statusHasBeenSet =
false;
73 bool m_reasonHasBeenSet =
false;
WorkflowState & WithReason(const Aws::String &value)
const Aws::String & GetReason() const
WorkflowState & WithStatus(const WorkflowStatus &value)
void SetReason(const Aws::String &value)
AWS_IMAGEBUILDER_API WorkflowState()
void SetReason(Aws::String &&value)
void SetStatus(const WorkflowStatus &value)
bool ReasonHasBeenSet() const
void SetReason(const char *value)
WorkflowState & WithReason(const char *value)
const WorkflowStatus & GetStatus() const
AWS_IMAGEBUILDER_API WorkflowState & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(WorkflowStatus &&value)
AWS_IMAGEBUILDER_API WorkflowState(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowState & WithStatus(WorkflowStatus &&value)
bool StatusHasBeenSet() const
WorkflowState & WithReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue