public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            DecodeAuthorizationMessageResponse decodeAuthorizationMessageResponse = new DecodeAuthorizationMessageResponse();

            context.Read();
            int currentDepth = context.get_CurrentDepth();

            while (context.ReadAtDepth(currentDepth))
            {
                if (context.get_IsStartElement())
                {
                    if (context.TestExpression("DecodeAuthorizationMessageResult", 2))
                    {
                        UnmarshallResult(context, decodeAuthorizationMessageResponse);
                    }
                    else if (context.TestExpression("ResponseMetadata", 2))
                    {
                        decodeAuthorizationMessageResponse.set_ResponseMetadata(ResponseMetadataUnmarshaller.get_Instance().Unmarshall(context));
                    }
                }
            }
            return(decodeAuthorizationMessageResponse);
        }
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            GetSessionTokenResponse getSessionTokenResponse = new GetSessionTokenResponse();

            context.Read();
            int currentDepth = context.get_CurrentDepth();

            while (context.ReadAtDepth(currentDepth))
            {
                if (context.get_IsStartElement())
                {
                    if (context.TestExpression("GetSessionTokenResult", 2))
                    {
                        UnmarshallResult(context, getSessionTokenResponse);
                    }
                    else if (context.TestExpression("ResponseMetadata", 2))
                    {
                        getSessionTokenResponse.set_ResponseMetadata(ResponseMetadataUnmarshaller.get_Instance().Unmarshall(context));
                    }
                }
            }
            return(getSessionTokenResponse);
        }
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            AssumeRoleWithWebIdentityResponse assumeRoleWithWebIdentityResponse = new AssumeRoleWithWebIdentityResponse();

            context.Read();
            int currentDepth = context.get_CurrentDepth();

            while (context.ReadAtDepth(currentDepth))
            {
                if (context.get_IsStartElement())
                {
                    if (context.TestExpression("AssumeRoleWithWebIdentityResult", 2))
                    {
                        UnmarshallResult(context, assumeRoleWithWebIdentityResponse);
                    }
                    else if (context.TestExpression("ResponseMetadata", 2))
                    {
                        assumeRoleWithWebIdentityResponse.set_ResponseMetadata(ResponseMetadataUnmarshaller.get_Instance().Unmarshall(context));
                    }
                }
            }
            return(assumeRoleWithWebIdentityResponse);
        }