7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
63 inline void SetErrorResponse(
const char* value) { m_errorResponseHasBeenSet =
true; m_errorResponse.assign(value); }
71 bool m_errorCodeHasBeenSet =
false;
74 bool m_errorResponseHasBeenSet =
false;
BatchDescribeModelPackageError & WithErrorResponse(const Aws::String &value)
void SetErrorResponse(Aws::String &&value)
AWS_SAGEMAKER_API BatchDescribeModelPackageError(Aws::Utils::Json::JsonView jsonValue)
void SetErrorResponse(const char *value)
void SetErrorCode(const char *value)
const Aws::String & GetErrorResponse() const
AWS_SAGEMAKER_API BatchDescribeModelPackageError()
bool ErrorResponseHasBeenSet() const
BatchDescribeModelPackageError & WithErrorResponse(Aws::String &&value)
BatchDescribeModelPackageError & WithErrorCode(const char *value)
bool ErrorCodeHasBeenSet() const
AWS_SAGEMAKER_API BatchDescribeModelPackageError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(const Aws::String &value)
BatchDescribeModelPackageError & WithErrorCode(const Aws::String &value)
const Aws::String & GetErrorCode() const
void SetErrorCode(Aws::String &&value)
void SetErrorResponse(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDescribeModelPackageError & WithErrorCode(Aws::String &&value)
BatchDescribeModelPackageError & WithErrorResponse(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue