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