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