7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/snowball/Snowball_EXPORTS.h>
33 AWS_SNOWBALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
57 template <
typename ResourceTypeT = Aws::String>
59 m_resourceTypeHasBeenSet =
true;
60 m_resourceType = std::forward<ResourceTypeT>(value);
62 template <
typename ResourceTypeT = Aws::String>
72 bool m_messageHasBeenSet =
false;
73 bool m_resourceTypeHasBeenSet =
false;
InvalidResourceException & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
InvalidResourceException & WithResourceType(ResourceTypeT &&value)
bool MessageHasBeenSet() const
AWS_SNOWBALL_API InvalidResourceException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetResourceType() const
AWS_SNOWBALL_API InvalidResourceException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetMessage(MessageT &&value)
AWS_SNOWBALL_API InvalidResourceException()=default
bool ResourceTypeHasBeenSet() const
AWS_SNOWBALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String