7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/AssetErrorCode.h>
50 inline void SetAssetId(
const char* value) { m_assetIdHasBeenSet =
true; m_assetId.assign(value); }
76 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
84 bool m_assetIdHasBeenSet =
false;
87 bool m_codeHasBeenSet =
false;
90 bool m_messageHasBeenSet =
false;
void SetAssetId(Aws::String &&value)
AssetErrorDetails & WithCode(const AssetErrorCode &value)
bool AssetIdHasBeenSet() const
void SetMessage(const Aws::String &value)
const AssetErrorCode & GetCode() const
bool MessageHasBeenSet() const
AssetErrorDetails & WithMessage(const char *value)
AssetErrorDetails & WithAssetId(Aws::String &&value)
void SetCode(const AssetErrorCode &value)
const Aws::String & GetMessage() const
AWS_IOTSITEWISE_API AssetErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
void SetAssetId(const Aws::String &value)
const Aws::String & GetAssetId() const
void SetAssetId(const char *value)
AssetErrorDetails & WithAssetId(const char *value)
AssetErrorDetails & WithMessage(Aws::String &&value)
AWS_IOTSITEWISE_API AssetErrorDetails()
AssetErrorDetails & WithMessage(const Aws::String &value)
bool CodeHasBeenSet() const
void SetMessage(const char *value)
void SetCode(AssetErrorCode &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API AssetErrorDetails(Aws::Utils::Json::JsonView jsonValue)
AssetErrorDetails & WithAssetId(const Aws::String &value)
AssetErrorDetails & WithCode(AssetErrorCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue