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/AgenticAccountSetupErrorCode.h>
11#include <aws/workspaces/model/AgenticAccountSetupStatus.h>
35 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 m_statusHasBeenSet =
true;
63 m_errorCodeHasBeenSet =
true;
79 template <
typename ErrorMessageT = Aws::String>
81 m_errorMessageHasBeenSet =
true;
82 m_errorMessage = std::forward<ErrorMessageT>(value);
84 template <
typename ErrorMessageT = Aws::String>
96 bool m_statusHasBeenSet =
false;
97 bool m_errorCodeHasBeenSet =
false;
98 bool m_errorMessageHasBeenSet =
false;
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_WORKSPACES_API AgenticAccountSetup & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool StatusHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
bool ErrorCodeHasBeenSet() const
AgenticAccountSetupErrorCode GetErrorCode() const
AgenticAccountSetup & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetErrorMessage() const
AWS_WORKSPACES_API AgenticAccountSetup(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetErrorCode(AgenticAccountSetupErrorCode value)
AgenticAccountSetup & WithStatus(AgenticAccountSetupStatus value)
bool ErrorMessageHasBeenSet() const
AgenticAccountSetupStatus GetStatus() const
AWS_WORKSPACES_API AgenticAccountSetup()=default
AgenticAccountSetup & WithErrorCode(AgenticAccountSetupErrorCode value)
void SetStatus(AgenticAccountSetupStatus value)
AgenticAccountSetupErrorCode
AgenticAccountSetupStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String