7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/LifecycleExecutionResourceActionName.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_nameHasBeenSet =
false;
74 bool m_reasonHasBeenSet =
false;
LifecycleExecutionResourceAction & WithReason(Aws::String &&value)
AWS_IMAGEBUILDER_API LifecycleExecutionResourceAction()
LifecycleExecutionResourceAction & WithReason(const char *value)
LifecycleExecutionResourceAction & WithReason(const Aws::String &value)
LifecycleExecutionResourceAction & WithName(const LifecycleExecutionResourceActionName &value)
AWS_IMAGEBUILDER_API LifecycleExecutionResourceAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(LifecycleExecutionResourceActionName &&value)
void SetReason(const Aws::String &value)
const LifecycleExecutionResourceActionName & GetName() const
bool NameHasBeenSet() const
void SetReason(Aws::String &&value)
void SetReason(const char *value)
void SetName(const LifecycleExecutionResourceActionName &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReasonHasBeenSet() const
const Aws::String & GetReason() const
LifecycleExecutionResourceAction & WithName(LifecycleExecutionResourceActionName &&value)
AWS_IMAGEBUILDER_API LifecycleExecutionResourceAction(Aws::Utils::Json::JsonView jsonValue)
LifecycleExecutionResourceActionName
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue