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