7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/DetailedModelPackageStatus.h>
51 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
77 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
85 bool m_nameHasBeenSet =
false;
88 bool m_statusHasBeenSet =
false;
91 bool m_failureReasonHasBeenSet =
false;
void SetName(const char *value)
AWS_SAGEMAKER_API ModelPackageStatusItem()
void SetStatus(DetailedModelPackageStatus &&value)
void SetFailureReason(Aws::String &&value)
bool FailureReasonHasBeenSet() const
AWS_SAGEMAKER_API ModelPackageStatusItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const DetailedModelPackageStatus &value)
bool NameHasBeenSet() const
const DetailedModelPackageStatus & GetStatus() const
ModelPackageStatusItem & WithName(const Aws::String &value)
void SetFailureReason(const char *value)
ModelPackageStatusItem & WithFailureReason(const Aws::String &value)
bool StatusHasBeenSet() const
ModelPackageStatusItem & WithStatus(const DetailedModelPackageStatus &value)
const Aws::String & GetFailureReason() const
void SetFailureReason(const Aws::String &value)
ModelPackageStatusItem & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
ModelPackageStatusItem & WithName(const char *value)
void SetName(const Aws::String &value)
AWS_SAGEMAKER_API ModelPackageStatusItem(Aws::Utils::Json::JsonView jsonValue)
ModelPackageStatusItem & WithFailureReason(const char *value)
const Aws::String & GetName() const
ModelPackageStatusItem & WithStatus(DetailedModelPackageStatus &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelPackageStatusItem & WithFailureReason(Aws::String &&value)
DetailedModelPackageStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue