7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
10#include <aws/workspaces/model/AgenticRuntimeErrorCode.h>
11#include <aws/workspaces/model/AgenticRuntimeStatus.h>
35 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 m_statusHasBeenSet =
true;
65 m_errorCodeHasBeenSet =
true;
82 template <
typename ErrorMessageT = Aws::String>
84 m_errorMessageHasBeenSet =
true;
85 m_errorMessage = std::forward<ErrorMessageT>(value);
87 template <
typename ErrorMessageT = Aws::String>
99 bool m_statusHasBeenSet =
false;
100 bool m_errorCodeHasBeenSet =
false;
101 bool m_errorMessageHasBeenSet =
false;
AgenticRuntimeState & WithErrorCode(AgenticRuntimeErrorCode value)
bool StatusHasBeenSet() const
AgenticRuntimeState & WithStatus(AgenticRuntimeStatus value)
bool ErrorCodeHasBeenSet() const
AgenticRuntimeState & WithErrorMessage(ErrorMessageT &&value)
AWS_WORKSPACES_API AgenticRuntimeState & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ErrorMessageHasBeenSet() const
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_WORKSPACES_API AgenticRuntimeState()=default
void SetStatus(AgenticRuntimeStatus value)
AgenticRuntimeStatus GetStatus() const
AgenticRuntimeErrorCode GetErrorCode() const
AWS_WORKSPACES_API AgenticRuntimeState(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetErrorCode(AgenticRuntimeErrorCode value)
const Aws::String & GetErrorMessage() const
void SetErrorMessage(ErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String