7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/PackageVersionErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
66 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
74 bool m_errorCodeHasBeenSet =
false;
77 bool m_errorMessageHasBeenSet =
false;
PackageVersionError & WithErrorMessage(const Aws::String &value)
PackageVersionError & WithErrorCode(const PackageVersionErrorCode &value)
void SetErrorMessage(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
void SetErrorCode(const PackageVersionErrorCode &value)
void SetErrorMessage(const Aws::String &value)
const Aws::String & GetErrorMessage() const
PackageVersionError & WithErrorMessage(Aws::String &&value)
AWS_CODEARTIFACT_API PackageVersionError()
const PackageVersionErrorCode & GetErrorCode() const
AWS_CODEARTIFACT_API PackageVersionError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const char *value)
AWS_CODEARTIFACT_API PackageVersionError(Aws::Utils::Json::JsonView jsonValue)
PackageVersionError & WithErrorMessage(const char *value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(PackageVersionErrorCode &&value)
bool ErrorMessageHasBeenSet() const
PackageVersionError & WithErrorCode(PackageVersionErrorCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue