7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/outposts/model/CapacityTaskFailureType.h>
49 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
69 bool m_reasonHasBeenSet =
false;
72 bool m_typeHasBeenSet =
false;
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReason(const Aws::String &value)
CapacityTaskFailure & WithType(const CapacityTaskFailureType &value)
CapacityTaskFailure & WithReason(Aws::String &&value)
bool TypeHasBeenSet() const
AWS_OUTPOSTS_API CapacityTaskFailure()
const CapacityTaskFailureType & GetType() const
CapacityTaskFailure & WithReason(const char *value)
const Aws::String & GetReason() const
void SetType(CapacityTaskFailureType &&value)
AWS_OUTPOSTS_API CapacityTaskFailure(Aws::Utils::Json::JsonView jsonValue)
bool ReasonHasBeenSet() const
AWS_OUTPOSTS_API CapacityTaskFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const CapacityTaskFailureType &value)
CapacityTaskFailure & WithReason(const Aws::String &value)
void SetReason(Aws::String &&value)
CapacityTaskFailure & WithType(CapacityTaskFailureType &&value)
void SetReason(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue