7#include <aws/ecr-public/ECRPublic_EXPORTS.h>
8#include <aws/ecr-public/model/ImageIdentifier.h>
9#include <aws/ecr-public/model/ImageFailureCode.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
75 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
83 bool m_imageIdHasBeenSet =
false;
86 bool m_failureCodeHasBeenSet =
false;
89 bool m_failureReasonHasBeenSet =
false;
bool ImageIdHasBeenSet() const
AWS_ECRPUBLIC_API ImageFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailureCode(const ImageFailureCode &value)
ImageFailure & WithFailureCode(ImageFailureCode &&value)
void SetImageId(const ImageIdentifier &value)
ImageFailure & WithFailureCode(const ImageFailureCode &value)
AWS_ECRPUBLIC_API ImageFailure(Aws::Utils::Json::JsonView jsonValue)
AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFailureReason(const char *value)
ImageFailure & WithImageId(const ImageIdentifier &value)
const ImageFailureCode & GetFailureCode() const
bool FailureReasonHasBeenSet() const
ImageFailure & WithFailureReason(const Aws::String &value)
void SetImageId(ImageIdentifier &&value)
void SetFailureReason(Aws::String &&value)
ImageFailure & WithFailureReason(Aws::String &&value)
void SetFailureCode(ImageFailureCode &&value)
void SetFailureReason(const Aws::String &value)
ImageFailure & WithFailureReason(const char *value)
const ImageIdentifier & GetImageId() const
ImageFailure & WithImageId(ImageIdentifier &&value)
bool FailureCodeHasBeenSet() const
const Aws::String & GetFailureReason() const
AWS_ECRPUBLIC_API ImageFailure()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue