7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/AssociationErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
58 template<
typename ErrorMessageT = Aws::String>
59 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
60 template<
typename ErrorMessageT = Aws::String>
66 bool m_errorCodeHasBeenSet =
false;
69 bool m_errorMessageHasBeenSet =
false;
const Aws::String & GetErrorMessage() const
bool ErrorMessageHasBeenSet() const
bool ErrorCodeHasBeenSet() const
AssociationStateReason & WithErrorMessage(ErrorMessageT &&value)
void SetErrorMessage(ErrorMessageT &&value)
AWS_WORKSPACES_API AssociationStateReason(Aws::Utils::Json::JsonView jsonValue)
AssociationStateReason & WithErrorCode(AssociationErrorCode value)
void SetErrorCode(AssociationErrorCode value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AssociationErrorCode GetErrorCode() const
AWS_WORKSPACES_API AssociationStateReason & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API AssociationStateReason()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue