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/AssociationErrorCode.h>
34 AWS_WORKSPACES_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>
73 bool m_errorCodeHasBeenSet =
false;
74 bool m_errorMessageHasBeenSet =
false;
const Aws::String & GetErrorMessage() const
AWS_WORKSPACES_API AssociationStateReason & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ErrorMessageHasBeenSet() const
AWS_WORKSPACES_API AssociationStateReason(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ErrorCodeHasBeenSet() const
AssociationStateReason & WithErrorMessage(ErrorMessageT &&value)
void SetErrorMessage(ErrorMessageT &&value)
AssociationStateReason & WithErrorCode(AssociationErrorCode value)
void SetErrorCode(AssociationErrorCode value)
AssociationErrorCode GetErrorCode() const
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_WORKSPACES_API AssociationStateReason()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String