7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/model/ErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace StorageGateway
60 template<
typename ErrorDetailsT = Aws::Map<Aws::String, Aws::String>>
61 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet =
true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
62 template<
typename ErrorDetailsT = Aws::Map<Aws::String, Aws::String>>
64 template<
typename ErrorDetailsKeyT = Aws::String,
typename ErrorDetailsValueT = Aws::String>
66 m_errorDetailsHasBeenSet =
true; m_errorDetails.emplace(std::forward<ErrorDetailsKeyT>(key), std::forward<ErrorDetailsValueT>(value));
return *
this;
72 bool m_errorCodeHasBeenSet =
false;
75 bool m_errorDetailsHasBeenSet =
false;
AWS_STORAGEGATEWAY_API StorageGatewayError(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API StorageGatewayError()=default
const Aws::Map< Aws::String, Aws::String > & GetErrorDetails() const
AWS_STORAGEGATEWAY_API StorageGatewayError & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ErrorCodeHasBeenSet() const
StorageGatewayError & AddErrorDetails(ErrorDetailsKeyT &&key, ErrorDetailsValueT &&value)
ErrorCode GetErrorCode() const
StorageGatewayError & WithErrorCode(ErrorCode value)
bool ErrorDetailsHasBeenSet() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorDetails(ErrorDetailsT &&value)
void SetErrorCode(ErrorCode value)
StorageGatewayError & WithErrorDetails(ErrorDetailsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue