7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/AssetErrorCode.h>
48 template<
typename AssetIdT = Aws::String>
49 void SetAssetId(AssetIdT&& value) { m_assetIdHasBeenSet =
true; m_assetId = std::forward<AssetIdT>(value); }
50 template<
typename AssetIdT = Aws::String>
70 template<
typename MessageT = Aws::String>
71 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
72 template<
typename MessageT = Aws::String>
78 bool m_assetIdHasBeenSet =
false;
81 bool m_codeHasBeenSet =
false;
84 bool m_messageHasBeenSet =
false;
AssetErrorDetails & WithAssetId(AssetIdT &&value)
AssetErrorCode GetCode() const
void SetAssetId(AssetIdT &&value)
bool AssetIdHasBeenSet() const
bool MessageHasBeenSet() const
AssetErrorDetails & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
AWS_IOTSITEWISE_API AssetErrorDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAssetId() const
void SetCode(AssetErrorCode value)
AssetErrorDetails & WithCode(AssetErrorCode value)
void SetMessage(MessageT &&value)
bool CodeHasBeenSet() const
AWS_IOTSITEWISE_API AssetErrorDetails()=default
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API AssetErrorDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue