7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/UserStackAssociation.h>
9#include <aws/appstream/model/UserStackAssociationErrorCode.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/crt/cbor/Cbor.h>
35 AWS_APPSTREAM_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename UserStackAssociationT = UserStackAssociation>
45 m_userStackAssociationHasBeenSet =
true;
46 m_userStackAssociation = std::forward<UserStackAssociationT>(value);
48 template <
typename UserStackAssociationT = UserStackAssociation>
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_userStackAssociationHasBeenSet =
false;
97 bool m_errorCodeHasBeenSet =
false;
98 bool m_errorMessageHasBeenSet =
false;
const Aws::String & GetErrorMessage() const
void SetErrorCode(UserStackAssociationErrorCode value)
bool ErrorCodeHasBeenSet() const
const UserStackAssociation & GetUserStackAssociation() const
AWS_APPSTREAM_API UserStackAssociationError & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetUserStackAssociation(UserStackAssociationT &&value)
AWS_APPSTREAM_API UserStackAssociationError()=default
bool UserStackAssociationHasBeenSet() const
UserStackAssociationError & WithErrorCode(UserStackAssociationErrorCode value)
UserStackAssociationErrorCode GetErrorCode() const
UserStackAssociationError & WithUserStackAssociation(UserStackAssociationT &&value)
AWS_APPSTREAM_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
UserStackAssociationError & WithErrorMessage(ErrorMessageT &&value)
AWS_APPSTREAM_API UserStackAssociationError(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetErrorMessage(ErrorMessageT &&value)
bool ErrorMessageHasBeenSet() const
UserStackAssociationErrorCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String