7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/FleetErrorCode.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
32 AWS_APPSTREAM_API
ResourceError(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_APPSTREAM_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 m_errorCodeHasBeenSet =
true;
58 template <
typename ErrorMessageT = Aws::String>
60 m_errorMessageHasBeenSet =
true;
61 m_errorMessage = std::forward<ErrorMessageT>(value);
63 template <
typename ErrorMessageT = Aws::String>
76 template <
typename ErrorTimestampT = Aws::Utils::DateTime>
78 m_errorTimestampHasBeenSet =
true;
79 m_errorTimestamp = std::forward<ErrorTimestampT>(value);
81 template <
typename ErrorTimestampT = Aws::Utils::DateTime>
93 bool m_errorCodeHasBeenSet =
false;
94 bool m_errorMessageHasBeenSet =
false;
95 bool m_errorTimestampHasBeenSet =
false;
FleetErrorCode GetErrorCode() const
AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetErrorMessage(ErrorMessageT &&value)
AWS_APPSTREAM_API ResourceError(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ResourceError & WithErrorCode(FleetErrorCode value)
bool ErrorCodeHasBeenSet() const
ResourceError & WithErrorMessage(ErrorMessageT &&value)
bool ErrorMessageHasBeenSet() const
void SetErrorCode(FleetErrorCode value)
ResourceError & WithErrorTimestamp(ErrorTimestampT &&value)
void SetErrorTimestamp(ErrorTimestampT &&value)
bool ErrorTimestampHasBeenSet() const
AWS_APPSTREAM_API ResourceError & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetErrorMessage() const
AWS_APPSTREAM_API ResourceError()=default
const Aws::Utils::DateTime & GetErrorTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String