7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/LifecycleExecutionStatus.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;
LifecycleExecutionState & WithStatus(const LifecycleExecutionStatus &value)
LifecycleExecutionState & WithStatus(LifecycleExecutionStatus &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
void SetStatus(const LifecycleExecutionStatus &value)
LifecycleExecutionState & WithReason(const char *value)
AWS_IMAGEBUILDER_API LifecycleExecutionState()
AWS_IMAGEBUILDER_API LifecycleExecutionState(Aws::Utils::Json::JsonView jsonValue)
void SetReason(Aws::String &&value)
LifecycleExecutionState & WithReason(const Aws::String &value)
bool ReasonHasBeenSet() const
const LifecycleExecutionStatus & GetStatus() const
void SetReason(const char *value)
void SetReason(const Aws::String &value)
LifecycleExecutionState & WithReason(Aws::String &&value)
void SetStatus(LifecycleExecutionStatus &&value)
AWS_IMAGEBUILDER_API LifecycleExecutionState & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetReason() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue