7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/ComponentStatus.h>
20namespace imagebuilder {
43 m_statusHasBeenSet =
true;
58 template <
typename ReasonT = Aws::String>
60 m_reasonHasBeenSet =
true;
61 m_reason = std::forward<ReasonT>(value);
63 template <
typename ReasonT = Aws::String>
73 bool m_statusHasBeenSet =
false;
74 bool m_reasonHasBeenSet =
false;
ComponentState & WithReason(ReasonT &&value)
void SetStatus(ComponentStatus value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IMAGEBUILDER_API ComponentState()=default
AWS_IMAGEBUILDER_API ComponentState & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ReasonHasBeenSet() const
ComponentStatus GetStatus() const
AWS_IMAGEBUILDER_API ComponentState(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
ComponentState & WithStatus(ComponentStatus value)
void SetReason(ReasonT &&value)
const Aws::String & GetReason() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue